Skip to main content
POST
https://catalystapi.superdashhq.com/api
/
v1
/
assistants
/
updatePrompt
/
{workspaceId}
/
{assistantId}
Update Prompt
curl --request POST \
  --url https://catalystapi.superdashhq.com/api/v1/assistants/updatePrompt/{workspaceId}/{assistantId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "prompt": "<string>"
}
'
{
    "prompt": "The updated prompt of the assistant"
}

Authorizations

x-api-key
string
required
API key associated with your workspace

Path Parameters

workspaceId
string
required
UUID of the workspace
assistantId
string
required
UUID of the assistant

Body Parameters

prompt
string
required
The Prompt for the assistant

Response

prompt
string
The updated prompt of the assistant
{
    "prompt": "The updated prompt of the assistant"
}