curl --request POST \
--url "https://api.roe-ai.com/v1/agents/run/YOUR_AGENT_ID/" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"inputs": {
"key": "value"
}
}'
[
{
"key": "<string>",
"data_type": "<string>",
"value": "<string>",
"description": "<string>",
"cost": 123
}
]Agents
Run Agent
Execute an agent with provided inputs and return results immediately.
POST
/
v1
/
agents
/
run
/
{agent_id}
/
curl --request POST \
--url "https://api.roe-ai.com/v1/agents/run/YOUR_AGENT_ID/" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"inputs": {
"key": "value"
}
}'
[
{
"key": "<string>",
"data_type": "<string>",
"value": "<string>",
"description": "<string>",
"cost": 123
}
]curl --request POST \
--url "https://api.roe-ai.com/v1/agents/run/YOUR_AGENT_ID/" \
--header "Authorization: Bearer YOUR_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"inputs": {
"key": "value"
}
}'
Authorizations
Query Parameters
Body
application/json
Agent execution request. In addition to metadata, every key of the agent's input definitions is accepted as a property (text value or file upload).
Optional metadata stored as-is on the created agent job. A JSON-encoded object string is also accepted; null is treated the same as omitting the field (empty metadata). Only honored by the single-run endpoints — when this object is an item of the run-async-many inputs list, metadata is ignored.