Skip to main content
PATCH
Update an assistant

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

identifier
string
required

The unique identifier of the assistant to update

Body

application/json
name
string

Assistant name

description
string

Assistant description

presets
string

System prompt / instructions

model
string

Default LLM model

provider
string

Default LLM provider

imgUrl
string

Image URL for the assistant

state
enum<string>

Assistant state

Available options:
active,
inactive,
coming_soon
availableToolsGroupsUids
string[]

Tool group UIDs

enabledTools
string[]

Enabled tool names

accessConfiguration
object
widgetConfiguration
object
memoryDocuments
object[]
structuredOutput
object
guardrailsConfiguration
object
codeSnippetIds
string[]
availableSkillIds
string[]
subagentsIds
string[]
maxChatMessages
integer
maxToolResponseInputTokens
integer
contextManagement
object

Context depth control: summarize older turns to reduce the token footprint sent to the model.

Response

Assistant updated successfully

_id
string

Assistant ID

identifier
string

Unique identifier

name
string

Assistant name

description
string

Assistant description

presets
string

System prompt / instructions

model
string

Default LLM model

provider
string

Default LLM provider

imgUrl
string

Image URL

state
string

Assistant state

availableToolsGroupsUids
string[]
enabledTools
string[]
accessConfiguration
object
widgetConfiguration
object
memoryDocuments
object[]
structuredOutput
object
guardrailsConfiguration
object
codeSnippetIds
string[]
availableSkillIds
string[]
subagentsIds
string[]
maxChatMessages
integer
maxToolResponseInputTokens
integer
contextManagement
object

Context depth control: summarize older turns to reduce the token footprint sent to the model.

creationTimestampMs
integer

Creation timestamp in milliseconds

lastEditTimestampMs
integer

Last edit timestamp in milliseconds