Masko AI Projects API

The Projects API from Masko AI — 2 operation(s) for projects.

GitHub OpenAPI

Operations 3

POST /v1/projects/{id}/export-settings Apply export settings to project or folder mascots #
GET /v1/projects List projects #
POST /v1/projects Create a project #

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/masko-ai:masko-ai-projects-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

masko-ai-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Masko Projects API
  version: '2026-09-26'
  description: 'API for generating and managing AI mascots, animations, and logos. The current API version is the date in `info.version`; send it as the Masko-API-Version header, and every response echoes the version it used plus a Request-Id. JSON resource responses use {data, meta?} / {error: {code, message, param?, details?, doc_url, request_id}} envelopes. Standard authenticated resource POSTs accept Idempotency-Key for safe retries (auth and admin routes excluded), and lists return meta.pagination.next_cursor. Resources carry an object field naming their type; docs and OpenAPI are served directly and 204 responses have no body. Generation endpoints return 202 with endpoint-specific receipts: individual jobs use job_id and poll_url, developer orchestration uses run_id, and batch operations list their jobs. See each operation for its polling contract. Protected requests accept API keys or scoped CLI session access tokens. Amounts are in credits, and one credit is $0.125: every credit amount in a response comes with the same amount in US dollars, named like it plus _usd (estimated_cost_usd beside estimated_cost).'
servers:
- url: https://api.masko.ai
  description: Production
- url: http://localhost:3000/api
  description: Local development
