Skip to main content
POST
Upload knowledge image

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)

sourceId
string
required

Source ID (UUID)

Body

multipart/form-data
image
file
required

Image file to upload

caption
string

Image caption

Response

Created

The response is of type object.