PATCH
/
v1
/
assistants
/
watsonx
/
{assistant_id}
Update Watsonx Assistant Instance
curl --request PATCH \
  --url http://{api_endpoint}/api/v1/v1/assistants/watsonx/{assistant_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "name": "<string>",
  "nickname": "<string>",
  "config": {
    "assistant_id": "<string>",
    "environment_id": "<string>",
    "intent": "<string>",
    "action_title": "<string>",
    "search_stickiness": false,
    "shareable_context": true,
    "hidden": false,
    "api_key": "<string>",
    "service_instance_url": "<string>",
    "api_version": "2023-06-15",
    "auth_type": "BEARER_TOKEN",
    "auth_config": {},
    "authorization_url": "<string>",
    "crn": "<string>",
    "message_context": {},
    "connection_id": "<string>",
    "context_access_enabled": true,
    "context_variables": []
  },
  "hidden": true,
  "context_access_enabled": true,
  "context_variables": [
    "<string>"
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assistant_id
string
required

Body

application/json
title
string | null
description
string | null
tags
string[] | null
name
string | null
nickname
string | null
config
object | null
hidden
boolean | null
context_access_enabled
boolean | null

Enable access to context variables for this agent

context_variables
string[] | null

List of context variable names that this agent can access

Response

Successful Response

The response is of type any.