POST
/
api
/
v1
/
agent-executions
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "agentId": "<string>",
  "workspaceId": "<string>",
  "state": {
    "status": "PENDING_INPUTS"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

agent_id
string
required

Body

multipart/form-data
input_files
file[]
required

Files to extract data from. Supported file extensions: {'.webp', '.jpg', '.txt', '.png', '.jpeg', '.gif', '.pdf', '.eml'}. Maximum total size: 100 MiB. We process the .eml files as text files, i.e., we don't process non-textual attachments and content properly. For that, extract them from the .eml files separating them into different files.

Response

201
application/json
Successful Response
agentId
string
required
workspaceId
string
required
state
object
required
id
string
createdAt
string
updatedAt
string