security:
- BearerAuth: []
tags:
- name: Projects
paths:
  /v1/projects/{id}/export-settings:
    post:
      operationId: applyProjectExportSettings
      tags:
      - Projects
      summary: Apply export settings to project or folder mascots
      description: 'Merges supplied settings into mascots currently in the selected project or folder. Does not establish inherited defaults for future mascots. Image settings apply to future completed assets; apply_to_existing explicitly queues backfill jobs for existing assets. Preserves omitted settings.


        Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.'
      security:
      - BearerAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: id
        in: path
      - name: Idempotency-Key
        in: header
        required: false
        description: 'Account-scoped key (1 to 255 characters, ideally a UUID). Retries must preserve the credential workspace, effective API version, URL, content type and exact body bytes, including multipart boundaries; different inputs return 409 idempotency_key_reused. Completed responses, including 500 errors, replay for 24 hours after completion with current resource access checked again. Running or unconfirmed executions return 409 idempotency_request_in_progress and do not expire automatically. A receipt persistence failure returns 503 idempotency_persistence_failed: retry only with the same key and inspect the operation outcome before starting a new request.'
        schema:
          type: string
          maxLength: 255
      - in: header
        name: Masko-API-Version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Use 2026-09-26 for mascot_id resource fields. Unversioned shared routes retain the legacy contract.
      - in: query
        name: api_version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Equivalent to the version header, for polling URLs and clients that accept only relative paths. Header and query must agree.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                publish_params:
                  type: object
                  properties:
                    image_exports:
                      type: object
                      properties:
                        enabled:
                          type: boolean
                        sources:
                          type: array
                          items:
                            type: string
                            enum:
                            - original
                            - transparent
                            - sticker
                          minItems: 1
                          maxItems: 3
                        formats:
                          type: array
                          items:
                            type: string
                            enum:
                            - png
                            - webp
                          minItems: 1
                          maxItems: 2
                        sizes:
                          type: array
                          items:
                            type: integer
                            minimum: 32
                            maximum: 2048
                          minItems: 1
                          maxItems: 5
                      required:
                      - enabled
                      - sources
                      - formats
                      - sizes
                      additionalProperties: false
                    prores_exports:
                      type: object
                      properties:
                        enabled:
                          type: boolean
                      required:
                      - enabled
                      additionalProperties: false
                      description: Automatically create original-delivery-size ProRes 4444 MOV files with alpha after transparent animations finish. Disabled by default.
                    mkpk_exports:
                      type: object
                      properties:
                        screen_width:
                          type: integer
                          minimum: 16
                          maximum: 1024
                          description: Screen the pack is made for; the frames are centred on it. Set with screen_height. Defaults to the frame size.
                        screen_height:
                          type: integer
                          minimum: 16
                          maximum: 1024
                        fps:
                          type: integer
                          minimum: 1
                          maximum: 60
                          description: Frames per second. Defaults to 24.
                        quality:
                          type: integer
                          minimum: 1
                          maximum: 100
                          description: JPEG quality from 1 to 100. Defaults to 75.
                        background_color:
                          type: string
                          pattern: ^#[0-9a-fA-F]{6}$
                          description: 'Colour behind the mascot, as #RRGGBB. Defaults to black.'
                        enabled:
                          type: boolean
                        size:
                          type: integer
                          minimum: 32
                          maximum: 1024
                          description: Frame width in pixels, a multiple of 16. Required when enabled.
                      required:
                      - enabled
                      additionalProperties: false
                      description: Automatically create one .mkpk pack (ESP32 Masko SDK) per forward animation once its transparent video exists, all with the same width and settings. Disabled by default.
                    animation_sizes:
                      type: object
                      properties:
                        enabled:
                          type: boolean
                        sizes:
                          type: array
                          items:
                            type: integer
                            minimum: 32
                            maximum: 1920
                          maxItems: 6
                        custom_size:
                          type: integer
                          minimum: 32
                          maximum: 1920
                      required:
                      - enabled
                      - sizes
                      additionalProperties: false
                  additionalProperties: false
                folder_id:
                  type: string
                  format: uuid
                apply_to_existing:
                  type: boolean
                  default: false
              required:
              - publish_params
              additionalProperties: false
      responses:
        '200':
          description: Applied settings and optional backfill jobs
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      updated_count:
                        type: number
                      jobs:
                        type: array
                        items:
                          type: object
                          properties:
                            job_id:
                              type: string
                              format: uuid
                            poll_url:
                              type: string
                          required:
                          - job_id
                          - poll_url
                    required:
                    - updated_count
                    - jobs
                required:
                - data
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '401':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '403':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '404':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '409':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '429':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '500':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '503':
          description: Request failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
  /v1/projects:
    get:
      tags:
      - Projects
      summary: List projects
      description: 'Returns all projects owned by the authenticated user, paginated. Projects are the top-level containers for mascots. No credit cost.


        Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.'
      security:
      - BearerAuth: []
      parameters:
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
          description: Page size. 1 to 100. Defaults to 50.
        required: false
        description: Page size. 1 to 100. Defaults to 50.
        name: limit
        in: query
      - schema:
          type:
          - integer
          - 'null'
          minimum: 0
          default: 0
          description: Number of records to skip. Defaults to 0.
        required: false
        description: Number of records to skip. Defaults to 0.
        name: offset
        in: query
      - schema:
          type: string
          description: Opaque next_cursor from the previous page. Use instead of offset.
        required: false
        description: Opaque next_cursor from the previous page. Use instead of offset.
        name: cursor
        in: query
      - in: header
        name: Masko-API-Version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Use 2026-09-26 for mascot_id resource fields. Unversioned shared routes retain the legacy contract.
      - in: query
        name: api_version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Equivalent to the version header, for polling URLs and clients that accept only relative paths. Header and query must agree.
      responses:
        '200':
          description: List of projects
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectListResponse'
              example:
                data:
                - id: 04dae799-dd9a-4296-ba86-9e3913c2f8d1
                  name: test
                  created_at: '2026-04-08T03:30:21.168491+00:00'
                  updated_at: '2026-04-08T03:30:21.168491+00:00'
                  organization_id: bc5a4520-ee23-46e7-b714-2835bd3a7f80
                meta:
                  pagination:
                    total: 2
                    limit: 5
                    offset: 0
                    has_more: false
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
      operationId: listProjects
    post:
      tags:
      - Projects
      summary: Create a project
      description: 'Creates a new project under the authenticated user. Projects are lightweight containers - create one per product or per workspace. Returns 201 with the new project record. No credit cost.


        Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.'
      security:
      - BearerAuth: []
      requestBody:
        required: true
        description: Request body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProjectBody'
      responses:
        '201':
          description: Created project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            Request-Id:
              description: Unique ID of this request. Include it when contacting support.
              schema:
                type: string
                example: req_3f9c2a71d0b84e6a9c1f5e22
            Masko-API-Version:
              description: Effective resource naming contract.
              schema:
                type: string
                enum:
                - '2026-09-26'
                - legacy
      operationId: createProject
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: 'Account-scoped key (1 to 255 characters, ideally a UUID). Retries must preserve the credential workspace, effective API version, URL, content type and exact body bytes, including multipart boundaries; different inputs return 409 idempotency_key_reused. Completed responses, including 500 errors, replay for 24 hours after completion with current resource access checked again. Running or unconfirmed executions return 409 idempotency_request_in_progress and do not expire automatically. A receipt persistence failure returns 503 idempotency_persistence_failed: retry only with the same key and inspect the operation outcome before starting a new request.'
        schema:
          type: string
          maxLength: 255
      - in: header
        name: Masko-API-Version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Use 2026-09-26 for mascot_id resource fields. Unversioned shared routes retain the legacy contract.
      - in: query
        name: api_version
        required: false
        schema:
          type: string
          enum:
          - '2026-09-26'
          - legacy
        description: Equivalent to the version header, for polling URLs and clients that accept only relative paths. Header and query must agree.
