audivo-dev Data API

Dashboard-JWT portable export and account deletion.

Operations 2

POST /v1/data/export Export the account's portable data #
DELETE /v1/data Delete the account and account-linked data #

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for apis

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

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/audivo-dev:audivo-dev-data-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

audivo-dev-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Audivo Data API
  version: 0.16.0
  description: 'The Audivo API turns a public podcast episode into a clean, timed transcript. Name an episode by an Apple Podcasts link, by its RSS feed URL and GUID, by the episode id an earlier answer gave you, or by an upload of audio you hold; get back structured, timed text — at once for an episode already transcribed, or as a job you poll for fresh audio. One call does it: `POST /v1/transcripts`. Quotes are for pricing a selection of many episodes before confirming it.


    Two authentication schemes, and which an operation takes is part of what it is: `apiKeyBearer` — an `hk_live_` key sent as `Authorization: Bearer` — authenticates the public API, and `dashboardJwt` authenticates the dashboard''s own operations. No operation that takes one accepts the other in its place. An API-key caller reads its balance and reservations from any quote response.


    The hosted MCP server at `/mcp` and the OAuth 2.1 endpoints that connect an assistant to it — `/.well-known/oauth-protected-resource`, `/.well-known/oauth-authorization-server`, and `/oauth/authorize`, `/oauth/token`, `/oauth/register`, `/oauth/revoke` — are protocol transports on the same host, not contract operations: an MCP client discovers and describes them from those two metadata documents (RFC 9728, RFC 8414), and they are documented with the MCP server. Their access tokens are checked by the same authorizer as an API key and metered by the same plan; the consent they need is two dashboard operations below, under **Connected Apps**.


    Deferred on purpose, and absent from this document rather than hidden: webhooks, subscriptions, speaker labels beyond the frozen `diarized: false` shape, custom vocabulary, caller-selected engines, raw-audio URLs, SDKs, translation, and cross-corpus search. What changed in each version is on the documentation site''s changelog.'
  license:
    name: Proprietary
    url: https://docs.audivo.dev/legal/terms
servers:
- url: https://api.audivo.dev
  description: Production API. Append the operation path, including /v1.
tags:
- name: Data
  description: Dashboard-JWT portable export and account deletion.
paths:
  /v1/data/export:
    post:
      operationId: exportAccountData
      tags:
      - Data
      summary: Export the account's portable data
      security:
      - dashboardJwt: []
      description: 'Generates the paid-beta account export and returns an expiring download.


        The document holds the account''s own record — its profile, its API key *metadata* (never a secret, which is not stored), its credit lots, its ledger events and its request log — read through the same access patterns the dashboard''s own pages read, so it introduces no view of an account that did not already exist.


        `download_url` is a presigned URL to a private object and is the only thing that can reach it: the bucket blocks public access, the object carries no ACL, and the signature expires in **minutes**, not the 24 hours an oversized transcript''s delivery URL is given. The whole of an account''s record is a different object from one episode''s transcript, and it is treated as one. Past `expires_at` the link is refused, and the object itself is expired by a lifecycle rule shortly after; ask again to get a fresh one.


        Refused on an account that is being deleted or is deleted: the records retained after a deletion are kept to answer a refund or a dispute, not to be read back by a session that outlived the account.'
      responses:
        '200':
          description: An expiring download link for the export.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataExportResponse'
              examples:
                export:
                  $ref: '#/components/examples/DataExportExample'
        '401':
          $ref: '#/components/responses/UnauthorizedDashboard'
        '409':
          $ref: '#/components/responses/ConflictAccountStateDashboard'
        '429':
          $ref: '#/components/responses/TooManyRequestsDashboard'
        '500':
          $ref: '#/components/responses/InternalErrorDashboard'
  /v1/data:
    delete:
      operationId: deleteAccountData
      tags:
      - Data
      summary: Delete the account and account-linked data
      security:
      - dashboardJwt: []
      description: 'Revokes access and deletes account-linked data under the disclosed retention/shared-cache policy. Does not promise deletion of a shared public-podcast cache object still used by other accounts.


        **Every API key is revoked before anything is removed**, and the account''s API Gateway key is deleted with them, so no credential outlives the records it could have reached. The dashboard sign-in is deleted too, which is what makes the same address able to sign up again — as a new account, with no free grant, because the marker that fences one grant per address is a keyed hash that names nobody and survives.


        **Unspent paid credits are forfeited.** The credit lots and the ledger events are retained so a refund or a payment dispute can still be answered, and they stay keyed to the deleted account: a later signup derives a new account id from a new sign-in identity and can never reach them. Refund an unused balance *before* deleting if you want it back.


        Idempotent: deleting an account that is already deleted returns the same receipt rather than an error, and a deletion interrupted part way is finished by calling again.'
      responses:
        '200':
          description: The deletion receipt.
          headers:
            X-Request-Id:
              $ref: '#/components/headers/XRequestId'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataDeletionReceipt'
              examples:
                receipt:
                  $ref: '#/components/examples/DataDeletionExample'
        '400':
          $ref: '#/components/responses/BadRequestDashboard'
        '401':
          $ref: '#/components/responses/UnauthorizedDashboard'
        '409':
          $ref: '#/components/responses/ConflictAccountStateDashboard'
        '429':
          $ref: '#/components/responses/TooManyRequestsDashboard'
        '500':
          $ref: '#/components/responses/InternalErrorDashboard'
