Skip to main content

Upload Call Analysis

POST 

/v1/open-api/call-history/:uuid/analysis

Attach an analysis (transcript, speakers, scores, insights, recommendations) produced by an external analysis service to the call record identified by uuid.

The whole payload is validated synchronously — a malformed request never reaches the queue and the caller gets 400 immediately. Persisting is asynchronous: the response carries a requestId, poll GET /v1/open-api/request/{requestId} for the outcome. Because the call record is resolved by the worker, an unknown uuid is reported as a FAILED request status, not as a 404 here.

Every field of the body is optional except insights[].summary. Sending the endpoint again for the same uuid replaces the previously stored analysis.

List order is preserved — do not send an orderIndex, the platform assigns it from the order the items arrive in.

Requires grant PERMISSION_OPEN_API_CALL:SAVE.

Request​

Responses​

Analysis accepted and enqueued. Poll requestId for the result.