RZ AI Labs Analyses API

The Analyses API from RZ AI Labs — 9 operation(s) for analyses.

GitHub OpenAPI

Operations 11

POST /v1/analyses Submit Analysis #
GET /v1/analyses List Analyses #
GET /v1/analyses/{analysis_id}/progress Get Analysis Progress #
GET /v1/analyses/{analysis_id} Get Analysis #
DELETE /v1/analyses/{analysis_id} Delete Analysis #
GET /v1/analyses/{analysis_id}/debug Get Analysis Debug #
GET /v1/analyses/{analysis_id}/frames/{index}.jpg Get Analysis Frame #
GET /v1/analyses/{analysis_id}/media/{index}.jpg Get Retained Media #
GET /v1/analyses/{analysis_id}/thumbnail.jpg Get Analysis Thumbnail #
POST /v1/analyses/{analysis_id}/takes Submit Take #
POST /v1/analyses/{analysis_id}/exercise Answer Exercise #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rzailabs-com:rzailabs-com-analyses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rzailabs-com-analyses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GymCue Analyses API
  version: 1.0.0
tags:
- name: Analyses
paths:
  /v1/analyses:
    post:
      summary: Submit Analysis
      operationId: submit_analysis_v1_analyses_post
      security:
      - HTTPBearer: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_submit_analysis_v1_analyses_post'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Submit Analysis V1 Analyses Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
    get:
      summary: List Analyses
      operationId: list_analyses_v1_analyses_get
      security:
      - HTTPBearer: []
      parameters:
      - name: sport
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Sport
      - name: action
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Action
      - name: cursor
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Cursor
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          default: 20
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Analyses V1 Analyses Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/progress:
    get:
      summary: Get Analysis Progress
      description: 'What the pipeline has done so far, for the screen that waits on it.


        Decision 60: the processing screen polls this every 1.5 s until the status

        is terminal. Deliberately cheap -- the analysis row and its step rows, no

        report assembly and no frames -- and outside the frame-exposure gate

        because nothing in it is imagery.'
      operationId: get_analysis_progress_v1_analyses__analysis_id__progress_get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      - name: take
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 1
          - type: 'null'
          title: Take
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Analysis Progress V1 Analyses  Analysis Id  Progress Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}:
    get:
      summary: Get Analysis
      operationId: get_analysis_v1_analyses__analysis_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Analysis V1 Analyses  Analysis Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
    delete:
      summary: Delete Analysis
      description: 'Soft-delete an analysis in any status. Never refunds (Decision 55),

        except a clip paused or in review, whose held credits come back.


        Deleting an in-flight analysis is a cancel: the worker re-reads

        `deleted_at` before every terminal write and side effect

        (`pipeline._still_wanted`), so the purge below neither fails, refunds nor

        notifies the run it interrupts.'
      operationId: delete_analysis_v1_analyses__analysis_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/debug:
    get:
      summary: Get Analysis Debug
      description: 'Everything needed to judge a report against the imagery that produced it.


        The report endpoint deliberately shows an athlete their feedback and nothing

        else. Assessing whether the feedback is any good needs the other half: what

        the model was shown, at what size, under which configuration, and at what

        token cost. That is a different audience and a different privacy posture, so

        it is a separate gated route rather than extra keys on the report.'
      operationId: get_analysis_debug_v1_analyses__analysis_id__debug_get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Analysis Debug V1 Analyses  Analysis Id  Debug Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/frames/{index}.jpg:
    get:
      summary: Get Analysis Frame
      description: 'Serve one uploaded frame as-is, with no re-encoding.


        Bytes are returned untouched because the purpose of the endpoint is to judge

        the encoding the client chose. Resizing or recompressing here would measure

        this handler rather than the pipeline under test.'
      operationId: get_analysis_frame_v1_analyses__analysis_id__frames__index__jpg_get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      - name: index
        in: path
        required: true
        schema:
          type: integer
          title: Index
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/media/{index}.jpg:
    get:
      summary: Get Retained Media
      description: 'Serve one of the frames the report pauses on, to its owner (Decision 54).


        Not behind `_require_frame_exposure`: that gate protects the diagnostic

        view of the whole transient set, whereas these are the product''s own

        report frames. Only a frame a `FrameRemark` recorded as retained is

        served, and only from `retained/`; the transient set is never read here,

        so an unremarked frame is 404 whether or not it still exists.'
      operationId: get_retained_media_v1_analyses__analysis_id__media__index__jpg_get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      - name: index
        in: path
        required: true
        schema:
          type: integer
          title: Index
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/thumbnail.jpg:
    get:
      summary: Get Analysis Thumbnail
      description: Serve the one downscaled still the feed shows for this analysis.
      operationId: get_analysis_thumbnail_v1_analyses__analysis_id__thumbnail_jpg_get
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/takes:
    post:
      summary: Submit Take
      operationId: submit_take_v1_analyses__analysis_id__takes_post
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_submit_take_v1_analyses__analysis_id__takes_post'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Submit Take V1 Analyses  Analysis Id  Takes Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
  /v1/analyses/{analysis_id}/exercise:
    post:
      summary: Answer Exercise
      operationId: answer_exercise_v1_analyses__analysis_id__exercise_post
      security:
      - HTTPBearer: []
      parameters:
      - name: analysis_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Analysis Id
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Answer Exercise V1 Analyses  Analysis Id  Exercise Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Analyses
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_submit_take_v1_analyses__analysis_id__takes_post:
      properties:
        meta:
          type: string
          title: Meta
        frames[]:
          items:
            type: string
            contentMediaType: application/octet-stream
          type: array
          title: Frames[]
        video:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Video
        pose:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Pose
      type: object
      required:
      - meta
      - frames[]
      title: Body_submit_take_v1_analyses__analysis_id__takes_post
    Body_submit_analysis_v1_analyses_post:
      properties:
        meta:
          type: string
          title: Meta
        frames[]:
          items:
            type: string
            contentMediaType: application/octet-stream
          type: array
          title: Frames[]
        video:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Video
        pose:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
          - type: 'null'
          title: Pose
      type: object
      required:
      - meta
      - frames[]
      title: Body_submit_analysis_v1_analyses_post
    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