Skip to main content
POST
/
v1
/
companies
/
{id}
/
agents
/
{agentId}
/
run
Run agent
curl --request POST \
  --url https://api.usenaive.ai/v1/companies/{id}/agents/{agentId}/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "message": "<string>",
  "conversation": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

id
string
required
agentId
string
required

Body

application/json
prompt
string
message
string
conversation
string

Response

Run started.

The response is of type object.