This page describes how to perform common operations with the REST API
https://api.assemblyai.com
<YOUR_API_KEY>
, that you need to replace with your actual API key.2xx
indicates the request was successful.4xx
indicates the request may have omitted a required parameter, or have invalid information.5xx
indicates an error on AssemblyAI’s end.Code | Status | Description |
---|---|---|
200 | OK | Request was successful. |
400 | Bad request | The request failed due to an invalid request. |
401 | Unauthorized | Missing or invalid API key. |
404 | Not found | The requested resource doesn’t exist. |
429 | Too many requests | Too many request were sent to the API. See Rate limits for more information. |
500, 503, 504 | Server error | Something went wrong on AssemblyAI’s end. |
200
code, along with status
set to error
and an error
property with more details.
Failed transcription
429
status code.
To see your remaining quota, check the following response headers:
Header | Description |
---|---|
X-RateLimit-Limit | Maximum number of allowed requests in a 60 second window. |
X-RateLimit-Remaining | Number of remaining requests in the current time window. |
X-RateLimit-Reset | Number of seconds until the remaining requests resets to the value of X-RateLimit-Limit . |
X-RateLimit
headers, the endpoint doesn’t have rate limits.
page_details
JSON object with information about the results and links to navigate between pages.
Property | Description |
---|---|
page_details[i].limit | Maximum number of resources in a page. |
page_details[i].result_count | Total number of available resources. |
page_details[i].current_url | URL to the current page. |
page_details[i].prev_url | URL to the previous page. |
page_details[i].next_url | URL to the next page. |
/v2
.