Mocapless Admin API

The admin API from Mocapless — 15 operation(s) for admin.

GitHub OpenAPI

Operations 16

GET /v1/admin/insights Insights #
GET /v1/admin/jobs/{job_id} Review Job #
GET /v1/admin/users/{user_id}/timeline User Timeline #
GET /v1/admin/overview Overview #
GET /v1/admin/cases Cases #
GET /v1/admin/followed-cases Followed Cases #
GET /v1/admin/bench Bench Report #
GET /v1/admin/fx Exchange Rates #
GET /v1/admin/users Users #
GET /v1/admin/users/{user_id} User Detail #
POST /v1/admin/users/{user_id}/credits Adjust Credits #
POST /v1/admin/users/{user_id}/plan Set Plan #
POST /v1/admin/users/{user_id}/characters/{asset_id}/unlock Unlock Pack #
GET /v1/admin/secrets Secrets List #
PUT /v1/admin/secrets/{name} Secret Save #
DELETE /v1/admin/secrets/{name} Secret Clear #

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/mocapless-com:mocapless-com-admin-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

mocapless-com-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mocapless Admin API
  description: 'Generate character animation from a text prompt, retargeted onto your own

    rigged FBX.


    Authenticate with a bearer token from `/v1/auth/login`, or with an API key in

    the `X-API-Key` header. The usual flow is:


    1. `POST /v1/assets` - upload a rigged character (FBX, GLB, GLTF or DAE)

    2. `POST /v1/plan` - see what a prompt will produce, and what it will cost

    3. `POST /v1/generate` - spend the credits and queue the render

    4. `GET /v1/jobs/{id}/events` - stream progress, then download the outputs'
  version: 1.0.0
