Skip to content

Get the instance's own AI account

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

The account organizations on “Included” use: inUse is console when it was set here, settings when it comes from the server’s settings (Assistant:Included), none, or scripted for the development stand-in. Its vendor, model, key or instance identity, AWS Region, Anthropic workspace and each organization’s monthly allowance (0 for no limit); of a key set here only its badge and last four characters, never the key. console is what was set here, in use or not, and consoleProblem why it is not. Send version back with a change.

OK

Media typeapplication/json
object
inUse
required
string
account
required
One of:
null
console
required
One of:
null
consoleProblem
required
null | string
vendors
required
Array<object>
object
key
required
string
label
required
string
models
required
Array<object>
object
id
required
string
label
required
string
tested
required
boolean
retentionRequired
boolean
geography
null | string
available
required
boolean
identity
string
default: key
retention
null | string
retentionRequiredNote
null | string
regions
Array<object> | null
object
key
required
string
label
required
string
geography
required
string
identities
Array<string> | null
limits
Array<string> | null
deepDefault
null | string
routineDefault
null | string
reasoningAcrossModels
boolean
takesEffort
boolean
canKeepKeys
required
boolean
instanceIdentity
required
boolean
settingsMonthlyTokens
required
integer | string format: int64
/^-?(?:0|[1-9]\d*)$/
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

Example

{
"account": {
"key": {
"revealable": false
}
},
"console": {
"key": {
"revealable": false
}
},
"vendors": [
{
"models": [
{
"retentionRequired": false
}
],
"identity": "key"
}
]
}

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