> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bindbee.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Lms Completion By Id

> Returns an LMS Completion object with the given id.



## OpenAPI

````yaml get /api/lms/v1/completions/{id}
openapi: 3.1.0
info:
  title: Bindbee APIs
  version: 0.1.0
servers:
  - url: https://api.bindbee.dev
  - url: https://api-eu.bindbee.dev
security: []
paths:
  /api/lms/v1/completions/{id}:
    get:
      tags:
        - Completions
      summary: Get Lms Completion By Id
      description: Returns an LMS Completion object with the given id.
      operationId: get_lms_completion_by_id_api_lms_v1_completions__id__get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Id
        - name: include_raw_data
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              Whether to include the original data Bindbee fetched from the
              third-party to produce these models.
            examples:
              - false
            default: false
            title: Include Raw Data
          description: >-
            Whether to include the original data Bindbee fetched from the
            third-party to produce these models.
        - name: include_custom_fields
          in: query
          required: false
          schema:
            type: boolean
            description: Whether to include custom fields in the response.
            examples:
              - false
            default: false
            title: Include Custom Fields
          description: Whether to include custom fields in the response.
        - name: expand
          in: query
          required: false
          schema:
            type: string
            description: >-
              Which relations should be returned in expanded form. Multiple
              relation names should be comma separated without spaces. You can
              also specify required fields in [] for each relation name.
            examples:
              - manager[first_name,last_name]
            title: Expand
          description: >-
            Which relations should be returned in expanded form. Multiple
            relation names should be comma separated without spaces. You can
            also specify required fields in [] for each relation name.
        - name: x-connector-token
          in: header
          required: true
          schema:
            type: string
            title: X-Connector-Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LmsCompletion'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    LmsCompletion:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        remote_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Remote Id
          description: The third-party API ID of the matching object.
          examples:
            - '123321'
        modified_at:
          type: string
          title: Modified At
          description: This is the datetime that this object was last updated by Bindbee
          examples:
            - '2021-10-16T00:00:00Z'
        raw_data:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Raw Data
          description: This is the Raw data
          examples:
            - key_1: Platform dependent data 1
              key_2: Platform dependent data 2
        custom_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Custom Fields
          description: The custom fields related to the model
          examples:
            - category_group: REG
              disability_type: ASBERG
              hire_date: '1991-03-16T00:00:00'
              hire_source: REFER
              nationality: USA
              original_hire_date: '1991-03-16T00:00:00'
        user:
          anyOf:
            - {}
            - type: 'null'
          title: User
          description: The user who completed the course
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        course:
          anyOf:
            - {}
            - type: 'null'
          title: Course
          description: The course that the user completed
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        content:
          anyOf:
            - {}
            - type: 'null'
          title: Content
          description: The content that the user completed
          examples:
            - 018b18ef-c487-703c-afd9-0ca478ccd9d6
        score:
          anyOf:
            - type: integer
            - type: 'null'
          title: Score
          description: The score obtained by the user
          examples:
            - 95
        grade:
          anyOf:
            - type: string
            - type: 'null'
          enum:
            - A
            - B
            - C
            - D
            - F
            - PASS
            - FAIL
            - '-'
          title: Grade
          description: >-
            The grade achieved by the user. If the value is not one of the
            defined enum values, the original value passed through will be
            returned.
          examples:
            - PASS
        started_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Started At
          description: The date and time when the user started the course
          examples:
            - '2025-08-01T10:00:00Z'
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
          description: The date and time when the user completed the course
          examples:
            - '2025-08-01T11:15:00Z'
        time_duration:
          anyOf:
            - type: string
            - type: 'null'
          title: Time Duration
          description: The time duration of the course used by the user in ISO 8601 format
          examples:
            - PT1H15M
      type: object
      required:
        - id
        - remote_id
        - modified_at
        - custom_fields
      title: LmsCompletion
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````