> ## 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 apiv1metoday



## OpenAPI

````yaml /api/openapi.json get /api/v1/me/today
openapi: 3.1.0
info:
  title: Tessera API
  version: '1'
servers:
  - url: https://tessera.edstratumlabs.ai
    description: Production
security: []
paths:
  /api/v1/me/today:
    get:
      tags:
        - session
      operationId: getToday
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Today'
        '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:
    Today:
      type: object
      properties:
        doNext:
          type: array
          items:
            $ref: '#/components/schemas/TaskItem'
        announcements:
          type: array
          items:
            $ref: '#/components/schemas/Announcement'
        unreadCount:
          type: number
          minimum: 0
        courses:
          type: array
          items:
            $ref: '#/components/schemas/CourseSummary'
        week:
          type: object
          properties:
            minutesGoal:
              type: number
              minimum: 0
            minutesDone:
              type: number
              minimum: 0
          required:
            - minutesGoal
            - minutesDone
          additionalProperties: false
      required:
        - doNext
        - announcements
        - unreadCount
        - courses
        - week
      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: {}
    TaskItem:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        kind:
          type: string
          enum:
            - start
            - resume
            - next
        title:
          type: string
          minLength: 1
        context:
          type: string
        minutes:
          type: integer
          minimum: 1
          maximum: 240
        courseId:
          type: string
          minLength: 1
        lessonId:
          type: string
          minLength: 1
        state:
          type: string
          enum:
            - not-started
            - in-progress
            - completed
      required:
        - id
        - kind
        - title
        - context
        - minutes
        - courseId
        - lessonId
        - state
      additionalProperties: false
    Announcement:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        courseId:
          type: string
          minLength: 1
        courseTitle:
          type: string
          minLength: 1
        authorId:
          type: string
          minLength: 1
        authorName:
          type: string
          minLength: 1
        authorInitials:
          type: string
          minLength: 1
        title:
          type: string
          minLength: 1
        body:
          type: string
        pinned:
          type: boolean
        status:
          type: string
          enum:
            - draft
            - published
        origin:
          type: string
          enum:
            - human
            - ai
        aiState:
          anyOf:
            - type: string
              enum:
                - draft
                - kept
            - type: 'null'
        provenance:
          anyOf:
            - $ref: '#/components/schemas/Provenance'
            - type: 'null'
        publishedAt:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        createdAt:
          type: string
          minLength: 1
        read:
          type: boolean
      required:
        - id
        - courseId
        - courseTitle
        - authorId
        - authorName
        - authorInitials
        - title
        - body
        - pinned
        - status
        - origin
        - aiState
        - provenance
        - publishedAt
        - createdAt
        - read
      additionalProperties: false
    CourseSummary:
      type: object
      properties:
        id:
          type: string
          minLength: 1
        code:
          type: string
          minLength: 1
        title:
          type: string
          minLength: 1
        term:
          type: string
          minLength: 1
        description:
          type: string
        welcome:
          type: string
        outcomes:
          type: array
          items:
            type: string
            minLength: 1
        instructorIds:
          type: array
          items:
            type: string
            minLength: 1
        status:
          type: string
          enum:
            - active
            - archived
        instructorNames:
          type: array
          items:
            type: string
            minLength: 1
        moduleCount:
          type: number
          minimum: 0
        lessonCount:
          type: number
          minimum: 0
        publishedLessonCount:
          type: number
          minimum: 0
        studentCount:
          type: number
          minimum: 0
        progress:
          anyOf:
            - type: number
              minimum: 0
              maximum: 1
            - type: 'null'
        startedLessonCount:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
      required:
        - id
        - code
        - title
        - term
        - description
        - welcome
        - outcomes
        - instructorIds
        - status
        - instructorNames
        - moduleCount
        - lessonCount
        - publishedLessonCount
        - studentCount
        - progress
        - startedLessonCount
      additionalProperties: false
    Provenance:
      type: object
      properties:
        model:
          type: string
          minLength: 1
        task:
          type: string
          enum:
            - brief
            - outline
            - lesson-draft
            - block-regenerate
            - announcement
            - feedback
            - alt-text
            - rewrite
            - link-text
            - element
            - tutor
            - tutor-summary
            - agent
        generatedAt:
          type: string
          minLength: 1
        sources:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                minLength: 1
              name:
                type: string
                minLength: 1
            required:
              - id
              - name
            additionalProperties: false
        summary:
          type: string
      required:
        - model
        - task
        - generatedAt
        - sources
        - summary
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Scoped tsk_… API token or Access JWT

````