Taggers
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST |
List all taggers
Required API key scopes
tagger:readQuery parameters
- enabledboolean
- id__inarray
- limitinteger
- offsetinteger
- order_byarray
- searchstring
Response
Example request
GET /api /environments /:project_id /taggersExample response
Status 200
RESPONSE
Create taggers
Required API key scopes
tagger:writeRequest parameters
- namestring
- descriptionstring
- enabledboolean
- tagger_typeDefault:
llm - tagger_config
- conditionsarray
- model_configuration
Response
Example request
POST /api /environments /:project_id /taggersExample response
Status 201
RESPONSE
Retrieve taggers
Required API key scopes
tagger:readPath parameters
- idstring
Response
Example request
GET /api /environments /:project_id /taggers /:idExample response
Status 200
RESPONSE
Update taggers
Required API key scopes
tagger:writePath parameters
- idstring
Request parameters
- namestring
- descriptionstring
- enabledboolean
- tagger_typeDefault:
llm - tagger_config
- conditionsarray
- model_configuration
- deletedboolean
Response
Example request
PATCH /api /environments /:project_id /taggers /:idExample response
Status 200
RESPONSE
Delete taggers
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
tagger:writePath parameters
- idstring
Example request
DELETE /api /environments /:project_id /taggers /:idExample response
Status 405 No response body
Create taggers test hog
Test Hog tagger code against sample events without saving.
Required API key scopes
tagger:readRequest parameters
- sourcestring
- sample_countintegerDefault:
5 - tagsarray
Response
Example request
POST /api /environments /:project_id /taggers /test_hogExample response
Status 200
RESPONSE