Skip to main content
POST
List knowledge files

Restrictions

Usage

  • Omitting pack_id targets the caller’s account knowledge (created empty if absent). An unknown pack_id returns ResourceNotFound.
  • Account knowledge is readable by every member; team knowledge only by members of that team.
  • p/limit are accepted but ignored: the response always contains every file. Use POST /safari/knowledge/file/get to read a file’s content.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Which knowledge's files to list.

pack_id
string

Knowledge ID; defaults to the caller's account-scope knowledge.

p
integer

Page number, 1-based. Accepted but currently ignored — the response always contains the full file list.

limit
integer

Page size. Accepted but currently ignored — the response always contains the full file list.

Response

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
object

All files in the knowledge plus the current knowledge version.