List the organization's classifications
GET
/api/classifications
const url = 'https://forge.example.com/api/classifications';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/classifications \ --header 'Authorization: Bearer <token>'The levels of the organization’s ladder, with what an AI may see at each.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
key
required
string
label
required
string
rank
required
integer | string format: int32
isRestricted
required
boolean
bannerText
required
string
color
required
string
aiUse
required
string
version
required
integer | string format: int32
Example generated
[ { "key": "example", "label": "example", "rank": 1, "isRestricted": true, "bannerText": "example", "color": "example", "aiUse": "example", "version": 1 }]default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}