Skip to main content

Update an assistant

POST 

/ai/assistants/:assistant_id

Update an AI Assistant's attributes.

Request

Path Parameters

    assistant_id Assistant Idrequired

Body

required

    name Name
    model Model
    description Description
    instructions Instructions

    tools

    object[]

  • Array [

  • type Typerequired

    Possible values: [retrieval, function]

    name Name
    description Description

    function

    object

    name Namerequired
    description Description

    parameters

    object

    type Typerequired

    properties

    object

    required

    property name*

    ParameterProperties

    type Typerequired
    description Description
    enum string[]
    required string[]required

    retrieval

    object

    bucket_ids string[]required
  • ]

Responses

200: Successful Response

Schema

    any

422: Validation Error

Schema

    detail

    object[]

  • Array [

  • loc

    object[]

    required

  • Array [

  • anyOf

    string

  • ]

  • msg Messagerequired
    type Error Typerequired
  • ]

Loading...