Skip to main content
GET
List taxonomy categories

Headers

Authorization
string | null

Bearer token with API key

Query Parameters

lens
enum<string>
default:security

Optional. Which part of the taxonomy to list; defaults to 'security', the only lens a run can be focused on. The other values list categories Enoki covers elsewhere — passing one of their keys to POST /api/v1/run is rejected with a 400.

Available options:
security,
safety,
compliance

Response

Successful Response

Response for GET /api/v1/category — one lens' active categories.

categories
ApiCategory · object[]
required

Active categories in the requested lens, sorted by key.

lens
enum<string>
required

The lens these categories belong to.

Available options:
security,
safety,
compliance