Delete an execution

⚠️
Preview — this feature is being built; the design below is the spec.
DELETE https://app.syntic.ai/v1/agents/executions/{execution_id}

Delete a run and its traces permanently. Needs an Administrator or Owner key. Bulk deletion stays in the Console.

For how this fits into a full workflow, see Executions.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.

Path parameters

ParameterTypeDescription
execution_idstringThe run id, starting with exec_.

Response

200 OK, Content-Type: application/json

{
  "id": "exec_01JC7N0Q8S2U4W6Y8A0C",
  "type": "agent_execution_deleted"
}

Examples

curl -sS -X DELETE https://app.syntic.ai/v1/agents/executions/exec_01JC7N0Q8S2U4W6Y8A0C \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: agents-2026-11-01"

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
403permission_errorrole_requiredThe key’s creator is not an Administrator or Owner.
404not_found_errorexecution_not_foundNo run with that id in this workspace.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?