updateAssistant {
   assistantID: String!  object: AssistantInput! 
}: Assistant!

Update an assistant

Permissions needed

select (assistants):

  • assistant_id update (assistants):
  • update_at

Arguments

assistantID
String!
required

ID of the assistant to update

object
AssistantInput!
required

New assistant data. Will fully replace the existing assistant

Response

Type: Assistant!

assistantID
String!

ID of the assistant

name
String!

Name of the assistant

description
String!

Description of the assistant

instructions
String!

Instructions for the assistant. This is used to instruct the AI assistant on how to behave and respond to the user

model
String!

Model to use for the assistant.

graphql
[AssistantToolGraphQL!]

GraphQL data sources and tools. Run against the project’s GraphQL API

webhooks
[AssistantToolWebhook!]

Webhook data sources and tools