Skip to main content
POST
/
api
/
agents
/
{id}
/
documents
Upload document
curl --request POST \
  --url https://api.agentixx.io/api/agents/{id}/documents \
  --header 'x-tenant-id: <api-key>' \
  --cookie better-auth.session_token=
{}

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-tenant-id
string
header
required

Tenant/workspace UUID. Required on all /api/* endpoints.

Path Parameters

id
string<uuid>
required

Response

Document uploaded and queued for processing

{key}
any