Read the transcripts of the videos a task or ticket embeds
curl --request GET \ --url https://example.com/api/v1/video-transcripts \ --header 'Authorization: Bearer <token>'Returns the transcript of every Cap video embedded in a task (its description and comments) or in a ticket (its messages, internal ones included). Send exactly one of task or ticket. A video whose transcript is not ready yet is PENDING; one that will never have text is UNAVAILABLE with the reason in words. Needs tasks.view with Boards on, or tickets.view with Tickets on, and only what the caller reaches: a task or ticket outside their reach answers 404, exactly like one that does not exist. The module of the record asked for must be on, else 404 MODULE_DISABLED.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Id of the task whose videos to read. Send this or ticket, never both.
Id of the task whose videos to read. Send this or ticket, never both.
Id of the ticket whose videos to read. Send this or task, never both.
Id of the ticket whose videos to read. Send this or task, never both.
Responses
Section titled “Responses”The transcripts, empty when the record embeds no video.
object
object
One entry per video embedded in the task’s description and comments, or in the ticket’s messages, internal ones included.
object
The spoken language, when known.
Why there is no text, in words a person reads; null unless UNAVAILABLE.
Where the video is embedded: the task’s description, one of its comments, or a ticket message.
Id of the task, comment or message that embeds it.
PENDING while the transcript is being made, READY once text is available, UNAVAILABLE when there will be none.
The transcript; null unless READY.
True when text was cut at 100000 characters.
The video’s address, as it is shared.
Example
{ "data": { "transcripts": [ { "record": "task", "status": "PENDING" } ] }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC