Skip to main content

Push New Action to Transcription Request

Endpoint Overview

Endpoint:
POST /api/companies/{companyCuid}/orchestrators/{orchestratorCuid}/transcriptionRequests/{processCuid}/action

This endpoint allows you to dynamically push a new action to an existing transcription process. Actions are appended to the process pipeline and executed sequentially.

Once pushed, the new action will be associated with the process. To monitor its status and retrieve the result, use the Get transcription results endpoint.


Path Parameters

ParameterDescriptionTypeRequiredExample
companyCuidUnique identifier of the companyStringYescmp_abc123
orchestratorCuidUnique identifier of the orchestratorStringYesorc_def456
processCuidUnique identifier of the transcription jobStringYesproc_789ghi

Request Body

FieldDescriptionTypeRequiredExample
action_typeType of action to perform (e.g. factual_summary)StringYes"factual_summary"
webhookWebhook to call with the result when the action finishesStringNo"https://example.com/my/webhook"
external_metadataOptional metadata (conversation ID, source, etc.)ObjectNo{ "conversation_id": "xyz", "source": "ui" }

Example

{
"action_type": "factual_summary",
"webhook": "https://example.com/my/webhook",
"external_metadata": {
"conversation_id": "xyz-1234",
"source": "user-interface"
}
}

Response

On success, the server returns the newly added action as part of the response.

FieldDescriptionType
action_typeType of the action addedString
statusInitial status of the action (pending)String
created_atTimestamp when the action was createdDateTime
webhookWebhook URL provided for this actionString
external_metadataExternal metadata passed in the requestObject

Example Response

{
"action_type": "factual_summary",
"status": "pending",
"created_at": "2025-04-04T10:15:00Z",
"webhook": "https://example.com/my/webhook",
"external_metadata": {
"conversation_id": "xyz-1234",
"source": "user-interface"
}
}