List knowledge packs
List knowledge packs visible to the caller across account and team scopes.
Restrictions
Usage
- Visibility matches the console: admins see the account pack plus every team pack; non-admins see the account pack plus their own teams, and requested
team_idsare silently intersected with their teams. scopeselectsall(default),account-only, orteam-only, overridinginclude_account.queryapplies a case-insensitive substring filter over pack ID, scope, and team name;p/limitpaginate the filtered result.
Authorizations
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
Filter and pagination for the pack list.
Page number, 1-based; returns all results when both p and limit are unset.
Page size.
Restrict to one scope; all (default) overrides include_account. One of: all (account scope plus visible team scopes), account (account-level packs only), team (team-level packs only, can be combined with team_ids).
all, account, team Case-insensitive substring filter over pack ID, scope, and team name.
128Restrict to these team IDs; for non-admins the list is intersected with their own teams.
Include the account-scope pack; defaults to true.
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.
Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.
"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"
Error payload inside the response envelope. Present only on non-2xx responses.
Visible packs and the total after filtering.