Handle thread approval
Agents
Handle thread approval request
Approves or rejects a thread execution that is awaiting approval. This is part of the human-in-the-loop workflow.
POST
Handle thread approval
Authorizations
Use JWT token for authentication
Path Parameters
UUID of the thread awaiting approval
Body
application/json
Approval decision and optional comment
Response
Approval decision processed successfully
Unique identifier for the thread
Unique identifier for the associated agent
Current status of the thread
Available options:
RUNNING, PAUSED, COMPLETED, FAILED, AWAITING_APPROVAL Timestamp when the thread was created
Messages exchanged in the thread
Timestamp when the thread was last updated
Custom metadata associated with the thread
Total cost accumulated by this thread