Skip to main content
POST
/
v1
/
execute
Execute Agent
curl --request POST \
  --url https://api.example.com/v1/execute \
  --header 'Content-Type: application/json' \
  --data '
{
  "agent_id": "<string>",
  "version": "<string>",
  "input_payload": {},
  "env_vars": {},
  "files": {},
  "history": [],
  "state_snapshot": "",
  "thread_id": "<string>",
  "adapter_type": "python",
  "runtime_mode": "standard",
  "lifecycle": "serverless",
  "run_id": "<string>",
  "completion_callback_url": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

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

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

Body

application/json
agent_id
string
required
version
string
required
input_payload
Input Payload · object
env_vars
Env Vars · object
files
Files · object
history
any[]
state_snapshot
string
default:""
thread_id
string | null
adapter_type
string
default:python
runtime_mode
string
default:standard
lifecycle
string
default:serverless
run_id
string | null
completion_callback_url
string | null

Response

Server-Sent Events stream