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

# Get Capture

> Returns one capture (session) by id for the organization.

### Path parameter

**`captureId`** is the session entity id (`sessions.entity_id`). The capture must belong to your organization and not be soft-deleted.


## OpenAPI

````yaml GET /captures/{captureId}
openapi: 3.0.0
info:
  title: Uplift SQL API
  version: v1
  description: >-
    API for submitting SQL queries and retrieving job IDs for the Uplift
    platform.
servers:
  - url: https://api.uplift.ai/v1
security: []
paths:
  /captures/{captureId}:
    get:
      tags:
        - Captures
      summary: Get capture
      description: Returns one capture (session) by id for the organization.
      parameters:
        - name: captureId
          in: path
          required: true
          description: >-
            Session entity id (`sessions.entity_id`); trimmed string 1–255
            characters.
          schema:
            type: string
            minLength: 1
            maxLength: 255
      responses:
        '200':
          description: Single capture object.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Capture'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Session not found or soft-deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: NotFound
                message: Capture not found.
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    Capture:
      type: object
      description: >-
        Capture (session) record. Published movement dimension fields may appear
        as additional top-level properties.
      properties:
        session_id:
          type: string
          description: Session entity id.
        athlete_id:
          type: string
          nullable: true
          description: Athlete id when linked via athletes_sessions.
        activity:
          type: string
          nullable: true
          description: From presets.activity.
        movement:
          type: string
          nullable: true
          description: From presets.movement.
        status:
          type: string
          enum:
            - awaiting_upload
            - processing
            - completed
            - error
          description: API status derived from session analysis_status.
        error:
          type: string
          nullable: true
          description: Error or QA failure summary when applicable.
        capture_time:
          type: string
          format: date-time
          nullable: true
          description: ISO 8601 from created_at when present.
        fps_detected:
          type: number
          nullable: true
          description: >-
            From session metadata (e.g. primary_frameRate or frameRate) when
            available.
      additionalProperties: true
    Error:
      type: object
      properties:
        error:
          type: string
          description: A short error code representing the type of error.
        message:
          type: string
          description: A detailed message explaining the error.
  responses:
    BadRequest:
      description: Invalid request parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: BadRequest
            message: >-
              The request parameters are invalid. Please review the request and
              try again.
    Unauthorized:
      description: Unauthorized. Bearer token is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Unauthorized
            message: Bearer token is missing or invalid.
    Forbidden:
      description: Forbidden. You do not have permission to access this resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Forbidden
            message: You do not have permission to access this resource.
    TooManyRequests:
      description: Too Many Requests. The rate limit has been exceeded.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: TooManyRequests
            message: The rate limit has been exceeded. Please wait and try again later.
    InternalServerError:
      description: Internal Server Error. Something went wrong on the server.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: InternalServerError
            message: >-
              An unexpected error occurred on the server. Please try again
              later.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````