components:
  schemas:
    Pagination:
      type: object
      properties:
        total:
          type: integer
          minimum: 0
        limit:
          type: integer
          exclusiveMinimum: 0
        offset:
          type: integer
          minimum: 0
        has_more:
          type: boolean
        next_cursor:
          type:
          - string
          - 'null'
          description: Pass as the cursor query parameter to get the next page. Null on the last page.
      required:
      - total
      - limit
      - offset
      - has_more
    ProjectListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Project'
        meta:
          $ref: '#/components/schemas/Meta'
      required:
      - data
      - meta
    ProjectResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Project'
      required:
      - data
    CreateProjectBody:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 255
          description: Project display name. 1 to 255 characters.
      required:
      - name
    ApiError:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - doc_url
          - request_id
          properties:
            code:
              type: string
              description: Stable machine-readable code. Switch on this.
            message:
              type: string
              description: Human-readable explanation.
            param:
              type: string
              description: The request field that caused the error, when there is one.
            details:
              type: object
              additionalProperties: true
              description: Extra context, for example issues for validation errors, or required and balance for credits with their required_usd and balance_usd.
            doc_url:
              type: string
              format: uri
              description: Documentation for this error code.
            request_id:
              type: string
              description: Same value as the Request-Id header. Include it when contacting support.
    Project:
      type: object
      properties:
        object:
          type: string
          enum:
          - project
          description: Resource type. Always "project".
        id:
          type: string
          format: uuid
        name:
          type: string
        organization_id:
          type:
          - string
          - 'null'
          format: uuid
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - id
      - name
      - organization_id
      - created_at
      - updated_at
    Meta:
      type: object
      properties:
        pagination:
          $ref: '#/components/schemas/Pagination'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key (masko_<key>) or short-lived CLI session access token (masko_at_<token>). Send as Bearer. Projects, mascots and their assets, independent canvases and jobs are scoped to the credential workspace. Cross-workspace resource IDs return 404; select another workspace with browser login or use a key issued for that workspace. Collection routes remain legacy aliases; the separate character registry is retired.
    AppKeyInLink:
      type: apiKey
      in: query
      name: key
      description: 'An app key (masko_app_<key>) inside the canvas link, so one link is all an app needs: https://api.masko.ai/v1/canvases/{canvasId}/delivery?key=masko_app_... Only the canvas delivery and bundle endpoints read it, and only app keys: an API key is never read from a link. When an Authorization header also holds a key, the header wins.'
x-tagGroups:
- name: Mascot
  tags:
  - Mascots
  - Collections
  - Items
  - Assets
  - References
  - Voice
  - Sounds
  - Settings
- name: Creating content
  tags:
  - Generate
  - Canvases
- name: Platform
  tags:
  - Projects
  - Jobs
  - Webhooks
  - Credits
  - Styles
  - Upload
  - Analyze
  - Feedback