Skip to main content
GET
Download a knowledge file

Authorizations

Authorization
string
header
required

Bearer token in the Authorization header, for example Authorization: Bearer YOUR_API_KEY. Personal keys act as their owner. The Sessions and Knowledge Files APIs also accept organization-owned service-account keys.

Headers

If-None-Match
string

ETag from an earlier response. A current validator returns 304 Not Modified with no response body.

Path Parameters

file_path
string
required

Slash-delimited path under user_generated/ or skills/. Maximum length is 900 UTF-8 bytes, with at most 255 bytes per path segment.

Response

Raw file bytes.

The response is of type file.