Detector Hub
GET
/v1/hub/detectorsList Catalog
Browse the detector catalog.
Publicoperation_id: hub.listDetectors
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/sdkCode samples
Request
curl -X GET "$ZNYX_API_URL/v1/hub/detectors?limit=50&offset=0" \ -H "Authorization: Bearer $ZNYX_TOKEN"
Response
application/json
Successful Response
{
"total": 0,
"limit": 0,
"offset": 0,
"detectors": [
{
"id": "string",
"name": "string",
"display_name": "string",
"description": null,
"version": "string",
"author": null,
"category": null,
"tags": null,
"trust_level": "string",
"detector_type": "string",
"install_count": 0,
"is_published": false
}
]
}Schema: object
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| category#query | string | null | optional | - |
| trust_level#query | string | null | optional | - |
| search#query | string | null | optional | - |
| detector_type#query | string | null | optional | - |
| limit#query | integer | optional | - |
| offset#query | integer | optional | - |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Response schema
totalrequiredinteger
limitrequiredinteger
offsetrequiredinteger
detectorsrequired
Errors & what triggers them
| Code | Trigger | Fix |
|---|---|---|
| 401 | Missing or expired Authorization header. | - |
| 403 | Token does not have org access (wrong org_id, or insufficient role). | - |
| 404 | Resource does not exist in this org. | - |