components:
  responses:
    UnauthorizedDashboard:
      description: 'Code `unauthenticated` — the Cognito JWT is missing, malformed, expired, or was rejected. An API key presented to one of the operations that declare this response lands here too: they take a session and nothing else, and that is an authentication failure, not an authorization one. That includes `GET /v1/usage` and `GET /v1/limits`, which are served by the control-plane API alone.'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequestsDashboard:
      description: Code `rate_limited`, e.g. plan-change rate limiting.
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequestDashboard:
      description: 'Code: `invalid_request`.'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ConflictAccountStateDashboard:
      description: 'The account''s own state refuses this write. Codes: `account_suspended`, `account_closed`, or `account_not_found`. The same three `ConflictApiKeyCreate` declares, without the key-specific one — a separate component so no operation tells its callers about a refusal it cannot produce.'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalErrorDashboard:
      description: 'Code `internal_error` — a call on our side failed and nothing was changed. On `POST /v1/session` this is what an unreachable identity service or an unreadable configuration answers with, deliberately rather than `401`: the session is not the problem, and telling a signed-in customer their token is bad during an outage of ours sends them into a sign-in loop. Retryable; `request_id` is what identifies it in our logs.'
      headers:
        X-Request-Id:
          $ref: '#/components/headers/XRequestId'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    XRequestId:
      description: Echoed on every response, success or error. A refusal generated at the edge (401, 429, and the unmetered-key 500) carries API Gateway's own hyphenated request id after the `req_` prefix; a response from a function carries the same id without hyphens.
      schema:
        type: string
        pattern: ^req_[A-Za-z0-9-]+$
        maxLength: 100
    RetryAfter:
      description: Seconds to wait before retrying. Sent with the edge's `rate_limited` throttle refusal. Not sent with `concurrency_limited`, which clears when one of the account's own jobs reaches a terminal state — a moment the API cannot put a number on.
      schema:
        type: integer
        minimum: 0
  schemas:
    RequestId:
      type: string
      pattern: ^req_[A-Za-z0-9-]+$
      maxLength: 100
    DataExportResponse:
      type: object
      additionalProperties: false
      required:
      - download_url
      - expires_at
      properties:
        download_url:
          type: string
          format: uri
          maxLength: 2048
        expires_at:
          type: string
          format: date-time
    ErrorType:
      type: string
      enum:
      - invalid_request
      - unprocessable_input
      - unauthenticated
      - conflict
      - not_found
      - content_blocked
      - payment_required
      - rate_limited
      - unavailable
      description: 'The family an error belongs to, for handling; `code` is the precise reason. `invalid_request`: something in the request is wrong — fix the integration. `unprocessable_input`: the request is well-formed but the episode or resource is outside published support. `unauthenticated`: missing, malformed, revoked or expired credential. `payment_required`: the account''s credits cannot cover the ceiling. `conflict`: the resource''s or the account''s state refuses this request as sent — a lapsed quote, a reused idempotency key, a held account. `not_found`: the job, quote, group or key the request named does not exist for this account. `rate_limited`: over a plan limit; wait and retry. `unavailable`: a failure on our side or at a provider; retry, and quote `request_id` if it persists.'
    Error:
      type: object
      additionalProperties: false
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
    RetainedRecord:
      type: object
      additionalProperties: false
      required:
      - category
      - reason
      properties:
        category:
          type: string
          minLength: 1
          maxLength: 60
        reason:
          type: string
          minLength: 1
          maxLength: 300
        expires_at:
          $ref: '#/components/schemas/NullableDateTime'
    ErrorDetail:
      type: object
      additionalProperties: false
      required:
      - type
      - code
      - message
      - doc_url
      - request_id
      - retryable
      properties:
        type:
          $ref: '#/components/schemas/ErrorType'
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          minLength: 1
          maxLength: 1000
        doc_url:
          type: string
          format: uri
          maxLength: 300
        request_id:
          $ref: '#/components/schemas/RequestId'
        retryable:
          type: boolean
      oneOf:
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - invalid_request
            - invalid_url
            - source_not_supported
            - unsafe_source
          type:
            const: invalid_request
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - duration_exceeded
            - size_exceeded
            - unsupported_codec
            - unsupported_language
            - credits_not_refundable
            - upload_mismatch
            - max_credits_exceeded
          type:
            const: unprocessable_input
      - required:
        - code
        - type
        properties:
          code:
            const: unauthenticated
          type:
            const: unauthenticated
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - idempotency_conflict
            - job_not_completed
            - quote_expired
            - quote_mismatch
            - quote_unverified
            - expected_total_mismatch
            - request_in_progress
            - account_suspended
            - account_closed
            - account_not_found
            - api_key_limit_reached
            - tier_unchanged
            - upload_not_received
          type:
            const: conflict
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - feed_dead
            - episode_not_found
            - show_not_found
            - job_not_found
            - quote_not_found
            - group_not_found
            - api_key_not_found
            - credit_lot_not_found
            - upload_not_found
            - oauth_request_not_found
            - connected_app_not_found
          type:
            const: not_found
      - required:
        - code
        - type
        properties:
          code:
            const: content_blocked
          type:
            const: content_blocked
      - required:
        - code
        - type
        properties:
          code:
            const: payment_required
          type:
            const: payment_required
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - rate_limited
            - concurrency_limited
            - upload_quota_exceeded
          type:
            const: rate_limited
      - required:
        - code
        - type
        properties:
          code:
            enum:
            - engine_unavailable
            - processing_failed
            - discovery_unavailable
            - internal_error
          type:
            const: unavailable
      - required:
        - code
        - type
        properties:
          code:
            const: nothing_to_quote
          type:
            const: unprocessable_input
    DataDeletionReceipt:
      type: object
      additionalProperties: false
      required:
      - removed_categories
      - retained_records
      - shared_cache_note
      description: Lists removed categories, retained legal/fraud records with expiry/reason, and shared public-cache objects not deleted because they are not account-owned.
      properties:
        removed_categories:
          type: array
          maxItems: 50
          items:
            type: string
            minLength: 1
            maxLength: 60
        retained_records:
          type: array
          maxItems: 50
          items:
            $ref: '#/components/schemas/RetainedRecord'
        shared_cache_note:
          type: string
          minLength: 1
          maxLength: 1000
    ErrorCode:
      type: string
      enum:
      - invalid_request
      - invalid_url
      - unauthenticated
      - idempotency_conflict
      - job_not_completed
      - source_not_supported
      - feed_dead
      - episode_not_found
      - show_not_found
      - unsafe_source
      - unsupported_codec
      - unsupported_language
      - duration_exceeded
      - size_exceeded
      - content_blocked
      - payment_required
      - rate_limited
      - concurrency_limited
      - job_not_found
      - api_key_not_found
      - api_key_limit_reached
      - credit_lot_not_found
      - credits_not_refundable
      - engine_unavailable
      - processing_failed
      - discovery_unavailable
      - nothing_to_quote
      - internal_error
      - quote_not_found
      - group_not_found
      - quote_expired
      - quote_mismatch
      - quote_unverified
      - expected_total_mismatch
      - request_in_progress
      - account_suspended
      - account_closed
      - account_not_found
      - tier_unchanged
      - upload_quota_exceeded
      - upload_not_found
      - upload_not_received
      - upload_mismatch
      - max_credits_exceeded
      - oauth_request_not_found
      - connected_app_not_found
      description: Every code the API returns, and the HTTP status it comes with. `invalid_request`, `invalid_url` → 400. `unauthenticated` → 401. `payment_required` → 402. `job_not_found`, `quote_not_found`, `group_not_found`, `api_key_not_found`, `credit_lot_not_found`, `upload_not_found`, `oauth_request_not_found`, `connected_app_not_found` → 404. `idempotency_conflict`, `request_in_progress`, `job_not_completed`, `quote_expired`, `quote_mismatch`, `quote_unverified`, `expected_total_mismatch`, `account_suspended`, `account_closed`, `account_not_found`, `api_key_limit_reached`, `tier_unchanged`, `upload_not_received` → 409; `upload_not_received` is retryable once the file's PUT has landed. `source_not_supported`, `feed_dead`, `episode_not_found`, `show_not_found`, `unsafe_source`, `unsupported_codec`, `unsupported_language`, `duration_exceeded`, `size_exceeded`, `nothing_to_quote`, `credits_not_refundable`, `upload_mismatch`, `max_credits_exceeded` → 422. `content_blocked` → 451. `rate_limited`, `concurrency_limited`, `upload_quota_exceeded` → 429; `upload_quota_exceeded` is retryable, at the earliest capacity return time its message names. `internal_error`, `processing_failed` → 500. `discovery_unavailable`, `engine_unavailable` → 503. `processing_failed` also appears inside a failed job's `error` field rather than as a live status. Each code has a heading on the documentation site's errors page, which is what `doc_url` links to.
    NullableDateTime:
      description: An ISO 8601 timestamp, or `null`.
      anyOf:
      - type: string
        format: date-time
      - enum:
        - null
  examples:
    DataExportExample:
      summary: An expiring export download
      value:
        download_url: https://cdn.audivo.dev/exports/acct_123/export.zip?sig=abc
        expires_at: '2026-08-29T09:00:00Z'
    DataDeletionExample:
      summary: A deletion receipt
      value:
        removed_categories:
        - account_profile
        - api_keys
        - jobs
        - usage_ledger
        - preferences
        retained_records:
        - category: tax_invoice_records
          reason: Retained for statutory tax/accounting record-keeping.
          expires_at: '2033-08-28T00:00:00Z'
        shared_cache_note: Shared public-podcast cache transcripts referenced by other accounts are not deleted; they are not account-owned data.
  securitySchemes:
    apiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: hk_live_... or hk_test_...
      description: '`Authorization: Bearer hk_live_...` for live keys or `Authorization: Bearer hk_test_...` for test-mode keys. `hk_test_` keys resolve real public catalog metadata but return deterministic committed fixtures, never call inference, and never mutate live credits. This is the *only* transport for the credential: the `x-api-key` alias once documented was removed in 0.2.0, because the edge authorizer reads `Authorization` as its single identity source and a request on any other header is refused before it is authenticated.


        Never accepted on a `dashboardJwt` operation, and there are no exceptions. `GET /v1/usage` and `GET /v1/limits` briefly declared both schemes (0.8.0); that was withdrawn in 0.8.1 because no deployed route could honor it — both operations are served by the control-plane API, whose authorizer verifies a Cognito token and refuses an `hk_live_` credential on shape, and the customer API does not route either path. An API-key holder reads its balance and reservation from `QuoteResponse`, which carries `balance_credits` and `reserved_credits` on every quote. Every operation in this document takes one scheme or the other and refuses the wrong one as `unauthenticated`.'
    dashboardJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'A Cognito access token, issued through the dashboard''s own sign-up and sign-in pages (a backend-for-frontend; there is no Cognito Hosted UI) and sent as `Authorization: Bearer <jwt>`. Dashboard operations require this scheme and cannot be called with an API key, with no exception. `GET /v1/usage` and `GET /v1/limits` offered both schemes from 0.8.0; 0.8.1 withdrew that, because the control-plane API serves them alone and its authorizer has no API-key branch. An `account_id` supplied by the client is ignored; all reads/writes are scoped server-side to the authenticated account.'