Skip to main content
An uploaded conversation is a production voice call or chat submitted to Coval for evaluation. Uploaded conversations are distinct from simulated conversations, which Coval creates during a run. submit also accepts --input-json (inline JSON, @file, or - for stdin); explicit flags override fields from the JSON. See Input JSON.

Submit Conversation

Submit a production conversation for evaluation. At least one input source is required (--transcript-file, --audio-file, --audio-url, or --upload-id); audio sources are mutually exclusive.
Returns the created conversation in PENDING status. Poll coval uploaded-conversations get <id> to watch evaluation progress.
For audio files larger than a few megabytes, prefer --audio-url or --upload-id over --audio-file — the request body is capped at 10 MB. Those routes carry audio out of band and accept up to 250 MB.

List Uploaded Conversations

Output columns: ID, STATUS, EXTERNAL ID, AUDIO, OCCURRED AT

Get Uploaded Conversation

Returns full conversation details as JSON including transcript, status, agent and persona references, progress, and metadata.

Patch Uploaded Conversation

Attach audio to an existing conversation, add metadata keys, or assign an agent to a conversation submitted without one. Choose exactly one target: audio, metadata, or agent assignment. Metadata is additive only: the API rejects a key that already has a value.
CLI 0.10.0 and later support agent assignment on PATCH and channel selection on submit and audio PATCH. Omitting the channel, or using JSON null on submit, uses the organization default. Channel overrides require channel selection enabled for your organization; they do not change mono recordings or supplied transcript roles. An agent can be assigned only once, and it must be an active agent in your organization. Repeating the current agent succeeds without changing it; a different agent is rejected. Assignment does not run or rerun metrics.

Download Audio

Download or get the audio URL for a conversation recording.
When using -o, a progress bar shows the download status.

List Metrics

List the current metric results for an uploaded conversation. If a metric has been re-scored, only its most recent result is listed.
Output columns: OUTPUT ID, METRIC ID, STATUS, VALUE, SUBVALUES

Get Metric Detail

Retrieve metric results for a conversation. The second argument accepts two ID types and the output adapts accordingly:
  • 26-char MetricOutput ULID — prints one row (the specific output).
  • 22-char Metric definition ID — prints every output recorded for that metric on the conversation.
By MetricOutput ULID (one row):
By Metric definition ID (one or more rows):

Delete Conversation

Conversation Statuses

When using --filter, use the underscore-separated enum values (e.g., status="IN_PROGRESS").