Skip to main content

Guard Packs

GET/v1/hub/packs

List Packs

Browse available guard packs.

Runtime, CI or Admin tokenscope: readoperation_id: packs.list

Authentication

Any bearer token belonging to the org can read this endpoint.

SDK install

pip install znyx-sdknpm install @znyx/sdk

Query parameters

NameTypeRequiredDescription
use_case#querystring | nulloptional
limit#queryintegeroptional
offset#queryintegeroptional

Responses

StatusDescription
200Successful Response
422Validation Error

Response schema

totalrequiredinteger
limitrequiredinteger
offsetrequiredinteger
packsrequired

Errors & what triggers them

CodeTriggerFix
401Missing or expired Authorization header.
403Token does not have org access (wrong org_id, or insufficient role).
404Resource does not exist in this org.

Request

curl -X GET 'https://api.znyx.ai/v1/hub/packs' \
  -H 'Authorization: Bearer $ZNYX_TOKEN'

Response

application/json

Successful Response

{
  "total": 0,
  "limit": 0,
  "offset": 0,
  "packs": [
    {
      "id": "string",
      "name": "string",
      "display_name": "string",
      "description": null,
      "use_case": "string",
      "trust_level": "string",
      "install_count": 0,
      "detector_count": 0
    }
  ]
}

Schema: object