Our Python SDK got smarter. We developed a Typscript SDK too. We are updating our SDK code blocks. Python SDKhere.Typscript SDKhere.
Description
Patronus AI APIError taxonomy

List Error Taxonomy Definitions

List error taxonomy definitions with optional filtering.

Returns error taxonomy definitions with their latest revision number.

If no filters are provided, returns all error taxonomy definitions for the account (up to limit).

GET
/v1/error-taxonomy-definition
/v1/error-taxonomy-definition

The Authorization access token

Authorization

X-API-KEY<token>

In: header

Query Parameters

project_idProject Id

Filter by project ID

nameName

Filter by exact error taxonomy definition name

name_startswithName Startswith

Filter by error taxonomy definition name prefix

taxonomy_typeTaxonomy Type

Filter by taxonomy type

error_taxonomy_idError Taxonomy Id

Filter by specific error taxonomy definition ID

limitLimit

Maximum number of records to return

Default: 1000

offsetOffset

Number of records to skip

Default: 0
curl -X GET "https://api.patronus.ai/v1/error-taxonomy-definition?project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&name=string&name_startswith=string&taxonomy_type=system&error_taxonomy_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&limit=1000&offset=0" \
  -H "X-API-KEY: <token>"

Successful Response

{
  "error_taxonomy_definitions": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65",
      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
      "taxonomy_type": "system",
      "name": "string",
      "description": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "latest_revision": 0
    }
  ]
}