Nopaque Limited · Schema

CreateAudioUploadUrlRequest

Request body for `POST /audio/upload-url`. The server creates the metadata record up-front and returns a presigned PUT URL — the client uploads the bytes directly to S3 outside this API (no body forwarded through the gateway).

Voice TestingIVR TestingComplianceFinancial ServicesLoad Testing

Properties

Name Type Description
filename string Client-supplied filename. Will be sanitised before forming the S3 key.
contentType string MIME type of the upload. WAV or MP3 only. Matching is case-insensitive and MIME parameters (e.g. `; charset=binary`) are ignored. The value you send is signed into the presigned URL, so the PUT must s
category object
associatedId string Optional owning entity id (e.g. a test run id). Defaults to a new uuid when omitted. Sanitised when used in the S3 key; stored verbatim on the metadata row.
durationSecs number Optional declared duration in seconds. Stored on the metadata row.
sizeBytes integer Required. The exact size of the file in bytes (maximum 52428800, 50 MB). Stored on the metadata row and signed into the presigned URL as `Content-Length`, so the PUT body must be exactly this many byt
metadata object Arbitrary client-supplied metadata stored alongside the audio row.
View JSON Schema on GitHub

JSON Schema

nopaque-co-uk-create-audio-upload-url-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-create-audio-upload-url-request-schema.json",
  "title": "CreateAudioUploadUrlRequest",
  "description": "Request body for `POST /audio/upload-url`. The server creates the metadata\nrecord up-front and returns a presigned PUT URL — the client uploads the bytes\ndirectly to S3 outside this API (no body forwarded through the gateway).\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-audio-api-openapi.yml#/components/schemas/CreateAudioUploadUrlRequest",
  "type": "object",
  "required": [
    "filename",
    "contentType",
    "category",
    "sizeBytes"
  ],
  "properties": {
    "filename": {
      "type": "string",
      "maxLength": 255,
      "description": "Client-supplied filename. Will be sanitised before forming the S3 key."
    },
    "contentType": {
      "type": "string",
      "enum": [
        "audio/wav",
        "audio/x-wav",
        "audio/wave",
        "audio/vnd.wave",
        "audio/mpeg",
        "audio/mp3"
      ],
      "description": "MIME type of the upload. WAV or MP3 only. Matching is case-insensitive and MIME\nparameters (e.g. `; charset=binary`) are ignored. The value you send is signed\ninto the presigned URL, so the PUT must send exactly this `Content-Type` string.\n"
    },
    "category": {
      "$ref": "#/$defs/AudioCategory"
    },
    "associatedId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Optional owning entity id (e.g. a test run id). Defaults to a new uuid when omitted.\nSanitised when used in the S3 key; stored verbatim on the metadata row.\n"
    },
    "durationSecs": {
      "type": "number",
      "description": "Optional declared duration in seconds. Stored on the metadata row."
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 52428800,
      "description": "Required. The exact size of the file in bytes (maximum 52428800, 50 MB). Stored on\nthe metadata row and signed into the presigned URL as `Content-Length`, so the PUT\nbody must be exactly this many bytes.\n"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true,
      "description": "Arbitrary client-supplied metadata stored alongside the audio row."
    }
  },
  "$defs": {
    "AudioCategory": {
      "type": "string",
      "enum": [
        "test",
        "map",
        "voice",
        "transcript"
      ],
      "description": "Bucket used by the upload-URL handler to derive the S3 key. Audio files\nfor test runs live under `tests/`, mapping recordings under `maps/`, voice\nprofiles under `voices/`, and transcript audio under `transcripts/`.\n"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/nopaque-co-uk-create-audio-upload-url-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

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

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