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

# Get apiv1courses access



## OpenAPI

````yaml /api/openapi.json get /api/v1/courses/{courseId}/access
openapi: 3.1.0
info:
  title: Tessera API
  version: '1'
servers:
  - url: https://tessera.edstratumlabs.ai
    description: Production
security: []
paths:
  /api/v1/courses/{courseId}/access:
    get:
      tags:
        - access
      operationId: getCourseAccess
      parameters:
        - name: courseId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CourseAccessReport'
        '400':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
        '401':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
        '403':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
        '404':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
        '409':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
        '429':
          description: API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorBody'
      security:
        - bearerAuth: []
components:
  schemas:
    CourseAccessReport:
      type: object
      properties:
        courseId:
          type: string
          minLength: 1
        summary:
          $ref: '#/components/schemas/AccessSummary'
        lessons:
          type: array
          items:
            type: object
            properties:
              lessonId:
                type: string
                minLength: 1
              title:
                type: string
                minLength: 1
              status:
                type: string
                enum:
                  - draft
                  - published
              summary:
                anyOf:
                  - $ref: '#/components/schemas/AccessSummary'
                  - type: 'null'
            required:
              - lessonId
              - title
              - status
              - summary
            additionalProperties: false
        files:
          type: array
          items:
            type: object
            properties:
              fileId:
                type: string
                minLength: 1
              name:
                type: string
                minLength: 1
              kind:
                type: string
                enum:
                  - pdf
                  - docx
                  - pptx
                  - image
                  - captions
                  - other
              summary:
                anyOf:
                  - $ref: '#/components/schemas/AccessSummary'
                  - type: 'null'
            required:
              - fileId
              - name
              - kind
              - summary
            additionalProperties: false
        topIssues:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
                minLength: 1
              title:
                type: string
                minLength: 1
              count:
                type: number
                minimum: 0
              wcag:
                type: object
                properties:
                  sc:
                    type: string
                    minLength: 1
                  level:
                    type: string
                    enum:
                      - A
                      - AA
                      - AAA
                  title:
                    type: string
                    minLength: 1
                required:
                  - sc
                  - level
                  - title
                additionalProperties: false
            required:
              - code
              - title
              - count
              - wcag
            additionalProperties: false
        trend:
          type: array
          items:
            type: object
            properties:
              at:
                type: string
                minLength: 1
              score:
                type: number
                minimum: 0
              issueCount:
                type: number
                minimum: 0
            required:
              - at
              - score
              - issueCount
            additionalProperties: false
      required:
        - courseId
        - summary
        - lessons
        - files
        - topIssues
        - trend
      additionalProperties: false
    ApiErrorBody:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              enum:
                - unauthenticated
                - forbidden
                - not-found
                - invalid
                - conflict
                - not-ready
                - ai-disabled
                - ai-failed
                - rate-limited
                - too-large
                - unsupported
            message:
              type: string
            details: {}
    AccessSummary:
      type: object
      properties:
        score:
          type: integer
          minimum: 0
          maximum: 100
        grade:
          type: string
          enum:
            - Perfect
            - Good
            - Moderate
            - Low
            - Very low
        issueCount:
          type: number
          minimum: 0
        bySeverity:
          type: object
          properties:
            critical:
              type: number
              minimum: 0
            serious:
              type: number
              minimum: 0
            moderate:
              type: number
              minimum: 0
            minor:
              type: number
              minimum: 0
          required:
            - critical
            - serious
            - moderate
            - minor
          additionalProperties: false
        scannedAt:
          type: string
          minLength: 1
      required:
        - score
        - grade
        - issueCount
        - bySeverity
        - scannedAt
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Scoped tsk_… API token or Access JWT

````