curl --request POST \
--url http://localhost/api/v1/assistants/watsonx \
--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": []
}
}'
"<any>"
curl --request POST \
--url http://localhost/api/v1/assistants/watsonx \
--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": []
}
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type any
.