Skip to main content
POST
List knowledge files

Restrictions

Usage

  • Omitting pack_id targets the caller’s account-scope pack (created lazily if absent).
  • Reading a team-scope pack requires membership of that team.
  • p/limit are accepted but the current implementation always returns the full file list.

Authorizations

app_key
string
query
required

App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.

Body

application/json

Which pack's files to list.

pack_id
string

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

p
integer

Page number, 1-based.

limit
integer

Page size.

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

Files in the pack.