Skip to main content
POST
/
api
/
v1
/
executions
Start a new execution trace
curl --request POST \
  --url https://api.fact0.io/api/v1/executions \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "agent_name": "<string>",
  "trigger": "<string>",
  "metadata": {},
  "idempotency_key": "<string>"
}
'
{
  "id": "<string>",
  "agent_id": "<string>",
  "agent_name": "<string>",
  "root_span_id": "<string>",
  "trigger": "<string>",
  "started_at": "2023-11-07T05:31:56Z",
  "ended_at": "2023-11-07T05:31:56Z",
  "metadata": {},
  "created_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.fact0.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
agent_id
string
required
agent_name
string
trigger
string
metadata
object
idempotency_key
string

Response

Execution created

id
string
agent_id
string
agent_name
string
status
enum<string>
Available options:
RUNNING,
COMPLETED,
FAILED,
CANCELLED
root_span_id
string
trigger
string
started_at
string<date-time>
ended_at
string<date-time>
metadata
object
created_at
string<date-time>