Skip to main content
POST
Add a category

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Body

application/json
name
string
required
Maximum string length: 100

Response

The category.

One of the org’s categories: a kind of request its procedures and test cases are sorted into. The Procedures tab groups by them and the eval charts group pass rates by them. Spelled as the org first spelled it, whatever the capitals.

object
any
required
name
string
required
Example:

"Warranty status"

procedures
integer
required

How many procedures are in it (every agent’s; archived ones aside).

test_cases
integer
required

How many test cases are in it.

procedures_here
integer

With agent_id: how many of that agent’s procedures are in it.

merged
boolean

After a rename to a name the org already had: the two are now one.