Get the assistant's settings
GET
/api/assistant/settings
const url = 'https://forge.example.com/api/assistant/settings';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/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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”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
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
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
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}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"}