Update a tool task status

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Parameters

discussionId

toolTaskId

state

message

response

x-universe-auth

Responses


Example CURL Request

curl --request PUT \
     --url https://example.com/chats/discussionId/tool-tasks/toolTaskId \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '\n{\n  "state": "submitted"\n}\n'  

Click Try It! to start a request and see the response here! Or choose an example:

Example Response

{
  "status": "200",
  "message": "Updated",
  "timestamp": "3 months ago"
}