tags:
- name: Admin
paths:
  /v1/admin/insights:
    get:
      tags:
      - Admin
      summary: Insights
      description: What people do and where they stop, over the last ``days``.
      operationId: insights_v1_admin_insights_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 7
          title: Days
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Insights V1 Admin Insights Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/jobs/{job_id}:
    get:
      tags:
      - Admin
      summary: Review Job
      description: 'One customer''s finished animation, to watch it: the outputs with

        signed URLs, the prompt, what the planner told the model, the checks and

        the customer''s own verdict. Read-only; the owner sees what they got.'
      operationId: review_job_v1_admin_jobs__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Review Job V1 Admin Jobs  Job Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users/{user_id}/timeline:
    get:
      tags:
      - Admin
      summary: User Timeline
      description: Everything one person did, oldest first.
      operationId: user_timeline_v1_admin_users__user_id__timeline_get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response User Timeline V1 Admin Users  User Id  Timeline Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/overview:
    get:
      tags:
      - Admin
      summary: Overview
      description: Everything on one screen. Cached five minutes; ``?refresh=1`` re-asks every provider.
      operationId: overview_v1_admin_overview_get
      parameters:
      - name: refresh
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Refresh
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Overview V1 Admin Overview Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/cases:
    get:
      tags:
      - Admin
      summary: Cases
      description: 'Clips rated three stars or less, or graded bad, with everything needed

        to reproduce them - what ``tools/fix_cases.py`` works through.'
      operationId: cases_v1_admin_cases_get
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 7
          title: Days
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Cases V1 Admin Cases Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/followed-cases:
    get:
      tags:
      - Admin
      summary: Followed Cases
      description: 'Low ratings and refused uploads followed by the worker: what each was

        checked on, and what the check found (services/cases.py).'
      operationId: followed_cases_v1_admin_followed_cases_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Followed Cases V1 Admin Followed Cases Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/bench:
    get:
      tags:
      - Admin
      summary: Bench Report
      description: 'Every customer character measured on the engine: the runs, and one run''s characters (services/bench.py).'
      operationId: bench_report_v1_admin_bench_get
      parameters:
      - name: version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Version
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Bench Report V1 Admin Bench Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/fx:
    get:
      tags:
      - Admin
      summary: Exchange Rates
      description: Daily reference rates (EUR base) to show every amount in USD, EUR or ILS.
      operationId: exchange_rates_v1_admin_fx_get
      parameters:
      - name: refresh
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Refresh
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Exchange Rates V1 Admin Fx Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users:
    get:
      tags:
      - Admin
      summary: Users
      description: Every account with its balance, what it spent and bought, newest first.
      operationId: users_v1_admin_users_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Q
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 200
          title: Limit
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Users V1 Admin Users Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users/{user_id}:
    get:
      tags:
      - Admin
      summary: User Detail
      description: 'One account in full: balance, every ledger entry, jobs, characters, activity.'
      operationId: user_detail_v1_admin_users__user_id__get
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response User Detail V1 Admin Users  User Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users/{user_id}/credits:
    post:
      tags:
      - Admin
      summary: Adjust Credits
      description: 'Add credits (positive) or take them back (negative), with a note. The

        ledger records it as a manual adjustment, with the admin''s name on it.'
      operationId: adjust_credits_v1_admin_users__user_id__credits_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreditAdjustment'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Adjust Credits V1 Admin Users  User Id  Credits Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users/{user_id}/plan:
    post:
      tags:
      - Admin
      summary: Set Plan
      description: 'Put an account on a plan by hand for a number of months - with the

        plan''s credits granted now, if asked - or take a hand-given plan away

        with "free". Every download opens with the plan, as for a paying

        customer. A plan paid through the provider is never touched here.'
      operationId: set_plan_v1_admin_users__user_id__plan_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanAssignment'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Set Plan V1 Admin Users  User Id  Plan Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/users/{user_id}/characters/{asset_id}/unlock:
    post:
      tags:
      - Admin
      summary: Unlock Pack
      description: 'Open the character pack on one of a customer''s characters for free -

        the ten moves are queued at once, the zip follows. For the owner''s own

        characters and for a customer we owe one; nothing is charged.'
      operationId: unlock_pack_v1_admin_users__user_id__characters__asset_id__unlock_post
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          title: User Id
      - name: asset_id
        in: path
        required: true
        schema:
          type: string
          title: Asset Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Unlock Pack V1 Admin Users  User Id  Characters  Asset Id  Unlock Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/secrets:
    get:
      tags:
      - Admin
      summary: Secrets List
      description: 'Every managed key: where it comes from and its last four characters - never the value.'
      operationId: secrets_list_v1_admin_secrets_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Secrets List V1 Admin Secrets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/admin/secrets/{name}:
    put:
      tags:
      - Admin
      summary: Secret Save
      operationId: secret_save_v1_admin_secrets__name__put
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecretValue'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Secret Save V1 Admin Secrets  Name  Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Admin
      summary: Secret Clear
      operationId: secret_clear_v1_admin_secrets__name__delete
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
          title: Name
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: X-API-Key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Secret Clear V1 Admin Secrets  Name  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PlanAssignment:
      properties:
        plan_code:
          type: string
          maxLength: 64
          minLength: 2
          title: Plan Code
        months:
          type: integer
          maximum: 24.0
          minimum: 1.0
          title: Months
          default: 1
        grant_credits:
          type: boolean
          title: Grant Credits
          default: true
        note:
          type: string
          maxLength: 200
          title: Note
          default: ''
      type: object
      required:
      - plan_code
      title: PlanAssignment
    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
    CreditAdjustment:
      properties:
        amount:
          type: integer
          maximum: 100000.0
          minimum: -100000.0
          title: Amount
        note:
          type: string
          maxLength: 200
          minLength: 2
          title: Note
      type: object
      required:
      - amount
      - note
      title: CreditAdjustment
    SecretValue:
      properties:
        value:
          type: string
          maxLength: 4000
          minLength: 1
          title: Value
      type: object
      required:
      - value
      title: SecretValue