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

# Get Course

> Get course metadata, outline, and quiz availability.



## OpenAPI

````yaml /openapi.yaml get /api/v1/courses/{course_id}
openapi: 3.1.0
info:
  title: Mahara Platform
  description: >
    AI Sales Training Course Generator, a Coursera-style platform.


    ## Authentication


    Every request must carry your API key as a Bearer token:


    `Authorization: Bearer sk_live_your_key_here`


    ## Getting an API key


    API keys are provisioned by our team. They are not self-service, so there is
    no signup page to apply on. To request access, email **sales@myustadia.com**
    and we will issue a key for your account.
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/courses/{course_id}:
    get:
      tags:
        - B2B Courses
      summary: Get Course
      description: Get course metadata, outline, and quiz availability.
      operationId: get_course_api_v1_courses__course_id__get
      parameters:
        - name: course_id
          in: path
          required: true
          schema:
            type: string
            title: Course Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CourseResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CourseResponse:
      properties:
        id:
          type: string
          title: Id
        title:
          type: string
          title: Title
        status:
          type: string
          title: Status
          description: >-
            generating | paused_for_review | ready | partial_quota_exceeded |
            error
        module_count:
          type: integer
          title: Module Count
        language:
          type: string
          title: Language
        created_at:
          type: string
          title: Created At
        has_quiz:
          type: boolean
          title: Has Quiz
          default: false
        outline:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Outline
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        error_stage:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Stage
          description: >-
            Coarse stage a failure occurred at (job kind, e.g.
            scene_extract/finalize; or 'assembly' for a recoverable
            not-deliverable finalize -- content is intact and review/retry
            continues; 'billing_integrity' for a refused-partial-bill finalize).
            Null when there is no active failure.
        error_detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Detail
          description: >-
            Short human-readable reason for the failure at error_stage. Null
            when there is no active failure.
        external_ref:
          anyOf:
            - type: string
            - type: 'null'
          title: External Ref
      type: object
      required:
        - id
        - title
        - status
        - module_count
        - language
        - created_at
      title: CourseResponse
      description: Response for GET /api/v1/courses/{id}
    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

````