Skip to content

Get the assistant's settings

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

Whose AI account the assistant runs on, the vendor and model, and whether a key is stored. A stored key is never sent back. For administrators.

OK

Media typeapplication/json
object
source
required
string
vendor
required
null | string
model
required
null | string
workspaceId
required
null | string
includedOffered
required
boolean
credential
required
object
isSet
required
boolean
setBy
required
One of:
null
setAt
required
null | string format: date-time
protection
One of:
null
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
ownAccountOnly
boolean
switchedOff
boolean
region
null | string
roleArn
null | string
externalId
null | string
trustedPrincipal
null | string
zeroRetention
boolean
includedRetentionRequired
boolean
version
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
identity
null | string
resourceName
null | string
deployment
null | string
tenantId
null | string
clientId
null | string
project
null | string
provider
null | string
serviceAccount
null | string
endpoint
null | string
federationIssuer
null | string
federationSubject
null | string
azureAudience
null | string
googleAudience
null | string
customAddressOffered
boolean
routineModel
null | string
routineDeployment
null | string
routineEffort
string
deepEffort
string

Example

{
"credential": {
"protection": {
"revealable": false
}
},
"vendors": [
{
"models": [
{
"retentionRequired": false
}
],
"identity": "key"
}
],
"ownAccountOnly": false,
"switchedOff": false,
"zeroRetention": false,
"includedRetentionRequired": false
}

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