Skip to main content
POST
Upload knowledge file

Authorizations

Authorization
string
header
required

Your personal access token from Settings → Profile, or a scoped API key (hc_…) created at Settings → Developer → API keys. Send it as Authorization: Bearer <token>.

Path Parameters

accountId
integer
required

Account ID

agentId
string
required

Agent ID (UUID)

Body

multipart/form-data
file
file
required

Knowledge file to upload

Response

Created

The response is of type object.