Executions
Query execution records and details
List Executions Endpoint
Query Parameters
Filter by single status (legacy)
Comma-separated list of statuses (OR'd; takes precedence over status)
Inclusive ISO 8601 lower bound on started_at (timezone required)
Inclusive ISO 8601 upper bound on started_at (timezone required)
Case-insensitive substring match against execution id, workflow id and workflow name
Keep only executions carrying this tag. Repeat to require several (AND). Normalised like stored tags; an invalid tag is rejected with 422.
Keep only executions currently in this eval: an eval's runs (#967). Matched exactly, never as a prefix.
true keeps only executions that are currently a run of some eval; false keeps only executions in no eval. Omit for both.
Keep only executions that completed on this review verdict (#1630). A queued start or a run that reviewed nothing has none, so is never kept.
Page number
11 <= valueItems per page
501 <= value <= 200Response Body
application/json
application/json
curl -X GET "https://loading/executions"{
"executions": [
{
"workflow_execution_id": "string",
"workflow_id": "string",
"workflow_name": "string",
"status": "string",
"started_at": "string",
"completed_at": "string",
"completed_phases": 0,
"total_phases": 0,
"phase_progress": {
"completed": 0,
"skipped": 0,
"possible": 0,
"remaining_possible": 0,
"percent": 0,
"display": "string"
},
"total_tokens": 0,
"total_tokens_display": "0",
"total_input_tokens": 0,
"total_output_tokens": 0,
"total_cache_creation_tokens": 0,
"total_cache_read_tokens": 0,
"total_cost_usd": "0",
"total_cost_display": "—",
"unpriced_observation_count": 0,
"duration_seconds": 0,
"duration_display": "—",
"tool_call_count": 0,
"error_message": "string",
"failure_classification": "platform",
"reported_failure_reason": "task",
"review_verdict": "certified",
"repos": [
"string"
],
"tags": [
"string"
],
"resumed_from": {
"parent_execution_id": "string",
"resume_phase_id": "string"
},
"resumed_as": "string",
"repos_display": "string",
"task": "string",
"task_display": "string",
"eval": {
"eval_id": "string",
"eval_name": "string",
"association_kind": "launched",
"verdict": "PASS",
"score": 0,
"scored_at": "string"
},
"start_queue": {
"path": "direct",
"position": 0,
"held": true,
"start_status": "pending",
"status_reason": "string",
"running": 0,
"waiting": 0,
"limit": 0,
"queued_at": "2019-08-24T14:15:22Z",
"position_display": "string",
"reason_display": "string"
}
}
],
"total": 0,
"page": 1,
"page_size": 50,
"excluded_undated": 0,
"budget": {
"running": 0,
"queued": 0,
"limit": 0,
"admission_paused": true,
"display": "string"
},
"status_counts": {
"property1": 0,
"property2": 0
},
"read_model_status": {
"rebuilding": true,
"projection": "string",
"label_display": "string",
"progress_pct": 0,
"progress_display": "string",
"events_behind": 0,
"events_behind_display": "string",
"summary_display": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Execution Endpoint
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/executions/string"{
"workflow_execution_id": "string",
"workflow_id": "string",
"workflow_name": "string",
"status": "string",
"started_at": "string",
"completed_at": "string",
"phases": [
{
"phase_id": "string",
"name": "string",
"status": "string",
"session_id": "string",
"artifact_id": "string",
"input_tokens": 0,
"output_tokens": 0,
"cache_creation_tokens": 0,
"cache_read_tokens": 0,
"total_tokens": 0,
"duration_seconds": 0,
"cost_usd": "0",
"unpriced_observation_count": 0,
"started_at": "string",
"completed_at": "string",
"error_message": "string",
"deliverable_recovered": false,
"reported_side_effects": "none",
"failure_classification": "platform",
"reported_failure_reason": "task",
"model": "string",
"requested_model": "string",
"agent_provider": "string",
"cost_by_model": {
"property1": "string",
"property2": "string"
},
"unpriced_models": [
"string"
],
"unpriced_model_cost_display": "unpriced",
"agent_session_ids": [
"string"
],
"exit_code": 0,
"observed_branches": [
{
"repo": "string",
"branch": "string",
"remote": "string",
"remote_commit": "string",
"remote_commit_at_phase_start": "string",
"unpushed_commits": 0
}
],
"pinned_at_start": {
"provider": "string",
"requested_model": "string",
"allowed_tools": [
"string"
],
"skills": [
{
"name": "string",
"version": "string",
"resolved_sha": "string",
"source_url": "string"
}
]
},
"start_pins_status": "recorded",
"skill_use": {
"status": "observed",
"declared": [
"string"
],
"invoked": [
{
"name": "string",
"count": 0
}
],
"provider": "string",
"declared_not_invoked": [
"string"
],
"status_display": "string",
"summary_display": "string"
},
"operations": [
{
"operation_id": "string",
"operation_type": "string",
"timestamp": "string",
"tool_name": "string",
"tool_use_id": "string",
"success": true,
"error_message": "string"
}
],
"activity": {
"telemetry_available": false,
"operations_count": 0,
"last_push_at": "2019-08-24T14:15:22Z",
"seconds_since_last_push": 0,
"elapsed_seconds": 0,
"timeout_seconds": 0,
"deadline": "2019-08-24T14:15:22Z"
},
"model_display": "string"
}
],
"total_phases": 0,
"completed_phases": 0,
"phase_progress": {
"completed": 0,
"skipped": 0,
"possible": 0,
"remaining_possible": 0,
"percent": 0,
"display": "string"
},
"phase_plan": [
{
"phase_id": "string",
"name": "string",
"status": "string",
"status_display": "string"
}
],
"total_input_tokens": 0,
"total_output_tokens": 0,
"total_cache_creation_tokens": 0,
"total_cache_read_tokens": 0,
"total_tokens": 0,
"total_cost_usd": "0",
"unpriced_observation_count": 0,
"cache_read_rate_display": "string",
"cache_write_rate_display": "string",
"total_duration_seconds": 0,
"unknown_duration_phase_count": 0,
"artifact_ids": [
"string"
],
"error_message": "string",
"failure_classification": "platform",
"delegation_failure": {
"reason": "not_attempted",
"required_delegate": "string",
"attempts": [],
"detail": "string"
},
"reported_failure_reason": "task",
"quarantined_refs": [
{
"repository": "string",
"branch": "string",
"ref": "string",
"commit": "string",
"commit_count": 0,
"pull_request": 0,
"diffstat": "string"
}
],
"deliverable_produced": false,
"review_verdict": "certified",
"reported_side_effects": "none",
"repos": [
"string"
],
"tags": [
"string"
],
"task": "string",
"inputs": {
"property1": "string",
"property2": "string"
},
"eval": {
"eval_id": "string",
"eval_name": "string",
"association_kind": "launched",
"verdict": "PASS",
"score": 0,
"scored_at": "string"
},
"resumed_from": {
"parent_execution_id": "string",
"resume_phase_id": "string"
},
"resumed_as": "string",
"latest_resumed_as": "string",
"resumed_from_display": "string",
"resumed_as_display": "string",
"resume_start": {
"status": "pending",
"status_reason": "string",
"attempts": 0,
"max_attempts": 0,
"recorded_at": "2019-08-24T14:15:22Z",
"dispatched_at": "2019-08-24T14:15:22Z",
"start_queue": {
"path": "direct",
"position": 0,
"held": true,
"start_status": "pending",
"status_reason": "string",
"running": 0,
"waiting": 0,
"limit": 0,
"queued_at": "2019-08-24T14:15:22Z",
"position_display": "string",
"reason_display": "string"
}
},
"start_queue": {
"path": "direct",
"position": 0,
"held": true,
"start_status": "pending",
"status_reason": "string",
"running": 0,
"waiting": 0,
"limit": 0,
"queued_at": "2019-08-24T14:15:22Z",
"position_display": "string",
"reason_display": "string"
},
"read_model_status": {
"rebuilding": true,
"projection": "string",
"label_display": "string",
"progress_pct": 0,
"progress_display": "string",
"events_behind": 0,
"events_behind_display": "string",
"summary_display": "string"
},
"skill_use": {
"declared": [
"string"
],
"invoked": [
{
"name": "string",
"count": 0
}
],
"never_invoked": [
"string"
],
"not_known": [
"string"
],
"summary_display": "no phase has started"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Session Inventory
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/session-inventory"{
"run": {
"source_instance_id": "string",
"execution_id": "string"
},
"snapshot": {
"snapshot_id": "163831af-8c1b-4992-a9cf-88c6306604c0",
"run": {
"source_instance_id": "string",
"execution_id": "string"
},
"revision": "string",
"resolver_version": "string",
"evidence_watermark": 0,
"coverage": {
"state": "unknown",
"contract_id": "string",
"expected_count": 0,
"missing_keys": []
},
"counts": {
"node": 0,
"membership": 0,
"edge": 0,
"capture": 0,
"gap": 0,
"retraction": 0,
"binding": 0,
"namespaces": [
{
"kind": "platform",
"harness": "string",
"count": 0
}
]
}
},
"reconstruction_status": "not_started",
"observed_evidence_watermark": 0,
"later_evidence_pending": true,
"job_id": "string",
"summary": {
"complete": true,
"coverage_state": "unknown",
"coverage_display": "string",
"revision": "string",
"distinct_sessions": 0,
"platform_sessions": 0,
"invocations": 0,
"native_transcripts": 0,
"gaps": 0,
"namespaces": [
{
"namespace": "string",
"kind": "platform",
"harness": "string",
"count": 0
}
],
"counts_display": "string",
"remote_replication": "enabled",
"follow_up_command": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Session Inventory Page
Path Parameters
uuid"node" | "membership" | "edge" | "capture" | "gap" | "retraction" | "binding"Query Parameters
1001 <= value <= 500Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://loading/executions/string/session-inventory/497f6eca-6276-4993-bfeb-53cbbbba6f08/node"{
"snapshot": {
"snapshot_id": "163831af-8c1b-4992-a9cf-88c6306604c0",
"run": {
"source_instance_id": "string",
"execution_id": "string"
},
"revision": "string",
"resolver_version": "string",
"evidence_watermark": 0,
"coverage": {
"state": "unknown",
"contract_id": "string",
"expected_count": 0,
"missing_keys": []
},
"counts": {
"node": 0,
"membership": 0,
"edge": 0,
"capture": 0,
"gap": 0,
"retraction": 0,
"binding": 0,
"namespaces": [
{
"kind": "platform",
"harness": "string",
"count": 0
}
]
}
},
"kind": "node",
"filters": {
"phase_id": "string",
"attempt_id": "string"
},
"items": [
{
"ref": {
"kind": "platform",
"source_instance_id": "string",
"local_id": "string",
"harness": "string"
},
"evidence": []
}
],
"item_keys": [
{
"node_key": "string",
"peer_key": "string"
}
],
"next_cursor": "string",
"body_overrides": [],
"capture_hashes": []
}{
"detail": {
"code": "cursor_invalid",
"message": "string",
"mismatched": [],
"restart": true,
"restart_snapshot_id": "string"
}
}{
"detail": {
"code": "cursor_invalid",
"message": "string",
"mismatched": [],
"restart": true,
"restart_snapshot_id": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Session Inventory Node
Path Parameters
uuid^[a-f0-9]{64}$Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/session-inventory/497f6eca-6276-4993-bfeb-53cbbbba6f08/nodes/string"{
"snapshot_id": "string",
"node_key": "string",
"status": "resolved",
"node": {
"ref": {
"kind": "platform",
"source_instance_id": "string",
"local_id": "string",
"harness": "string"
},
"evidence": []
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Refresh Session Inventory
Path Parameters
Request Body
application/json
^[^\x00]+$1 <= length <= 200falseResponse Body
application/json
application/json
curl -X POST "https://loading/executions/string/session-inventory/reconcile" \ -H "Content-Type: application/json" \ -d '{ "idempotency_key": "string" }'{
"job_id": "string",
"history": {
"receipts": 0,
"materialized": 0,
"evidence_watermark": 0
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Backfill All Session Inventories
Request Body
application/json
^[^\x00]+$1 <= length <= 200Response Body
application/json
application/json
curl -X POST "https://loading/session-inventory/backfill" \ -H "Content-Type: application/json" \ -d '{ "idempotency_key": "string" }'{
"executions": 0,
"enqueued": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}curl -X GET "https://loading/session-inventory-jobs/string"{
"job_id": "string",
"run": {
"source_instance_id": "string",
"execution_id": "string"
},
"stage": "pending",
"evidence_watermark": 0,
"snapshot_id": "string",
"resolver_version": "string",
"revision": "string",
"failure_code": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Execution Pushes Endpoint
Path Parameters
Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/pushes"{
"execution_id": "string",
"pushes": [
{
"phase_id": "string",
"repository": "string",
"branch": "string",
"sha": "string"
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Local Transcript Revision
Path Parameters
^[a-f0-9]{64}$Query Parameters
^[^\x00]+$1 <= length <= 2048^[^\x00]+$1 <= length <= 2048Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/session-transcripts/string?harness=string&native_id=string"{
"status": "present",
"archive_sha256": "string",
"content_format": "native",
"size": 0,
"redaction": "source",
"content_base64": "string",
"conversation": {
"supported": true,
"messages": [],
"truncated": false,
"issues": [],
"reader_version": "string"
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Local Transcript Deletion
Path Parameters
^[a-f0-9]{64}$Query Parameters
^[^\x00]+$1 <= length <= 2048^[^\x00]+$1 <= length <= 2048Response Body
application/json
application/json
curl -X GET "https://loading/executions/string/session-transcripts/string/deletion?harness=string&native_id=string"{
"deletion": {
"archive_sha256": "string",
"source_content_hash": "string",
"reason": "retention_age",
"local_status": "pending",
"requested_at": "string",
"deleted_at": "string",
"replication": "disabled",
"replicas": []
},
"created": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Delete Local Transcript Revision
Path Parameters
^[a-f0-9]{64}$Request Body
application/json
^[^\x00]+$1 <= length <= 2048^[^\x00]+$1 <= length <= 2048"deletion""deletion" | "retraction"Response Body
application/json
application/json
curl -X POST "https://loading/executions/string/session-transcripts/string/deletion" \ -H "Content-Type: application/json" \ -d '{ "harness": "string", "native_id": "string" }'{
"deletion": {
"archive_sha256": "string",
"source_content_hash": "string",
"reason": "retention_age",
"local_status": "pending",
"requested_at": "string",
"deleted_at": "string",
"replication": "disabled",
"replicas": []
},
"created": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Revoke Local Transcript Revision
Path Parameters
^[a-f0-9]{64}$Request Body
application/json
^[^\x00]+$1 <= length <= 2048^[^\x00]+$1 <= length <= 2048Response Body
application/json
application/json
curl -X POST "https://loading/executions/string/session-transcripts/string/revocation" \ -H "Content-Type: application/json" \ -d '{ "harness": "string", "native_id": "string" }'{
"archive_sha256": "string",
"status": "withheld",
"created": true
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}