Finalize Call Recording (M2M)
Hand over the runtime's per-track manifest and move the recording into assembly. Must precede the conversation's close call. Chunks stored above the size limit are dropped from the manifest and returned in rejected_chunks.
Authorization
BundleAccessToken AuthorizationBearer <token>
In: header
Path Parameters
conversation_id*Conversation Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/bundler/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08/recording/finalize" \ -H "Content-Type: application/json" \ -d '{ "tracks": { "property1": { "final_samples": 0 }, "property2": { "final_samples": 0 } } }'{ "status": "string", "deferred_links": [ { "span_id": "f8e1ad1a-a94f-4999-9759-e8b20e66def2", "message_id": "string" } ], "rejected_chunks": [ { "track": "string", "chunk_index": 0 } ]}Empty
Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}