POST
/
v1
/
agents
/
run
/
default
/
{agent_type}
/
async
/

Authorizations

Authorization
string
headerrequired

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

Path Parameters

agent_type
enum<string>
required

Type of default agent to run. For classification, agent inputs must include 'task' and 'target'. For extraction, agent inputs must include 'prompt' and 'target'.

Available options:
classification,
extraction

Body

task/prompt
string

Prompt for the agent to generate output; can be a file or a string

Minimum length: 1
target
file

Target data for the agent to process; can be a file or a string

Response

200 - application/json

The response is of type string.