{
  "openapi": "3.1.1",
  "info": {
    "title": "Platform API",
    "description": "Credits, languages, your organization and its members, and analytics.",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "{{API_BASE_URL}}",
      "description": "Your API environment"
    }
  ],
  "tags": [
    {
      "name": "Organization"
    },
    {
      "name": "Members"
    },
    {
      "name": "Credits"
    },
    {
      "name": "Languages"
    },
    {
      "name": "Analytics"
    }
  ],
  "paths": {
    "/api/auth/users": {
      "get": {
        "operationId": "list-members",
        "parameters": [
          {
            "name": "name",
            "required": false,
            "in": "query",
            "description": "Only members whose name contains this text (any case).",
            "schema": {
              "type": "string",
              "examples": [
                "priya"
              ]
            }
          },
          {
            "name": "email",
            "required": false,
            "in": "query",
            "description": "Only members whose email address contains this text (any case).",
            "schema": {
              "type": "string",
              "examples": [
                "@example.com"
              ]
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 10
            },
            "description": "Members per page, 1 to 100. Default 10."
          },
          {
            "name": "page",
            "required": false,
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            },
            "description": "Page number, starting at 1."
          }
        ],
        "responses": {
          "200": {
            "description": "One page of members.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedUsersResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List members",
        "tags": [
          "Members"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `organization:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "The people in your organization, newest account first, with their name, email address and profile picture. Search by part of a name or email address. Paginated, up to 100 per page.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/credits/balance": {
      "get": {
        "operationId": "get-your-balance",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Your organization's balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditBalanceDto"
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get your balance",
        "tags": [
          "Credits"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `credits:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Your organization's credits: what it can spend now, split into plan credits (which lapse at the end of the billing period) and credits that never expire, plus lifetime totals and anything it owes. Check it before you start a large batch of jobs.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/credits/history": {
      "get": {
        "operationId": "get-credit-history",
        "parameters": [
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "Only count entries made at or after this time (ISO 8601). Omit for no lower bound.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-01-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "Only count entries made at or before this time (ISO 8601). Omit for no upper bound.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-30T23:59:59.999Z"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One entry per month with activity, oldest first.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreditHistoryMonthDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get credit history",
        "tags": [
          "Credits"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `credits:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Credits granted, spent, bought, refunded and expired for each month (UTC), oldest first, with the closing balance and the spend per feature. Months with no entries are left out. Narrow it with `from` and `to`.",
        "x-orbitdocs-order": 5,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/credits/ledger": {
      "get": {
        "operationId": "list-ledger-entries",
        "parameters": [
          {
            "name": "feature",
            "required": false,
            "in": "query",
            "description": "Only entries of this `feature`, as in the rate catalogue (for example `translate_video`). Transfers use `credits`.",
            "schema": {
              "type": "string",
              "examples": [
                "translate_video"
              ]
            }
          },
          {
            "name": "type",
            "required": false,
            "in": "query",
            "description": "Only entries of this type: `usage`, `refund`, `grant`, `top_up`, `expiry`, `rollover`, `adjustment`, `transfer_out` or `transfer_in`.",
            "schema": {
              "type": "string",
              "examples": [
                "usage"
              ]
            }
          },
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "Only entries made at or after this time (ISO 8601).",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "Only entries made at or before this time (ISO 8601).",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-30T23:59:59.999Z"
              ]
            }
          },
          {
            "name": "page",
            "required": false,
            "in": "query",
            "description": "Page number, starting at 1.",
            "schema": {
              "minimum": 1,
              "default": 1,
              "type": "number",
              "examples": [
                1
              ]
            }
          },
          {
            "name": "pageSize",
            "required": false,
            "in": "query",
            "description": "Entries per page, up to 100.",
            "schema": {
              "minimum": 1,
              "maximum": 100,
              "default": 25,
              "type": "number",
              "examples": [
                25
              ]
            }
          },
          {
            "name": "grouped",
            "required": false,
            "in": "query",
            "description": "Count a run as one entry: the start charges of one run (a DITA map is one charge per topic, a batch one per file) come together as one entry of the page, its rows side by side, at the time of its latest charge. `pageSize` and `total` then count entries.",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One page of ledger entries.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerPageDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List ledger entries",
        "tags": [
          "Credits"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `credits:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Every credit movement of your organization, newest first: charges, refunds, grants, top-ups, expiries and transfers, each with the balance after it and the member who caused it. Filter by feature, type and time to reconcile your own records. Paginated.",
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/credits/quote": {
      "post": {
        "operationId": "get-a-quote",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuoteCreditsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The price of each item, their total and your balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditQuoteDto"
                }
              }
            }
          },
          "400": {
            "description": "Nothing was priced. A field failed validation, or:\n\n- `items[<i>]: unknown feature/operation <feature>.<operation>`: the pair is not in List rates.\n- `items[<i>]: <feature>.<operation> is priced from params — pass them`: send `params` for an operation with `metering` `total`.\n- `items[<i>]: <feature>.<operation> could not be priced from these params (…)`: `params` is missing a value the price needs.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a quote",
        "tags": [
          "Credits"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `credits:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Price up to 200 units of work exactly as their start would charge them, with your rates applied, and get your balance with it. Nothing is charged. Use it to show a cost or to check you have enough credits before you start jobs.",
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/credits/rates": {
      "get": {
        "operationId": "list-rates",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The rate catalogue, priced for your organization.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateCatalogDto"
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List rates",
        "tags": [
          "Credits"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `credits:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "What every billable operation costs your organization, by category. A product's prices are listed when the product is enabled for your organization. Prices include your organization's own rates where it has them (`overridden: true`). Each operation's `feature` and `operation` are what you send to Get a quote.",
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/language": {
      "get": {
        "operationId": "list-languages",
        "parameters": [
          {
            "name": "capabilities",
            "required": false,
            "in": "query",
            "description": "Capabilities every returned language must support, comma-separated: `translation`, `transcription`, `speech`. Each returned language then has a `capabilities` object with the providers that support it. `translationProviders`, `transcriptionProviders`, `speechProviders`, `voiceTypes` and `tmId` each imply their capability. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "translation",
                  "transcription",
                  "speech"
                ]
              },
              "examples": [
                "translation,speech"
              ]
            }
          },
          {
            "name": "translationProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these translation providers supports, comma-separated: `vitratm`, `phrase`. Implies `capabilities=translation`. A provider name that does not exist matches no language. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "vitratm"
              ]
            }
          },
          {
            "name": "transcriptionProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these transcription providers supports, comma-separated. The only provider today is `gemini`. Implies `capabilities=transcription`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "gemini"
              ]
            }
          },
          {
            "name": "speechProviders",
            "required": false,
            "in": "query",
            "description": "Returns only languages that at least one of these speech providers supports, comma-separated: `elevenlabs`, `cartesia`, `microsoft`, `google`. Implies `capabilities=speech`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "examples": [
                "elevenlabs,cartesia"
              ]
            }
          },
          {
            "name": "voiceTypes",
            "required": false,
            "in": "query",
            "description": "Returns only languages with a speech provider for at least one of these voice types, comma-separated: `standard`, `native`, `cloned`. Voice types you leave out show as empty lists in `capabilities.speech.voiceTypes`. Implies `capabilities=speech`. Ignored with `group=source-target`.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "standard",
                  "native",
                  "cloned"
                ]
              },
              "examples": [
                "standard,native"
              ]
            }
          },
          {
            "name": "tmId",
            "required": false,
            "in": "query",
            "description": "ID of a translation memory your organization owns or that is shared with it. Adds the memory's translation provider to `translationProviders`, so it implies `capabilities=translation`. For a VitraTM memory that uses the Azure (Microsoft Translator) or DeepL engine, the list is also limited to languages that engine can translate, and the memory's engine overrides `translationEngine`. Ignored with `group=source-target`.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "4b7e2d9a-1c5f-4a8e-9d3b-6f0c2e8a1b5d"
              ]
            }
          },
          {
            "name": "translationEngine",
            "required": false,
            "in": "query",
            "description": "Returns only languages this VitraTM machine-translation engine can translate — for choosing the languages of a memory that does not exist yet. `azure` (Microsoft Translator) and `deepl` translate a fixed list; `gemini` has none, so it filters nothing. A memory given in `tmId` uses its own engine instead. Ignored with `group=source-target`.",
            "schema": {
              "type": "string",
              "enum": [
                "gemini",
                "azure",
                "deepl"
              ],
              "examples": [
                "deepl"
              ]
            }
          },
          {
            "name": "orgProviderPrefs",
            "required": false,
            "in": "query",
            "description": "`apply` limits transcription and speech providers to the ones enabled in your organization's provider settings; `ignore` considers every provider. Translation providers are never limited. Only matters when a capability filter is set. Ignored with `group=source-target`, which always applies your settings.",
            "schema": {
              "default": "apply",
              "type": "string",
              "enum": [
                "apply",
                "ignore"
              ],
              "examples": [
                "apply"
              ]
            }
          },
          {
            "name": "preferredLanguages",
            "required": false,
            "in": "query",
            "description": "`apply` returns only your organization's preferred languages, when it has set any; `ignore` returns languages outside that list too. Applies to both response shapes.",
            "schema": {
              "default": "apply",
              "type": "string",
              "enum": [
                "apply",
                "ignore"
              ],
              "examples": [
                "apply"
              ]
            }
          },
          {
            "name": "group",
            "required": false,
            "in": "query",
            "description": "`flat` returns `data` as a list of languages. `source-target` returns `data` as `{ source, target }`: the languages Video Dubbing can transcribe from, and the languages it can translate and dub into with the voice types available for each. With `source-target`, only `preferredLanguages` applies; the other filters are ignored.",
            "schema": {
              "default": "flat",
              "type": "string",
              "enum": [
                "flat",
                "source-target"
              ],
              "examples": [
                "flat"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The languages: a list by default, or `{ source, target }` with `group=source-target`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageListResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`tmId` is not a translation memory your organization owns or has been shared (`No translation memory \"<tmId>\"`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List languages",
        "tags": [
          "Languages"
        ],
        "description": "Languages and their keys. Pass `group=source-target` to get the languages Video Dubbing supports as `source` and `target`. Use each language’s `code` (for example `en-US`) as `sourceLanguage` and in `targetLanguages` when you start a job. When your organization has set preferred languages, only those are returned unless you pass `preferredLanguages=ignore`.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/org-analytics": {
      "get": {
        "operationId": "get-a-usage-report",
        "parameters": [
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "Start of the period (ISO 8601, inclusive). Default: 30 days before `to`. The period can be at most 366 days.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "End of the period (ISO 8601, exclusive). Default: now.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-10-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "orgId",
            "required": false,
            "in": "query",
            "description": "Report on this one organization: yours or one of its children (see `orgs` in the response). Omit for all of them together.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7c1e9a2b-4d3f-4e8a-b6c5-1d2e3f4a5b6c"
              ]
            }
          },
          {
            "name": "tz",
            "required": false,
            "in": "query",
            "description": "IANA time zone for `heatmap` (day of the week by hour). Default `UTC`. Other routes ignore it.",
            "schema": {
              "type": "string",
              "examples": [
                "Asia/Kolkata"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The usage report.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgAnalyticsReportDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, `from` is not before `to` (`` `from` must be before `to`. ``), or the period is longer than 366 days (`Date range is limited to 366 days.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization is a child organization: analytics is read from its parent (`Analytics is available on the parent organization only.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`orgId` is not your organization or one of its children (`Organization not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get a usage report",
        "tags": [
          "Analytics"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `org_analytics:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Credits spent and jobs run by your organization and its child organizations in a period (default: the last 30 days): totals compared with the period before, and breakdowns by day, product area, organization, operation, member and hour of the week. Pass `orgId` for one organization. Call it from the parent organization.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/org-analytics/budgets": {
      "get": {
        "operationId": "list-budgets",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Budgets and spend this month.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgBudgetsDto"
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization is a child organization: analytics is read from its parent (`Analytics is available on the parent organization only.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "List budgets",
        "tags": [
          "Analytics"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `org_analytics:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Each organization's monthly credit budget beside what it has spent so far this calendar month (UTC). Budgets are for tracking: they do not stop anyone from spending.",
        "x-orbitdocs-order": 4,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/org-analytics/insights": {
      "get": {
        "operationId": "get-insights",
        "parameters": [
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "Start of the period (ISO 8601, inclusive). Default: 30 days before `to`. The period can be at most 366 days.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "End of the period (ISO 8601, exclusive). Default: now.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-10-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "orgId",
            "required": false,
            "in": "query",
            "description": "Report on this one organization: yours or one of its children (see `orgs` in the response). Omit for all of them together.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7c1e9a2b-4d3f-4e8a-b6c5-1d2e3f4a5b6c"
              ]
            }
          },
          {
            "name": "tz",
            "required": false,
            "in": "query",
            "description": "IANA time zone for `heatmap` (day of the week by hour). Default `UTC`. Other routes ignore it.",
            "schema": {
              "type": "string",
              "examples": [
                "Asia/Kolkata"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The insights.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgAnalyticsInsightsDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, `from` is not before `to` (`` `from` must be before `to`. ``), or the period is longer than 366 days (`Date range is limited to 366 days.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization is a child organization: analytics is read from its parent (`Analytics is available on the parent organization only.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`orgId` is not your organization or one of its children (`Organization not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get insights",
        "tags": [
          "Analytics"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `org_analytics:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "For an organization with many children: each organization's balance, spend against the period before and active members; spend per organization and product area; failed jobs; and what a unit of work (a minute, a word …) costs. Default period: the last 30 days.",
        "x-orbitdocs-order": 3,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/org-analytics/linguists": {
      "get": {
        "operationId": "get-linguist-activity",
        "parameters": [
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "Start of the period (ISO 8601, inclusive). Default: 30 days before `to`. The period can be at most 366 days.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-09-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "End of the period (ISO 8601, exclusive). Default: now.",
            "schema": {
              "type": "string",
              "examples": [
                "2026-10-01T00:00:00.000Z"
              ]
            }
          },
          {
            "name": "orgId",
            "required": false,
            "in": "query",
            "description": "Report on this one organization: yours or one of its children (see `orgs` in the response). Omit for all of them together.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7c1e9a2b-4d3f-4e8a-b6c5-1d2e3f4a5b6c"
              ]
            }
          },
          {
            "name": "tz",
            "required": false,
            "in": "query",
            "description": "IANA time zone for `heatmap` (day of the week by hour). Default `UTC`. Other routes ignore it.",
            "schema": {
              "type": "string",
              "examples": [
                "Asia/Kolkata"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Linguist activity in the period.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgLinguistsDto"
                }
              }
            }
          },
          "400": {
            "description": "A field failed validation, `from` is not before `to` (`` `from` must be before `to`. ``), or the period is longer than 366 days (`Date range is limited to 366 days.`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization is a child organization: analytics is read from its parent (`Analytics is available on the parent organization only.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`orgId` is not your organization or one of its children (`Organization not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get linguist activity",
        "tags": [
          "Analytics"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `org_analytics:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "What your members edited in a period (default: the last 30 days): per person, per language pair and per product, with work assigned to them now. With the `org_analytics:pay` permission it also estimates each person's pay from their language rates; without it, `pay` and `currency` are `null`.",
        "x-orbitdocs-order": 6,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/org-analytics/monthly": {
      "get": {
        "operationId": "get-monthly-usage",
        "parameters": [
          {
            "name": "orgId",
            "required": false,
            "in": "query",
            "description": "Only this organization: yours or one of its children. Omit for all of them together.",
            "schema": {
              "format": "uuid",
              "type": "string",
              "examples": [
                "7c1e9a2b-4d3f-4e8a-b6c5-1d2e3f4a5b6c"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One entry per month with activity, oldest first.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AnalyticsMonthDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request: a field failed validation, or a parameter is malformed (for example, an ID that is not a UUID).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 400,
                      "message": [
                        "email must be an email"
                      ],
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Your organization is a child organization: analytics is read from its parent (`Analytics is available on the parent organization only.`), or the key lacks the permission.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "`orgId` is not your organization or one of its children (`Organization not found`).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 404,
                      "message": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get monthly usage",
        "tags": [
          "Analytics"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `org_analytics:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Credits spent and jobs run in each of the last 24 months (UTC), oldest first, to compare months, quarters and years. Months with no activity are left out. Covers your organization and its children together, or one of them with `orgId`.",
        "x-orbitdocs-order": 2,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    },
    "/v1/organization-profile": {
      "get": {
        "operationId": "get-the-company-profile",
        "parameters": [],
        "responses": {
          "200": {
            "description": "The company profile. The body is empty when none has been saved yet.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationProfileResponseDto"
                }
              }
            }
          },
          "401": {
            "description": "The `x-api-key` header is missing, or the key is invalid, expired or deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 401,
                      "message": "Unauthorized"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 403,
                      "message": "Forbidden resource",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 429,
                      "message": "ThrottlerException: Too Many Requests"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "default": {
                    "value": {
                      "statusCode": 500,
                      "message": "Internal server error"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Get the company profile",
        "tags": [
          "Organization"
        ],
        "x-orbitdocs-content": [
          {
            "markdown": "**Permission:** `organization:read`. An API key acts with the role of the member who created it.",
            "position": "after-description"
          }
        ],
        "description": "Your organization's company details: industry, legal name, tax IDs, contact and logo. Returns `200` with an empty body when the profile has never been saved.",
        "x-orbitdocs-order": 1,
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys."
      }
    },
    "schemas": {
      "AnalyticsDayDto": {
        "type": "object",
        "properties": {
          "day": {
            "type": "string",
            "description": "The day, as `YYYY-MM-DD` (UTC).",
            "examples": [
              "2026-09-28"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          }
        },
        "required": [
          "day",
          "spent",
          "events"
        ]
      },
      "AnalyticsFeatureDto": {
        "type": "object",
        "properties": {
          "feature": {
            "type": "string",
            "description": "The product area, as in the rate catalogue.",
            "examples": [
              "translate_video"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          }
        },
        "required": [
          "feature",
          "spent",
          "events"
        ]
      },
      "AnalyticsHeatmapCellDto": {
        "type": "object",
        "properties": {
          "dow": {
            "type": "number",
            "minimum": 1,
            "maximum": 7,
            "description": "Day of the week, 1 (Monday) to 7 (Sunday), in `tz`.",
            "examples": [
              2
            ]
          },
          "hour": {
            "type": "number",
            "minimum": 0,
            "maximum": 23,
            "description": "Hour of the day, 0 to 23, in `tz`.",
            "examples": [
              14
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          }
        },
        "required": [
          "dow",
          "hour",
          "events",
          "spent"
        ]
      },
      "AnalyticsMemberDto": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Member ID. `null` for spend with no member, such as system settlements.",
            "examples": [
              "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
            ]
          },
          "name": {
            "type": "string",
            "description": "The member's name (or email address). `System` for spend with no member.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "orgId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The organization the member belongs to.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          }
        },
        "required": [
          "memberId",
          "name",
          "orgId",
          "spent",
          "events"
        ]
      },
      "AnalyticsMonthDto": {
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "description": "The month, as `YYYY-MM` (UTC).",
            "examples": [
              "2026-09"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          }
        },
        "required": [
          "month",
          "spent",
          "events"
        ]
      },
      "AnalyticsOperationDto": {
        "type": "object",
        "properties": {
          "feature": {
            "type": "string",
            "description": "The product area, as in the rate catalogue.",
            "examples": [
              "translate_video"
            ]
          },
          "operation": {
            "type": "string",
            "description": "The operation, as in the rate catalogue.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          }
        },
        "required": [
          "feature",
          "operation",
          "spent",
          "events"
        ]
      },
      "AnalyticsOrgRefDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID. Pass it as `orgId` to report on it alone.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "name": {
            "type": "string",
            "description": "Organization name.",
            "examples": [
              "Acme Studios"
            ]
          },
          "slug": {
            "type": "string",
            "description": "Organization URL slug.",
            "examples": [
              "acme-studios"
            ]
          },
          "isRoot": {
            "type": "boolean",
            "description": "`true` for your (parent) organization, `false` for a child.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "id",
          "name",
          "slug",
          "isRoot"
        ]
      },
      "AnalyticsOrgUsageDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "name": {
            "type": "string",
            "description": "Organization name.",
            "examples": [
              "Acme Studios"
            ]
          },
          "isRoot": {
            "type": "boolean",
            "description": "`true` for your (parent) organization, `false` for a child.",
            "examples": [
              true
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          },
          "balance": {
            "type": "number",
            "description": "The organization's current balance.",
            "examples": [
              8480
            ]
          },
          "members": {
            "type": "number",
            "description": "Members of the organization.",
            "examples": [
              9
            ]
          }
        },
        "required": [
          "id",
          "name",
          "isRoot",
          "spent",
          "events",
          "balance",
          "members"
        ]
      },
      "AnalyticsRangeDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time",
            "description": "Start of the period (inclusive).",
            "examples": [
              "2026-09-01T00:00:00.000Z"
            ]
          },
          "to": {
            "type": "string",
            "format": "date-time",
            "description": "End of the period (exclusive).",
            "examples": [
              "2026-10-01T00:00:00.000Z"
            ]
          }
        },
        "required": [
          "from",
          "to"
        ]
      },
      "AnalyticsSummaryDto": {
        "type": "object",
        "properties": {
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          },
          "balance": {
            "type": "number",
            "description": "Current balance of the organizations covered, together.",
            "examples": [
              12480
            ]
          },
          "members": {
            "type": "number",
            "description": "People who are members of the organizations covered, each counted once.",
            "examples": [
              14
            ]
          },
          "previousSpent": {
            "type": "number",
            "description": "Credits spent in the period of the same length just before this one.",
            "examples": [
              6100
            ]
          },
          "previousEvents": {
            "type": "number",
            "description": "Jobs and operations started in the period of the same length just before this one.",
            "examples": [
              31
            ]
          },
          "failed": {
            "type": "number",
            "description": "Jobs that failed on our side and were refunded.",
            "examples": [
              2
            ]
          },
          "refunded": {
            "type": "number",
            "description": "Credits refunded for those failed jobs.",
            "examples": [
              300
            ]
          },
          "burnPerDay": {
            "type": "number",
            "description": "Average credits spent per day in the period.",
            "examples": [
              247.33
            ]
          },
          "runwayDays": {
            "type": [
              "number",
              "null"
            ],
            "description": "Days the current balance lasts at this pace. `null` when nothing was spent.",
            "examples": [
              50
            ]
          }
        },
        "required": [
          "spent",
          "events",
          "balance",
          "members",
          "previousSpent",
          "previousEvents",
          "failed",
          "refunded",
          "burnPerDay",
          "runwayDays"
        ]
      },
      "BudgetOrgDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "name": {
            "type": "string",
            "description": "Organization name.",
            "examples": [
              "Acme Studios"
            ]
          },
          "isRoot": {
            "type": "boolean",
            "description": "`true` for your (parent) organization, `false` for a child.",
            "examples": [
              true
            ]
          },
          "budget": {
            "type": [
              "number",
              "null"
            ],
            "description": "Monthly budget in credits. `null` when none is set.",
            "examples": [
              10000
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent so far this calendar month (UTC).",
            "examples": [
              4210
            ]
          }
        },
        "required": [
          "id",
          "name",
          "isRoot",
          "budget",
          "spent"
        ]
      },
      "CreditBalanceDto": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "Credits your organization can spend now: `expiringCredits` + `nonExpiringCredits`. Negative while your organization owes credits.",
            "examples": [
              12480
            ]
          },
          "expiringCredits": {
            "type": "number",
            "description": "Plan credits. Unused ones lapse when your plan's billing period ends. Spent first.",
            "examples": [
              10000
            ]
          },
          "nonExpiringCredits": {
            "type": "number",
            "description": "Credits that never expire: top-ups and credits received from a parent organization.",
            "examples": [
              2480
            ]
          },
          "lifetimeGranted": {
            "type": "number",
            "description": "All credits your organization has ever received.",
            "examples": [
              50000
            ]
          },
          "lifetimeSpent": {
            "type": "number",
            "description": "All credits your organization has ever spent.",
            "examples": [
              37520
            ]
          },
          "lowBalanceThreshold": {
            "type": [
              "number",
              "null"
            ],
            "description": "The balance at or below which the Universe app warns that credits are running low. `null` when not set.",
            "examples": [
              1000
            ]
          },
          "runningLowLine": {
            "type": [
              "number",
              "null"
            ],
            "description": "The running-low line, in credits, that the app's price confirm asks at: `lowBalanceThreshold` when set, else the organization's running-low level (a percent of the plan's monthly credits). `null` when the organization has no credit account.",
            "examples": [
              2000
            ]
          },
          "owed": {
            "type": "number",
            "description": "Credits your organization owes (0 when nothing is owed). Above zero only when a finished job cost more than was left. While anything is owed, paid requests are refused until a top-up, the next monthly grant or an allocation from your parent organization repays it.",
            "examples": [
              0
            ]
          }
        },
        "required": [
          "balance",
          "expiringCredits",
          "nonExpiringCredits",
          "lifetimeGranted",
          "lifetimeSpent",
          "lowBalanceThreshold",
          "owed"
        ]
      },
      "CreditHistoryMonthDto": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string",
            "description": "The month, as `YYYY-MM` (UTC).",
            "examples": [
              "2026-09"
            ]
          },
          "granted": {
            "type": "number",
            "description": "Plan credits granted that month.",
            "examples": [
              10000
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent that month, net of refunds (a job refunded after failing spent nothing).",
            "examples": [
              7420
            ]
          },
          "toppedUp": {
            "type": "number",
            "description": "Credits bought that month.",
            "examples": [
              5000
            ]
          },
          "refunded": {
            "type": "number",
            "description": "Credits refunded that month.",
            "examples": [
              300
            ]
          },
          "expired": {
            "type": "number",
            "description": "Plan credits that lapsed that month.",
            "examples": [
              0
            ]
          },
          "closingBalance": {
            "type": [
              "number",
              "null"
            ],
            "description": "Your balance after the month's last entry.",
            "examples": [
              12480
            ]
          },
          "byFeature": {
            "type": "object",
            "additionalProperties": {
              "type": "number"
            },
            "description": "Credits spent that month per `feature`, net of refunds. Features with no spend are left out.",
            "examples": [
              {
                "translate_video": 6200,
                "translate_photo": 1220
              }
            ]
          }
        },
        "required": [
          "period",
          "granted",
          "spent",
          "toppedUp",
          "refunded",
          "expired",
          "closingBalance",
          "byFeature"
        ]
      },
      "CreditQuoteDto": {
        "type": "object",
        "properties": {
          "items": {
            "description": "One price per item you sent, in the same order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteItemPriceDto"
            }
          },
          "total": {
            "type": "number",
            "description": "Sum of every item, in credits.",
            "examples": [
              600
            ]
          },
          "balance": {
            "type": "number",
            "description": "Your current balance, so you can compare it with `total`. Negative while your organization owes credits.",
            "examples": [
              12480
            ]
          },
          "owed": {
            "type": "number",
            "description": "Credits your organization owes (0 when nothing is owed). Paid requests are refused while it is above zero.",
            "examples": [
              0
            ]
          }
        },
        "required": [
          "items",
          "total",
          "balance",
          "owed"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "description": "Error body returned for every 4xx and 5xx response.",
        "required": [
          "statusCode",
          "message"
        ],
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code, repeated in the body.",
            "examples": [
              404
            ]
          },
          "message": {
            "description": "What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.",
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ],
            "examples": [
              "Booking not found"
            ]
          },
          "error": {
            "type": "string",
            "description": "Short name of the status.",
            "examples": [
              "Not Found"
            ]
          }
        }
      },
      "FlatPricingDto": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "flat"
            ],
            "description": "A fixed price for each operation.",
            "examples": [
              "flat"
            ]
          },
          "credits": {
            "type": "number",
            "description": "Credits for one operation, with your rates applied.",
            "examples": [
              5
            ]
          }
        },
        "required": [
          "kind",
          "credits"
        ]
      },
      "InsightsFailureDto": {
        "type": "object",
        "properties": {
          "orgId": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "feature": {
            "type": "string",
            "description": "The product area of the failed jobs.",
            "examples": [
              "translate_video"
            ]
          },
          "failed": {
            "type": "number",
            "description": "Jobs that failed on our side and were refunded.",
            "examples": [
              2
            ]
          },
          "refunded": {
            "type": "number",
            "description": "Credits refunded for them.",
            "examples": [
              300
            ]
          }
        },
        "required": [
          "orgId",
          "feature",
          "failed",
          "refunded"
        ]
      },
      "InsightsMatrixCellDto": {
        "type": "object",
        "properties": {
          "orgId": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "feature": {
            "type": "string",
            "description": "The product area, as in the rate catalogue.",
            "examples": [
              "translate_video"
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          }
        },
        "required": [
          "orgId",
          "feature",
          "spent"
        ]
      },
      "InsightsOrgDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Organization ID.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "name": {
            "type": "string",
            "description": "Organization name.",
            "examples": [
              "Acme Studios"
            ]
          },
          "isRoot": {
            "type": "boolean",
            "description": "`true` for your (parent) organization, `false` for a child.",
            "examples": [
              true
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits spent, net of refunds.",
            "examples": [
              7420
            ]
          },
          "previousSpent": {
            "type": "number",
            "description": "Credits spent in the period of the same length just before this one.",
            "examples": [
              6100
            ]
          },
          "events": {
            "type": "number",
            "description": "Paid jobs and operations started. Jobs refunded because they failed on our side are not counted.",
            "examples": [
              38
            ]
          },
          "balance": {
            "type": "number",
            "description": "The organization's current balance.",
            "examples": [
              8480
            ]
          },
          "expiring": {
            "type": "number",
            "description": "Plan credits in the balance, which lapse when the plan period ends.",
            "examples": [
              6000
            ]
          },
          "periodEnd": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When the current plan period ends.",
            "examples": [
              "2026-10-14T00:00:00.000Z"
            ]
          },
          "granted": {
            "type": "number",
            "description": "All credits the organization has ever received.",
            "examples": [
              50000
            ]
          },
          "lifetimeSpent": {
            "type": "number",
            "description": "All credits the organization has ever spent.",
            "examples": [
              37520
            ]
          },
          "members": {
            "type": "number",
            "description": "Members of the organization.",
            "examples": [
              9
            ]
          },
          "active": {
            "type": "number",
            "description": "Members who started at least one paid job in the period.",
            "examples": [
              5
            ]
          }
        },
        "required": [
          "id",
          "name",
          "isRoot",
          "spent",
          "previousSpent",
          "events",
          "balance",
          "expiring",
          "periodEnd",
          "granted",
          "lifetimeSpent",
          "members",
          "active"
        ]
      },
      "InsightsUnitCostDto": {
        "type": "object",
        "properties": {
          "feature": {
            "type": "string",
            "description": "The product area, as in the rate catalogue.",
            "examples": [
              "translate_video"
            ]
          },
          "operation": {
            "type": "string",
            "description": "The operation, as in the rate catalogue.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "unit": {
            "type": "string",
            "description": "What the work is measured in.",
            "examples": [
              "minute"
            ]
          },
          "units": {
            "type": "number",
            "description": "Units of work charged in the period.",
            "examples": [
              42
            ]
          },
          "spent": {
            "type": "number",
            "description": "Credits charged for them when they started. Divide by `units` for the cost of one unit.",
            "examples": [
              12600
            ]
          }
        },
        "required": [
          "feature",
          "operation",
          "unit",
          "units",
          "spent"
        ]
      },
      "LanguageCapabilitiesDto": {
        "type": "object",
        "properties": {
          "translation": {
            "description": "Present when you filter by translation.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ProvidersDto"
              }
            ]
          },
          "transcription": {
            "description": "Present when you filter by transcription.",
            "allOf": [
              {
                "$ref": "#/components/schemas/ProvidersDto"
              }
            ]
          },
          "speech": {
            "description": "Present when you filter by speech.",
            "allOf": [
              {
                "$ref": "#/components/schemas/SpeechCapabilityDto"
              }
            ]
          }
        }
      },
      "LanguageCatalogItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          },
          "direction": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "ltr",
              "rtl"
            ],
            "description": "Writing direction: `ltr` (left to right) or `rtl` (right to left). Null when not known.",
            "examples": [
              "ltr"
            ]
          },
          "flag": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lowercase ISO 3166 country code, for showing a flag. Null when none.",
            "examples": [
              "us"
            ]
          },
          "nativeName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Language name in the language itself, for display. Null when not known.",
            "examples": [
              "English"
            ]
          },
          "capabilities": {
            "description": "Present only when you filter by a capability: the providers that support the language for it.",
            "allOf": [
              {
                "$ref": "#/components/schemas/LanguageCapabilitiesDto"
              }
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label",
          "direction",
          "flag",
          "nativeName"
        ]
      },
      "LanguageListItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label"
        ]
      },
      "LanguageListResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Always `true` on success.",
            "examples": [
              true
            ]
          },
          "data": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/LanguageCatalogItemDto"
                }
              },
              {
                "$ref": "#/components/schemas/SourceTargetLanguagesDto"
              }
            ],
            "description": "A list of active languages by default; `{ source, target }` with `group=source-target`. Languages are grouped A to Z by base language: the base language first, then its main locale (for example `en-US` for English), then other variants A to Z."
          }
        },
        "required": [
          "success",
          "data"
        ]
      },
      "LanguagePairDto": {
        "type": "object",
        "properties": {
          "source": {
            "type": [
              "string",
              "null"
            ],
            "description": "Source language (BCP-47). `null` when it was not recorded.",
            "examples": [
              "en-US"
            ]
          },
          "target": {
            "type": "string",
            "description": "Target language (BCP-47).",
            "examples": [
              "hi-IN"
            ]
          },
          "edits": {
            "type": "number",
            "description": "Edits saved.",
            "examples": [
              210
            ]
          },
          "words": {
            "type": "number",
            "description": "Words edited: added plus removed.",
            "examples": [
              1980
            ]
          },
          "similarity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Average share of each text left unchanged by the edits, 0 to 1. `null` when it could not be measured.",
            "examples": [
              0.82
            ]
          }
        },
        "required": [
          "source",
          "target",
          "edits",
          "words",
          "similarity"
        ]
      },
      "LedgerActorDto": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": "string",
            "format": "uuid",
            "description": "Member ID in your organization.",
            "examples": [
              "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "The member's name.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "The member's email address.",
            "examples": [
              "priya@example.com"
            ]
          },
          "image": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL of the member's profile picture.",
            "examples": [
              "https://lh3.googleusercontent.com/a/profile-picture"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ],
            "description": "The member's role in your organization, such as `owner`, `admin` or `editor`.",
            "examples": [
              "admin"
            ]
          }
        },
        "required": [
          "memberId",
          "name",
          "email",
          "image",
          "role"
        ]
      },
      "LedgerEntryDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the entry.",
            "examples": [
              "e4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8"
            ]
          },
          "amount": {
            "type": "number",
            "description": "Credits moved: negative for a debit (`usage`, `expiry`, `transfer_out`), positive for a credit (`grant`, `top_up`, `refund`, `transfer_in`). Can be fractional.",
            "examples": [
              -600
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "usage",
              "top_up",
              "grant",
              "refund",
              "rollover",
              "expiry",
              "adjustment",
              "transfer_out",
              "transfer_in"
            ],
            "description": "`usage`: a charge. `refund`: a charge given back (for example after a job failed on our side). `grant`: plan credits. `top_up`: purchased credits. `expiry`: plan credits that lapsed. `rollover`: a note at the end of a billing period. `adjustment`: a correction by Acclaro. `transfer_out` / `transfer_in`: credits moved between a parent organization and a child.",
            "examples": [
              "usage"
            ]
          },
          "feature": {
            "type": "string",
            "description": "The product area that caused it, as in the rate catalogue. `credits` for transfers.",
            "examples": [
              "translate_video"
            ]
          },
          "operation": {
            "type": "string",
            "description": "The operation that caused it, within `feature`.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "The usage that was priced (minutes, words, characters …), when there is one.",
            "examples": [
              2
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ],
            "description": "What `quantity` is measured in.",
            "examples": [
              "minute"
            ]
          },
          "balanceAfter": {
            "type": "number",
            "description": "Your balance right after this entry.",
            "examples": [
              12480
            ]
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Details recorded with the entry, such as the job it belongs to. The keys depend on `feature`; treat them as informational.",
            "examples": [
              {
                "processId": "9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b"
              }
            ]
          },
          "fk_memberId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "ID of the member who caused it. `null` for entries made by the system, such as monthly grants.",
            "examples": [
              "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
            ]
          },
          "idempotencyKey": {
            "type": "string",
            "description": "Unique key of the movement within your organization. A retried request with the same key never moves credits twice.",
            "examples": [
              "tv-run:9b1f6c2e-3d4a-4e5f-8a7b-1c2d3e4f5a6b:a1"
            ]
          },
          "reversesEntryId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "On a `refund`: the ID of the `usage` entry it gives back.",
            "examples": [
              null
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the credits moved.",
            "examples": [
              "2026-09-28T10:15:00.000Z"
            ]
          },
          "user": {
            "description": "Who caused it. `null` for system entries and older entries made before this was recorded.",
            "type": [
              "object",
              "null"
            ],
            "allOf": [
              {
                "$ref": "#/components/schemas/LedgerActorDto"
              }
            ]
          }
        },
        "required": [
          "id",
          "amount",
          "type",
          "feature",
          "operation",
          "quantity",
          "unit",
          "balanceAfter",
          "meta",
          "fk_memberId",
          "idempotencyKey",
          "reversesEntryId",
          "createdAt",
          "user"
        ]
      },
      "LedgerPageDto": {
        "type": "object",
        "properties": {
          "rows": {
            "description": "Entries on this page, newest first.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LedgerEntryDto"
            }
          },
          "total": {
            "type": "number",
            "description": "Entries that match your filters, on all pages.",
            "examples": [
              342
            ]
          },
          "page": {
            "type": "number",
            "description": "This page number.",
            "examples": [
              1
            ]
          },
          "pageSize": {
            "type": "number",
            "description": "Entries per page.",
            "examples": [
              25
            ]
          }
        },
        "required": [
          "rows",
          "total",
          "page",
          "pageSize"
        ]
      },
      "LinguistDto": {
        "type": "object",
        "properties": {
          "memberId": {
            "type": "string",
            "format": "uuid",
            "description": "Member ID.",
            "examples": [
              "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e"
            ]
          },
          "name": {
            "type": "string",
            "description": "The member's name (or email address). `Removed member` once they have left.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "orgId": {
            "type": "string",
            "format": "uuid",
            "description": "The organization the work was done in.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "edits": {
            "type": "number",
            "description": "Edits saved in the period.",
            "examples": [
              312
            ]
          },
          "segments": {
            "type": "number",
            "description": "Segments those edits touched.",
            "examples": [
              540
            ]
          },
          "words": {
            "type": "number",
            "description": "Words edited: words added plus words removed.",
            "examples": [
              2860
            ]
          },
          "verified": {
            "type": "number",
            "description": "Segments the member marked verified.",
            "examples": [
              120
            ]
          },
          "approved": {
            "type": "number",
            "description": "Segments the member marked approved.",
            "examples": [
              80
            ]
          },
          "pay": {
            "type": [
              "number",
              "null"
            ],
            "description": "Estimated pay: words edited × the member's rate for each language pair, rounded to 2 decimals. `null` without the `org_analytics:pay` permission.",
            "examples": [
              5720
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Currency of `pay` (the rate currency of the member's organization). `null` without the `org_analytics:pay` permission, or when none is set.",
            "examples": [
              "INR"
            ]
          },
          "assigned": {
            "type": "number",
            "description": "Jobs assigned to the member now, whatever the period.",
            "examples": [
              3
            ]
          },
          "languages": {
            "type": "number",
            "description": "Languages across those assignments.",
            "examples": [
              2
            ]
          }
        },
        "required": [
          "memberId",
          "name",
          "orgId",
          "edits",
          "segments",
          "words",
          "verified",
          "approved",
          "pay",
          "currency",
          "assigned",
          "languages"
        ]
      },
      "LinguistProductDto": {
        "type": "object",
        "properties": {
          "surface": {
            "type": "string",
            "description": "Where the edits were made.",
            "examples": [
              "tv.transcript_text"
            ]
          },
          "label": {
            "type": "string",
            "description": "`surface` in words, for display.",
            "examples": [
              "Video — segment text"
            ]
          },
          "edits": {
            "type": "number",
            "description": "Edits that changed text.",
            "examples": [
              180
            ]
          },
          "words": {
            "type": "number",
            "description": "Words edited: added plus removed.",
            "examples": [
              1640
            ]
          },
          "similarity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Average share of each text left unchanged by the edits, 0 to 1.",
            "examples": [
              0.79
            ]
          }
        },
        "required": [
          "surface",
          "label",
          "edits",
          "words",
          "similarity"
        ]
      },
      "OrgAnalyticsInsightsDto": {
        "type": "object",
        "properties": {
          "range": {
            "description": "The period covered.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AnalyticsRangeDto"
              }
            ]
          },
          "days": {
            "type": "number",
            "description": "Length of the period in days.",
            "examples": [
              30
            ]
          },
          "orgs": {
            "description": "Each organization covered, with its balance and pace.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightsOrgDto"
            }
          },
          "matrix": {
            "description": "Spend per organization and product area. Pairs with no spend are left out.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightsMatrixCellDto"
            }
          },
          "failures": {
            "description": "Failed jobs per organization and product area.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightsFailureDto"
            }
          },
          "unitCosts": {
            "description": "The 20 metered operations with the highest spend, with the units charged.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightsUnitCostDto"
            }
          }
        },
        "required": [
          "range",
          "days",
          "orgs",
          "matrix",
          "failures",
          "unitCosts"
        ]
      },
      "OrgAnalyticsReportDto": {
        "type": "object",
        "properties": {
          "range": {
            "description": "The period covered.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AnalyticsRangeDto"
              }
            ]
          },
          "orgs": {
            "description": "Every organization of your family (yours first, then its children), whatever `orgId` you passed.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsOrgRefDto"
            }
          },
          "orgId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "The `orgId` you passed, or `null` when the report covers the whole family.",
            "examples": [
              null
            ]
          },
          "summary": {
            "description": "Totals.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AnalyticsSummaryDto"
              }
            ]
          },
          "byDay": {
            "description": "Spend per day (UTC), oldest first. Days with none are left out.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsDayDto"
            }
          },
          "byFeature": {
            "description": "Spend per product area, highest first.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsFeatureDto"
            }
          },
          "byOrg": {
            "description": "Spend per organization covered.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsOrgUsageDto"
            }
          },
          "byOperation": {
            "description": "The 20 operations with the highest spend.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsOperationDto"
            }
          },
          "heatmap": {
            "description": "Activity by day of the week and hour, in `tz`. Hours with none are left out.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsHeatmapCellDto"
            }
          },
          "byMember": {
            "description": "The 50 members with the highest spend.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnalyticsMemberDto"
            }
          }
        },
        "required": [
          "range",
          "orgs",
          "orgId",
          "summary",
          "byDay",
          "byFeature",
          "byOrg",
          "byOperation",
          "heatmap",
          "byMember"
        ]
      },
      "OrganizationProfileResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the profile.",
            "examples": [
              "0d9c8b7a-6f5e-4d3c-b2a1-9f8e7d6c5b4a"
            ]
          },
          "fk_orgId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of your organization.",
            "examples": [
              "3f2b8c1d-6e4a-4b7c-9d1e-2a3b4c5d6e7f"
            ]
          },
          "industry": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "EDUCATION",
              "ECOMMERCE",
              "FINANCE",
              "HEALTHCARE",
              "MANUFACTURING",
              "OTHERS",
              "RETAIL",
              "TECHNOLOGY"
            ],
            "description": "Your organization's industry.",
            "examples": [
              "TECHNOLOGY"
            ]
          },
          "legalName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Registered legal name of the company.",
            "examples": [
              "Acme Studios Private Limited"
            ]
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company website.",
            "examples": [
              "https://acme.example.com"
            ]
          },
          "addressLine1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line.",
            "examples": [
              "4th Floor, 100 Feet Road"
            ]
          },
          "addressLine2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City.",
            "examples": [
              "Bengaluru"
            ]
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal code.",
            "examples": [
              "560038"
            ]
          },
          "billingEmail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Where invoices for this organization are sent.",
            "examples": [
              "accounts@example.com"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country the company is registered in.",
            "examples": [
              "India"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State or region the company is registered in.",
            "examples": [
              "Karnataka"
            ]
          },
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Currency the company works in.",
            "examples": [
              "INR"
            ]
          },
          "vatId": {
            "type": [
              "string",
              "null"
            ],
            "description": "VAT or GST registration number.",
            "examples": [
              "29ABCDE1234F1Z5"
            ]
          },
          "taxId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax ID, such as a PAN or EIN.",
            "examples": [
              "ABCDE1234F"
            ]
          },
          "logo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company logo: an image URL or a `data:` URI.",
            "examples": [
              "https://acme.example.com/logo.png"
            ]
          },
          "contactName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the main contact person.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "contactEmail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address of the main contact.",
            "examples": [
              "priya@example.com"
            ]
          },
          "contactPhone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Phone number of the main contact.",
            "examples": [
              "+91 98765 43210"
            ]
          },
          "data": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Other details saved with the profile.",
            "examples": [
              {
                "billingAddress": "12 MG Road, Bengaluru 560001"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the profile was first saved.",
            "examples": [
              "2026-03-14T09:30:00.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the profile was last changed.",
            "examples": [
              "2026-09-28T10:15:00.000Z"
            ]
          }
        },
        "required": [
          "id",
          "fk_orgId",
          "industry",
          "legalName",
          "website",
          "addressLine1",
          "addressLine2",
          "city",
          "postalCode",
          "billingEmail",
          "country",
          "state",
          "currency",
          "vatId",
          "taxId",
          "logo",
          "contactName",
          "contactEmail",
          "contactPhone",
          "data",
          "createdAt",
          "updatedAt"
        ]
      },
      "OrgBudgetsDto": {
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "description": "The current month, as `YYYY-MM` (UTC).",
            "examples": [
              "2026-10"
            ]
          },
          "dayOfMonth": {
            "type": "number",
            "description": "Today's day of the month (UTC).",
            "examples": [
              4
            ]
          },
          "daysInMonth": {
            "type": "number",
            "description": "Days in the current month.",
            "examples": [
              31
            ]
          },
          "orgs": {
            "description": "Every organization of your family, yours first.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetOrgDto"
            }
          }
        },
        "required": [
          "month",
          "dayOfMonth",
          "daysInMonth",
          "orgs"
        ]
      },
      "OrgLinguistsDto": {
        "type": "object",
        "properties": {
          "range": {
            "description": "The period covered.",
            "allOf": [
              {
                "$ref": "#/components/schemas/AnalyticsRangeDto"
              }
            ]
          },
          "canSeePay": {
            "type": "boolean",
            "description": "Whether `pay` and `currency` are filled in: `true` with the `org_analytics:pay` permission.",
            "examples": [
              true
            ]
          },
          "people": {
            "description": "Members who edited in the period or have work assigned, most words first (up to 500).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinguistDto"
            }
          },
          "payTotals": {
            "description": "Estimated pay, one total per currency. Empty without the `org_analytics:pay` permission.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayTotalDto"
            }
          },
          "pairs": {
            "description": "Work per language pair, most words first (up to 50).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguagePairDto"
            }
          },
          "products": {
            "description": "Work per place it was done, most words first.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LinguistProductDto"
            }
          }
        },
        "required": [
          "range",
          "canSeePay",
          "people",
          "payTotals",
          "pairs",
          "products"
        ]
      },
      "OrgUserDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "User ID of the member. It is the `actorUserId` of their audit log entries.",
            "examples": [
              "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d"
            ]
          },
          "name": {
            "type": "string",
            "description": "The member's name.",
            "examples": [
              "Priya Sharma"
            ]
          },
          "email": {
            "type": "string",
            "description": "The member's email address.",
            "examples": [
              "priya@example.com"
            ]
          },
          "emailVerified": {
            "type": "boolean",
            "description": "Whether the member has confirmed their email address.",
            "examples": [
              true
            ]
          },
          "image": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL of the member's profile picture.",
            "examples": [
              "https://lh3.googleusercontent.com/a/profile-picture"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country from the member’s profile.",
            "examples": [
              "India"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the user account was created.",
            "examples": [
              "2026-03-14T09:30:00.000Z"
            ]
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the user profile was last changed.",
            "examples": [
              "2026-09-28T10:15:00.000Z"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "email",
          "emailVerified",
          "image",
          "country",
          "createdAt",
          "updatedAt"
        ]
      },
      "PaginatedUsersResponseDto": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Members on this page, newest account first.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrgUserDto"
            }
          },
          "pagination": {
            "description": "Where this page is in the list.",
            "allOf": [
              {
                "$ref": "#/components/schemas/UsersPaginationDto"
              }
            ]
          }
        },
        "required": [
          "data",
          "pagination"
        ]
      },
      "PayTotalDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Currency of the total. `null` when no currency is set.",
            "examples": [
              "INR"
            ]
          },
          "total": {
            "type": "number",
            "description": "Estimated pay in that currency, rounded to 2 decimals.",
            "examples": [
              18450.5
            ]
          }
        },
        "required": [
          "currency",
          "total"
        ]
      },
      "PerUnitPricingDto": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "per_unit"
            ],
            "description": "A price for every `per` units of work.",
            "examples": [
              "per_unit"
            ]
          },
          "credits": {
            "type": "number",
            "description": "Credits for every `per` units, with your rates applied.",
            "examples": [
              300
            ]
          },
          "per": {
            "type": "number",
            "description": "How many units `credits` pays for.",
            "examples": [
              1
            ]
          },
          "unit": {
            "type": "string",
            "description": "The unit of work, such as `minute`, `word` or `character`.",
            "examples": [
              "minute"
            ]
          }
        },
        "required": [
          "kind",
          "credits",
          "per",
          "unit"
        ]
      },
      "PricingTierDto": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "What this tier covers, such as a model name.",
            "examples": [
              "gemini-2.5-flash"
            ]
          },
          "input": {
            "type": "number",
            "description": "Credits for every `per` of input (token-priced tiers only).",
            "examples": [
              0.3
            ]
          },
          "output": {
            "type": "number",
            "description": "Credits for every `per` of output (token-priced tiers only).",
            "examples": [
              2.5
            ]
          },
          "credits": {
            "type": "number",
            "description": "Credits for every `per` (single-price tiers only).",
            "examples": [
              1
            ]
          }
        },
        "required": [
          "label"
        ]
      },
      "ProvidersDto": {
        "type": "object",
        "properties": {
          "providers": {
            "description": "Providers that support the language for this capability, after your filters. Never empty.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "vitratm",
                "phrase"
              ]
            ]
          }
        },
        "required": [
          "providers"
        ]
      },
      "QuoteCreditsDto": {
        "type": "object",
        "properties": {
          "items": {
            "minItems": 1,
            "maxItems": 200,
            "description": "The work to price, 1 to 200 items. Send one item per unit the start would charge, for example one per target language.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteCreditsItemDto"
            }
          }
        },
        "required": [
          "items"
        ]
      },
      "QuoteCreditsItemDto": {
        "type": "object",
        "properties": {
          "feature": {
            "type": "string",
            "description": "The `feature` of the operation, as List rates returns it.",
            "examples": [
              "translate_video"
            ]
          },
          "operation": {
            "type": "string",
            "description": "The `operation` to price, as List rates returns it. For Video Dubbing it is the `processType` of the job.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "quantity": {
            "type": "number",
            "description": "For an operation with `metering` `per_unit` (or none): how many units, in the unit of its price (words, characters, images …). Default 1. Ignored when the operation is priced from `params`.",
            "minimum": 0,
            "examples": [
              1
            ]
          },
          "params": {
            "type": "object",
            "description": "For an operation with `metering` `total`: what the price is computed from. Required for them. Video operations take `seconds` (length of the source video) and, for dubbing, `speakers`.",
            "additionalProperties": true,
            "examples": [
              {
                "seconds": 120,
                "speakers": 2
              }
            ]
          }
        },
        "required": [
          "feature",
          "operation"
        ]
      },
      "QuoteItemPriceDto": {
        "type": "object",
        "properties": {
          "credits": {
            "type": "number",
            "description": "Credits this item would be charged when it starts, rounded up to whole credits.",
            "examples": [
              600
            ]
          }
        },
        "required": [
          "credits"
        ]
      },
      "RateCatalogDto": {
        "type": "object",
        "properties": {
          "groups": {
            "description": "The billable operations, by category.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateGroupDto"
            }
          }
        },
        "required": [
          "groups"
        ]
      },
      "RateEntryDto": {
        "type": "object",
        "properties": {
          "feature": {
            "type": "string",
            "description": "The product area that charges it. With `operation`, it is what you send to Get a quote.",
            "examples": [
              "translate_video"
            ]
          },
          "operation": {
            "type": "string",
            "description": "The operation charged, within `feature`.",
            "examples": [
              "VIDEO_TO_SPEECH_TRANSLATION"
            ]
          },
          "group": {
            "type": "string",
            "enum": [
              "common",
              "translate_photo",
              "translate_website",
              "translate_video",
              "hyperlocal",
              "quality_control",
              "playground",
              "cosmos",
              "blog",
              "performance_marketing",
              "content_research",
              "slate"
            ],
            "description": "The category it is listed under (the `group` it is in).",
            "examples": [
              "translate_video"
            ]
          },
          "label": {
            "type": "string",
            "description": "Name of the operation, for display.",
            "examples": [
              "Video Dubbing"
            ]
          },
          "description": {
            "type": "string",
            "description": "What the operation is and how it is measured.",
            "examples": [
              "Dubbing a video, with or without instant voice cloning. Per minute of source video; a multi-speaker run is charged a third more, since each speaker is separately transcribed, voice-matched and synthesized."
            ]
          },
          "unit": {
            "type": "string",
            "description": "What the usage is measured in.",
            "examples": [
              "minutes"
            ]
          },
          "metering": {
            "type": "string",
            "enum": [
              "per_unit",
              "total"
            ],
            "description": "How Get a quote prices it. `per_unit` (the default when absent): send `quantity`. `total`: send the `params` the price is computed from, such as `{ \"seconds\": 120, \"speakers\": 2 }` for video.",
            "examples": [
              "total"
            ]
          },
          "pricing": {
            "description": "The price. `kind` says which shape it is: `flat`, `per_unit` or `tiered`.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/FlatPricingDto"
              },
              {
                "$ref": "#/components/schemas/PerUnitPricingDto"
              },
              {
                "$ref": "#/components/schemas/TieredPricingDto"
              }
            ],
            "discriminator": {
              "propertyName": "kind"
            }
          },
          "overridden": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Present (and `true`) when your organization has its own price for this operation; `pricing` then shows that price.",
            "examples": [
              true
            ]
          }
        },
        "required": [
          "feature",
          "operation",
          "group",
          "label",
          "description",
          "unit",
          "pricing"
        ]
      },
      "RateGroupDto": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "enum": [
              "common",
              "translate_photo",
              "translate_website",
              "translate_video",
              "hyperlocal",
              "quality_control",
              "playground",
              "cosmos",
              "blog",
              "performance_marketing",
              "content_research",
              "slate"
            ],
            "description": "Category key.",
            "examples": [
              "translate_video"
            ]
          },
          "label": {
            "type": "string",
            "description": "Category name, for display.",
            "examples": [
              "Video Dubbing"
            ]
          },
          "rates": {
            "description": "The operations in this category.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RateEntryDto"
            }
          }
        },
        "required": [
          "group",
          "label",
          "rates"
        ]
      },
      "SourceTargetLanguagesDto": {
        "type": "object",
        "properties": {
          "source": {
            "description": "Languages a video can be transcribed from. Use a `name` as `sourceLanguage`.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LanguageListItemDto"
            }
          },
          "target": {
            "description": "Languages a video can be translated and dubbed into: each has a translation provider and at least one voice type. Use a `name` in `targetLanguages`.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TargetLanguageItemDto"
            }
          }
        },
        "required": [
          "source",
          "target"
        ]
      },
      "SpeechCapabilityDto": {
        "type": "object",
        "properties": {
          "voiceTypes": {
            "description": "Speech providers for the language, per voice type. At least one voice type has a provider.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceTypeProvidersDto"
              }
            ]
          }
        },
        "required": [
          "voiceTypes"
        ]
      },
      "TargetLanguageItemDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Language key. Use it as `sourceLanguage` and in `targetLanguages` when you start a Video Dubbing job.",
            "examples": [
              "english_united_states"
            ]
          },
          "code": {
            "type": "string",
            "description": "BCP-47 code of the language. Video Dubbing endpoints take `name`, not this code.",
            "examples": [
              "en-US"
            ]
          },
          "label": {
            "type": "string",
            "description": "Language name in English, for display.",
            "examples": [
              "English (United States)"
            ]
          },
          "voiceTypes": {
            "description": "Providers your organization can dub this language with, per voice type. An empty list means that voice type is not available.",
            "allOf": [
              {
                "$ref": "#/components/schemas/VoiceTypeProvidersDto"
              }
            ]
          }
        },
        "required": [
          "name",
          "code",
          "label",
          "voiceTypes"
        ]
      },
      "TieredPricingDto": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "tiered"
            ],
            "description": "Several prices, one per tier. Tiered prices are the same for every organization.",
            "examples": [
              "tiered"
            ]
          },
          "per": {
            "type": "string",
            "description": "What each tier price is measured in.",
            "examples": [
              "1K tokens"
            ]
          },
          "tiers": {
            "description": "The prices, one per tier.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PricingTierDto"
            }
          }
        },
        "required": [
          "kind",
          "per",
          "tiers"
        ]
      },
      "UsersPaginationDto": {
        "type": "object",
        "properties": {
          "page": {
            "type": "number",
            "description": "This page number.",
            "examples": [
              1
            ]
          },
          "limit": {
            "type": "number",
            "description": "Members per page.",
            "examples": [
              10
            ]
          },
          "total": {
            "type": "number",
            "description": "Members that match your filters, on all pages.",
            "examples": [
              42
            ]
          },
          "totalPages": {
            "type": "number",
            "description": "Number of pages.",
            "examples": [
              5
            ]
          }
        },
        "required": [
          "page",
          "limit",
          "total",
          "totalPages"
        ]
      },
      "VoiceTypeProvidersDto": {
        "type": "object",
        "properties": {
          "standard": {
            "description": "Providers of standard voices for this language. Empty when standard voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "elevenlabs",
                "cartesia",
                "microsoft"
              ]
            ]
          },
          "native": {
            "description": "Providers of native voices for this language. Empty when native voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "elevenlabs"
              ]
            ]
          },
          "cloned": {
            "description": "Providers that can clone voices for this language. Empty when cloned voices are not available.",
            "type": "array",
            "items": {
              "type": "string"
            },
            "examples": [
              [
                "cartesia",
                "elevenlabs"
              ]
            ]
          }
        },
        "required": [
          "standard",
          "native",
          "cloned"
        ]
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
