{"openapi":"3.1.0","info":{"title":"Soundfish HTTP API","version":"v1","summary":"Private-alpha audio-to-MIDI plus the public capability document.","description":"Soundfish compositions are self-contained URL fragments and local CLI operations, not an unauthenticated HTTP mutation API. This description covers the existing Next.js HTTP façade only. GET /api/v1/capabilities is the public, cacheable capability document. Upload and job routes are a private-alpha bearer-token surface for audio-to-MIDI. Raw audio bytes bypass Next.js. Artifact download lives on the Convex site URL returned by those routes. Suite Accounts library and sign-in routes are session-bound browser bridges and are not a public agent API. See https://sound.fish/docs/api.md for the document, MusicCID, and CLI contract."},"servers":[{"url":"https://sound.fish","description":"Canonical Soundfish origin"}],"tags":[{"name":"Capabilities","description":"Public private-alpha feature disclosure."},{"name":"Audio jobs","description":"Bearer-authenticated private-alpha audio-to-MIDI."}],"paths":{"/api/v1/capabilities":{"get":{"operationId":"getAudioCapabilities","tags":["Capabilities"],"summary":"Read the private-alpha audio capability document","description":"Returns the provider-neutral capability document: allowed tasks, upload ceilings, and artifact retention. No authentication.","responses":{"200":{"description":"Capability document.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["apiVersion","access","tasks","upload","artifact"],"properties":{"apiVersion":{"type":"string","const":"v1"},"access":{"type":"string","const":"private_alpha"},"tasks":{"type":"array","items":{"type":"object"}},"upload":{"type":"object","properties":{"maxBytes":{"type":"integer","const":19922944},"maxDurationSeconds":{"type":"integer"}}},"artifact":{"type":"object","properties":{"maxBytes":{"type":"integer","const":16777216}}}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/api/v1/uploads/audio":{"post":{"operationId":"createAudioUploadIntent","tags":["Audio jobs"],"summary":"Create an audio upload intent","description":"Creates a private-alpha upload intent. The returned upload URL receives raw bytes on the Convex site, not through Next.js.","security":[{"bearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["contentType","byteLength","rightsAcknowledged","thirdPartyProcessingAcknowledged"],"properties":{"contentType":{"type":"string"},"byteLength":{"type":"integer","exclusiveMinimum":0},"expectedSha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"rightsAcknowledged":{"type":"boolean","const":true},"thirdPartyProcessingAcknowledged":{"type":"boolean","const":true}}}}}},"responses":{"201":{"description":"Upload intent created.","content":{"application/json":{"schema":{"type":"object","required":["uploadId","state","upload"],"properties":{"uploadId":{"type":"string","pattern":"^upl_[0-9a-f]{32}$"},"state":{"type":"string"},"upload":{"type":"object","properties":{"method":{"type":"string","const":"POST"},"url":{"type":"string","format":"uri"}}}}}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/api/v1/uploads/audio/{uploadId}":{"get":{"operationId":"getAudioUpload","tags":["Audio jobs"],"summary":"Read an audio upload intent","description":"Returns the current private-alpha upload state. Does not accept raw audio bytes.","security":[{"bearerAuth":[]}],"parameters":[{"name":"uploadId","in":"path","required":true,"description":"Opaque upload identifier.","schema":{"type":"string","pattern":"^upl_[0-9a-f]{32}$"}}],"responses":{"200":{"description":"Upload status.","content":{"application/json":{"schema":{"type":"object","required":["uploadId","state"],"properties":{"uploadId":{"type":"string"},"state":{"type":"string"},"failureCode":{"type":"string"}}}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/api/v1/jobs":{"get":{"operationId":"listAudioJobs","tags":["Audio jobs"],"summary":"List private-alpha audio jobs","description":"Lists the caller's audio-to-MIDI jobs. Cursor pagination uses `limit` (1–100) and an opaque `cursor`.","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"description":"Page size from 1 to 100. Defaults to 25.","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"cursor","in":"query","required":false,"description":"Opaque continuation cursor from a previous page.","schema":{"type":"string","minLength":1,"maxLength":2048}}],"responses":{"200":{"description":"Job page.","content":{"application/json":{"schema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","items":{"type":"object"}},"nextCursor":{"type":"string","nullable":true}}}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}},"post":{"operationId":"createAudioJob","tags":["Audio jobs"],"summary":"Create a private-alpha transcription job","description":"Starts one auto-profile MIDI transcription job. Requires Idempotency-Key. The private alpha accepts exactly one MIDI output.","security":[{"bearerAuth":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"8–255 character idempotency key.","schema":{"type":"string","minLength":8,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["uploadId","task"],"properties":{"uploadId":{"type":"string","pattern":"^upl_[0-9a-f]{32}$"},"task":{"type":"object","required":["type","profile","outputs"],"properties":{"type":{"type":"string","const":"transcription"},"profile":{"type":"string","const":"auto"},"outputs":{"type":"array","minItems":1,"maxItems":1,"items":{"type":"string","enum":["performance_midi","quantized_midi"]}}}},"metadata":{"type":"object","properties":{"title":{"type":"string"},"composer":{"type":"string"}}}}}}}},"responses":{"200":{"description":"Idempotent replay of an existing job.","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"Job accepted.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}}},"/api/v1/jobs/{jobId}":{"get":{"operationId":"getAudioJob","tags":["Audio jobs"],"summary":"Read a private-alpha audio job","description":"Returns the current job status. Does not mutate a Soundfish composition URL.","security":[{"bearerAuth":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Opaque job identifier.","schema":{"type":"string","pattern":"^job_[0-9a-f]{32}$"}}],"responses":{"200":{"description":"Job status.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}},"delete":{"operationId":"deleteAudioJob","tags":["Audio jobs"],"summary":"Delete a private-alpha audio job","description":"Schedules deletion of a job and its artifacts. Does not change a composition URL.","security":[{"bearerAuth":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Opaque job identifier.","schema":{"type":"string","pattern":"^job_[0-9a-f]{32}$"}}],"responses":{"200":{"description":"Deletion accepted.","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"401":{"description":"Missing or rejected private-alpha bearer token.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"404":{"description":"The upload or job does not exist.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"422":{"description":"The audio or job request is unsupported.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"429":{"description":"Rate limited.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}},"503":{"description":"The private-alpha audio service is unavailable.","content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Private-alpha audio-job bearer token forwarded to Convex. This is not an OAuth authorization-code flow and is not used for composition edits."}},"schemas":{"AudioJobsError":{"type":"object","additionalProperties":false,"required":["error","requestId"],"properties":{"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","minimum":1}}},"hint":{"type":"string"},"requestId":{"type":"string"}}},"UnknownApiProblem":{"type":"object","additionalProperties":false,"required":["type","title","status","detail","code","hint","error"],"properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"code":{"type":"string"},"hint":{"type":"string"},"error":{"type":"object","additionalProperties":false,"required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}