Compare execution sessions

Compares a call execution with its most recent rerun snapshot.

GET https://api.futureagi.com/simulate/call-executions/{call_execution_id}/session-comparison/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

call_execution_id UUID Required

The call execution ID. Must have at least one rerun snapshot.

Response

200 OK
metrics_comparison object
Performance metrics for current and previous sessions.
current object
Current execution metrics.
previous object
Previous rerun snapshot metrics.
transcript_comparison object
Transcripts for current and previous sessions.
current array of objects
Current session transcript with role and content.
previous array of objects
Previous rerun snapshot transcript.
recording_urls object
Audio recording URLs. Voice only.
current string
Current execution recording URL.
previous string
Previous rerun snapshot recording URL.
eval_comparison object
Evaluation results for both sessions.
current object
Current execution eval results.
previous object
Previous rerun snapshot eval results.

Errors

400 Bad Request Optional
No rerun snapshot available for comparison.
401 Unauthorized Optional
Invalid or missing credentials.
404 Not Found Optional
Call execution not found.
500 Internal Server Error Optional
Unexpected server error.
GET /
Authentication
REQUEST
 
RESPONSE