Skip to content

Whether the assistant is on for you

GET
/api/assistant
curl --request GET \
--url https://forge.example.com/api/assistant \
--header 'Authorization: Bearer <token>'

And for which classifications an AI may see a model.

OK

Media typeapplication/json
object
available
required
boolean
source
required
string
vendor
required
null | string
model
required
null | string
canConfigure
required
boolean
classifications
required
Array<object>
object
key
required
string
aiUse
required
string
reason
required
null | string
routine
One of:
null
deep
One of:
null

Example generated

{
"available": true,
"source": "example",
"vendor": "example",
"model": "example",
"canConfigure": true,
"classifications": [
{
"key": "example",
"aiUse": "example"
}
],
"reason": "example",
"routine": {
"model": "example",
"effort": "example"
},
"deep": {
"model": "example",
"effort": "example"
}
}

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"
}