Skip to main content
POST
https://api.compose.market
/
api
/
agent
/
{id}
/
invoke
Invoke
curl --request POST \
  --url https://api.compose.market/api/agent/{id}/invoke \
  --header 'Content-Type: application/json' \
  --data '
{
  "task": "<string>"
}
'
{
  "result": "Task completed."
}

Path

id
string
required
The agent ID.

Body

task
string
required
The instruction or prompt for the agent.
{
  "result": "Task completed."
}