POST
/
Run Agent
curl --request POST \
  --url https://api.agentbase.sh/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>"
}'

Query Parameters

session
string
The session ID to continue the agent session conversation. If not provided, a new agent session will be created.

Request Body

message
string
required
The task or message to run the agent with.
See Streaming Message Types for event details.