Skip to main content

Guard Packs

GET/v1/hub/packs

List Packs

Browse available guard packs.

Publicoperation_id: packs.list

Authentication

No authentication required. This is a read-only endpoint that returns no tenant data, so it can be called without a token.

SDK install

pip install znyx-sdknpm install @znyx/sdk

Code samples

Request

curl -X GET "$ZNYX_API_URL/v1/hub/packs?limit=50&offset=0" \
  -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

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.-