POST
/
v1
/
agents
/
run
/
{agent_id}
curl --request POST \
  --url https://api.roe-ai.com/v1/agents/run/{agent_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'agent_input_key_1=<string>'
[
  {
    "key": "output",
    "description": "Output JSON data",
    "data_type": "application/json",
    "value": "{\"summary\": \"hello world!\"}"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required

Body

agent_input_key_1
string

Agent input key defined in agent settings; can be a file or a string

Minimum length: 1
agent_input_key_2
file

Agent input key defined in agent settings; can be a file or a string; more input keys can be added as needed

Response

200
application/json
Agent outputs
key
string
required

The key of the output

data_type
string
required

The MIME data type of the output

value
string
required

The value of the output, serialized as a string

description
string | null

The description of the output