Projects and Timelines
On this page
Projects and Timelines #
A Project keeps the versions of a Timeline, what the render engine draws from; a transcript gives a Timeline its captions. Rendering a saved version is on the Render page. /docs/render lists the operations a Timeline can use.
GET /v1/projects #
Your Projects
Key: API key · Credits: Free · Answers now
Request
curl "https://api.oneupai.com/v1/projects" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"projects": [
{
"project_id": "3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60",
"agent_slug": "oneup/render-timeline",
"current_version_id": "b7e4d2a1-5c3f-4a8e-9b6d-1f2e3c4d5a6b",
"missing_inputs": false,
"created_at": "2026-10-08T14:10:03.117Z"
}
]
}Errors: invalid_key, account_disabled, rate_limited, internal_error
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
POST /v1/projects #
Start a Project
Key: API key · Credits: Free · Answers now
Request body
| Field | Required | Type | Description |
|---|---|---|---|
agent_slug | yes | text | The render model the Project is for, for example a render model's name. |
title | no | text | Optional. Stored privately; never kept as text. |
Request
curl -X POST "https://api.oneupai.com/v1/projects" \
-H "Authorization: Bearer $ONEUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_slug": "oneup/render-timeline"
}'Response (201)
{
"project_id": "3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60"
}Errors: invalid_request, invalid_key, account_disabled, account_frozen, credit_debt, entitlement_required, plan_required, storage_quota_exceeded, payload_too_large, rate_limited, internal_error, unavailable
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 400 | invalid_request | The request is malformed or breaks the model's input rules: the body is not JSON, a field is missing, has the wrong type or is out of bounds, or the Idempotency-Key header is missing. Extra fields: detail, which names what is wrong, such as "Idempotency-Key header is required" or "input must have required property 'prompt'". | Fix the request using detail and the Alias's input_schema from GET /v1/models, then send it again. You can keep the same retry key: nothing was created. | Not charged. |
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 403 | account_frozen | The account is frozen for now, for example while a payment dispute is open. Extra fields: account_url. | See your account page. Reading your results still works. | Not charged. |
| 403 | credit_debt | You have credit debt: a payment for credits you already spent was reversed. Extra fields: account_url. | Settle it from your account page; new work is accepted again once it is paid. | Not charged. |
| 403 | entitlement_required | Your subscription has ended: it was canceled, or a payment failed and the seven days of grace have passed. Extra fields: account_url. | Renew on your account page; the same keys work again. Checking status, reading results and downloading your files still work in the meantime. | Not charged. |
| 403 | plan_required | This key belongs to an account that is no longer on an API plan, Concierge or Concierge Plus. Only keys of accounts on those plans can start work through the API. Extra fields: account_url. | Move the account back to Concierge or Concierge Plus; the key works again. | Not charged. |
| 403 | storage_quota_exceeded | Your account has reached its storage quota, so new uploads, new jobs and new Timeline versions are refused. Extra fields: account_url on most calls. | Delete assets, uploads or Projects you no longer need, or release a hold. Work you already paid for is never deleted because of this. | Not charged. |
| 413 | payload_too_large | The request body is over 1 MB. | Upload files first and send their file_url, instead of putting file contents in the body. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
| 503 | unavailable | We are not taking this kind of request for a moment: during maintenance, when a safety limit trips, or when a service we depend on is down. Extra fields: sometimes a Retry-After header, and a request_id when a service we depend on did not answer. | Wait, then send the same request with the same retry key. | Not charged; if it comes after we accepted the work, the charge is refunded. |
GET /v1/projects/{project_id} #
One Project
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
project_id | path | yes | text |
Request
curl "https://api.oneupai.com/v1/projects/3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"project_id": "3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60",
"current_version_id": "b7e4d2a1-5c3f-4a8e-9b6d-1f2e3c4d5a6b"
}Errors: invalid_key, account_disabled, not_found, rate_limited, internal_error
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
DELETE /v1/projects/{project_id} #
Delete a Project and its Timelines
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
project_id | path | yes | text |
Request
curl -X DELETE "https://api.oneupai.com/v1/projects/3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"deleted": true
}Errors: invalid_key, account_disabled, not_found, rate_limited, internal_error
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
GET /v1/projects/{project_id}/timeline #
A Project's Timeline version
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
project_id | path | yes | text | |
version | query | no | text | A version id; the current version when omitted. |
Request
curl "https://api.oneupai.com/v1/projects/3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60/timeline" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"version_id": "b7e4d2a1-5c3f-4a8e-9b6d-1f2e3c4d5a6b",
"parent_version_id": null,
"timeline_hash": "9c2f6e1a4b7d3c8e5f0a2b6d9e1c4f7a3b8d2e5c0f6a9b1d4e7c2a5f8b3d6e0c",
"segment_hashes": [
{
"seg_id": "before",
"hash": "4d1e8a2f6c3b9e7d0a5f2c8b1e4d7a9c3f6b0e2d5a8c1f4b7e9d2a6c3f0b8e5d"
},
{
"seg_id": "after",
"hash": "a3c7e1f5b9d2a6e0c4f8b2d6a0e4c8f2b6d0a4e8c2f6b0d4a8e2c6f0b4d8a2e6"
}
],
"timeline_url": "https://media.oneupai.com/a/e2b8c4a6-1d3f-4b5e-9a7c-6f0d2e4b8a1c/1791437401/kD8vN3qZ6xT1wR9mB4cL7yP2sF5hJ0gA3eU8iO1nX6t",
"created_at": "2026-10-08T14:10:05.664Z"
}Errors: invalid_key, account_disabled, not_found, rate_limited, internal_error
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
PUT /v1/projects/{project_id}/timeline #
Save a new Timeline version
Versions never change once saved. Send the parent_version_id you edited from; if someone saved first you get version_conflict and should reload.
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
project_id | path | yes | text |
Request body
| Field | Required | Type | Description |
|---|---|---|---|
timeline | yes | group | The Timeline: the edit, as JSON. See /docs/render for the operations and an example. |
parent_version_id | no | text | The version you edited from. Omit it only for the first version. |
edit_spec | no | group | Optional. Your own plan for this version, a JSON object of at most 64 KB, stored with it. |
Request
curl -X PUT "https://api.oneupai.com/v1/projects/3f6c2a9e-8b1d-4e7a-9c5f-2d8b7a1e4c60/timeline" \
-H "Authorization: Bearer $ONEUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"timeline": {
"v": "1.2",
"output": {
"aspect": "9:16",
"resolution": 1080,
"fps": 30,
"container": "mp4"
},
"segments": [
{
"id": "before",
"source": {
"$asset": "oneup_upload_4Rk8TzQ1mWc7Yp2NvLx9Bf3HsD"
},
"duration": 3000,
"effects": [
{
"op": "zoom",
"level": 1.08
}
],
"transition_out": {
"op": "seamless_spin",
"duration": 900
}
},
{
"id": "after",
"source": {
"$asset": "oneup_upload_9Jd2LqV6tHn4Xw8ZbR1cMk5PyG"
},
"duration": 5000,
"effects": [
{
"op": "zoom",
"level": 1.08
}
],
"transition_out": {
"op": "cut",
"duration": 0
}
}
]
}
}'Response (201)
{
"version_id": "b7e4d2a1-5c3f-4a8e-9b6d-1f2e3c4d5a6b",
"parent_version_id": null,
"timeline_hash": "9c2f6e1a4b7d3c8e5f0a2b6d9e1c4f7a3b8d2e5c0f6a9b1d4e7c2a5f8b3d6e0c"
}Errors: invalid_request, invalid_key, account_disabled, account_frozen, credit_debt, entitlement_required, plan_required, storage_quota_exceeded, not_found, version_conflict, payload_too_large, rate_limited, internal_error, unavailable
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 400 | invalid_request | The request is malformed or breaks the model's input rules: the body is not JSON, a field is missing, has the wrong type or is out of bounds, or the Idempotency-Key header is missing. Extra fields: detail, which names what is wrong, such as "Idempotency-Key header is required" or "input must have required property 'prompt'". | Fix the request using detail and the Alias's input_schema from GET /v1/models, then send it again. You can keep the same retry key: nothing was created. | Not charged. |
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 403 | account_frozen | The account is frozen for now, for example while a payment dispute is open. Extra fields: account_url. | See your account page. Reading your results still works. | Not charged. |
| 403 | credit_debt | You have credit debt: a payment for credits you already spent was reversed. Extra fields: account_url. | Settle it from your account page; new work is accepted again once it is paid. | Not charged. |
| 403 | entitlement_required | Your subscription has ended: it was canceled, or a payment failed and the seven days of grace have passed. Extra fields: account_url. | Renew on your account page; the same keys work again. Checking status, reading results and downloading your files still work in the meantime. | Not charged. |
| 403 | plan_required | This key belongs to an account that is no longer on an API plan, Concierge or Concierge Plus. Only keys of accounts on those plans can start work through the API. Extra fields: account_url. | Move the account back to Concierge or Concierge Plus; the key works again. | Not charged. |
| 403 | storage_quota_exceeded | Your account has reached its storage quota, so new uploads, new jobs and new Timeline versions are refused. Extra fields: account_url on most calls. | Delete assets, uploads or Projects you no longer need, or release a hold. Work you already paid for is never deleted because of this. | Not charged. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 409 | version_conflict | Someone saved a newer version of this Project's Timeline before you. Extra fields: current_version, the newest version's id. | Read the newest version with GET /v1/projects/{project_id}/timeline, apply your change to it, and send it with parent_version_id set to current_version. | Not charged; saving a Timeline is free. |
| 413 | payload_too_large | The request body is over 1 MB. | Upload files first and send their file_url, instead of putting file contents in the body. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
| 503 | unavailable | We are not taking this kind of request for a moment: during maintenance, when a safety limit trips, or when a service we depend on is down. Extra fields: sometimes a Retry-After header, and a request_id when a service we depend on did not answer. | Wait, then send the same request with the same retry key. | Not charged; if it comes after we accepted the work, the charge is refunded. |
POST /v1/transcripts #
Upload a word-timed transcript for captions
Key: API key · Credits: Free · Answers now
Request body
| Field | Required | Type | Description |
|---|---|---|---|
words | yes | list | |
words[].text | yes | text, 1–64 characters | |
words[].from | yes | whole number, 0–… | Milliseconds. |
words[].to | yes | whole number, 0–… | Milliseconds, not before from. |
words[].speaker | no | text, 1–32 characters |
Request
curl -X POST "https://api.oneupai.com/v1/transcripts" \
-H "Authorization: Bearer $ONEUP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"words": [
{
"text": "Welcome",
"from": 0,
"to": 420
},
{
"text": "home.",
"from": 420,
"to": 900
},
{
"text": "Three",
"from": 1100,
"to": 1420
},
{
"text": "bedrooms.",
"from": 1420,
"to": 2050
}
]
}'Response (201)
{
"annotation_id": "5a1d7c3e-2b9f-4e6a-8d4c-7f1b3e5a9c20",
"words": 4,
"bytes": 167
}Errors: invalid_request, invalid_key, account_disabled, account_frozen, credit_debt, entitlement_required, plan_required, storage_quota_exceeded, payload_too_large, rate_limited, internal_error, unavailable
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 400 | invalid_request | The request is malformed or breaks the model's input rules: the body is not JSON, a field is missing, has the wrong type or is out of bounds, or the Idempotency-Key header is missing. Extra fields: detail, which names what is wrong, such as "Idempotency-Key header is required" or "input must have required property 'prompt'". | Fix the request using detail and the Alias's input_schema from GET /v1/models, then send it again. You can keep the same retry key: nothing was created. | Not charged. |
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 403 | account_frozen | The account is frozen for now, for example while a payment dispute is open. Extra fields: account_url. | See your account page. Reading your results still works. | Not charged. |
| 403 | credit_debt | You have credit debt: a payment for credits you already spent was reversed. Extra fields: account_url. | Settle it from your account page; new work is accepted again once it is paid. | Not charged. |
| 403 | entitlement_required | Your subscription has ended: it was canceled, or a payment failed and the seven days of grace have passed. Extra fields: account_url. | Renew on your account page; the same keys work again. Checking status, reading results and downloading your files still work in the meantime. | Not charged. |
| 403 | plan_required | This key belongs to an account that is no longer on an API plan, Concierge or Concierge Plus. Only keys of accounts on those plans can start work through the API. Extra fields: account_url. | Move the account back to Concierge or Concierge Plus; the key works again. | Not charged. |
| 403 | storage_quota_exceeded | Your account has reached its storage quota, so new uploads, new jobs and new Timeline versions are refused. Extra fields: account_url on most calls. | Delete assets, uploads or Projects you no longer need, or release a hold. Work you already paid for is never deleted because of this. | Not charged. |
| 413 | payload_too_large | The request body is over 1 MB. | Upload files first and send their file_url, instead of putting file contents in the body. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
| 503 | unavailable | We are not taking this kind of request for a moment: during maintenance, when a safety limit trips, or when a service we depend on is down. Extra fields: sometimes a Retry-After header, and a request_id when a service we depend on did not answer. | Wait, then send the same request with the same retry key. | Not charged; if it comes after we accepted the work, the charge is refunded. |
GET /v1/transcripts/{annotation_id} #
Read a transcript
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
annotation_id | path | yes | text |
Request
curl "https://api.oneupai.com/v1/transcripts/5a1d7c3e-2b9f-4e6a-8d4c-7f1b3e5a9c20" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"annotation_id": "5a1d7c3e-2b9f-4e6a-8d4c-7f1b3e5a9c20",
"words": [
{
"text": "Welcome",
"from": 0,
"to": 420
},
{
"text": "home.",
"from": 420,
"to": 900
},
{
"text": "Three",
"from": 1100,
"to": 1420
},
{
"text": "bedrooms.",
"from": 1420,
"to": 2050
}
]
}Errors: invalid_key, account_disabled, not_found, rate_limited, internal_error, unavailable
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |
| 503 | unavailable | We are not taking this kind of request for a moment: during maintenance, when a safety limit trips, or when a service we depend on is down. Extra fields: sometimes a Retry-After header, and a request_id when a service we depend on did not answer. | Wait, then send the same request with the same retry key. | Not charged; if it comes after we accepted the work, the charge is refunded. |
DELETE /v1/transcripts/{annotation_id} #
Delete a transcript
Key: API key · Credits: Free · Answers now
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
annotation_id | path | yes | text |
Request
curl -X DELETE "https://api.oneupai.com/v1/transcripts/5a1d7c3e-2b9f-4e6a-8d4c-7f1b3e5a9c20" \
-H "Authorization: Bearer $ONEUP_API_KEY"Response (200)
{
"deleted": true
}Errors: invalid_key, account_disabled, not_found, rate_limited, internal_error
| HTTP | Code | What happened | What to do | Credits |
|---|---|---|---|---|
| 401 | invalid_key | The API key is missing, mistyped, revoked, or past the overlap after a rotation. The answer is the same in every case. | Send Authorization: Bearer oneup_live_… with a current key. You can make a new key on your account page. | Not charged. |
| 403 | account_disabled | The account is disabled: its sign-in was removed or blocked. Every key and session of the account answers this. | Write to video@oneupai.com. | Not charged. The account's credits stay. |
| 404 | not_found | What you asked for, such as a ticket, an asset, an upload, a Project or a render, does not exist or is not yours. The answer is the same either way. Extra fields: two cases add one. Asking GET /v1/queue/result/{ticket} before the work is COMPLETED answers not_found with status, the current status. Keep asking for the status, then fetch the result. A render whose Timeline names files that are not yours, or not ready, answers not_found with missing_inputs, the ids it could not use. | Check the id, and that it was made with a key of this account. | Not charged. |
| 429 | rate_limited | You sent requests faster than your plan's rate limit, reached a limit a feature counts on its own, or have two Previews running already. The daily credit limit has its own code, daily_limit_reached. Extra fields: the Retry-After header, in seconds. | Wait that long, then send the same request with the same retry key. | Not charged. |
| 500 | internal_error | Something went wrong on our side that we did not expect. The answer says nothing about the cause. Extra fields: request_id, the same id as the x-request-id header. It names the exact request in our logs. | Send the same request again with the same retry key. If it keeps failing, send us the request_id. | Never charged twice. If we accepted the work before the failure, the same retry key returns it instead of charging again. |