Our docs got a refresh! Check out the new content and improved navigation. For detailed API reference see our Python SDK docs and TypeScript SDK.
Description
API referenceError taxonomy

Add Labels To Error Taxonomy Revision

POST
/v1/error-taxonomy-revision/{revision_id}/set-labels
/v1/error-taxonomy-revision/{revision_id}/set-labels

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Request Body

application/jsonRequired

account_idAccount Id

labels
Required
Labels

Path Parameters

revision_id
Required
Revision Id

ID of the error taxonomy revision to label

Format: "uuid"
curl -X POST "https://api.patronus.ai/v1/error-taxonomy-revision/497f6eca-6276-4993-bfeb-53cbbbba6f08/set-labels" \
  -H "X-API-KEY: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
    "labels": [
      "string"
    ]
  }'

Successful Response