AI
Resume dashboard companion after approval
POST
/
v1
/
companion
/
resume
Resume dashboard companion after approval
curl --request POST \
--url https://api.wazapin.com/v1/companion/resume \
--header 'Content-Type: application/json' \
--data '
{
"decision": {
"approved": true,
"disapprove_reason": "<string>",
"edited_arguments": {}
},
"interrupt_id": "<string>",
"run_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
decision: {approved: true, disapprove_reason: '<string>', edited_arguments: {}},
interrupt_id: '<string>',
run_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/companion/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/companion/resume"
payload = {
"decision": {
"approved": True,
"disapprove_reason": "<string>",
"edited_arguments": {}
},
"interrupt_id": "<string>",
"run_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"model": "<string>",
"parts": [
{
"type": "<string>",
"args": {},
"result": "<unknown>",
"text": "<string>",
"tool_call_id": "<string>",
"tool_name": "<string>"
}
],
"provider": "<string>",
"interrupt_id": "<string>",
"next_tool": "<string>",
"plan_cursor": 123,
"plan_done": true,
"plan_id": "<string>",
"plan_next_step": {},
"requires_action": {
"arguments": {},
"interrupt_id": "<string>",
"raw_request": {},
"tool_name": "<string>",
"type": "<string>"
},
"run_id": "<string>",
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Body
application/json
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I
Resume dashboard companion after approval
curl --request POST \
--url https://api.wazapin.com/v1/companion/resume \
--header 'Content-Type: application/json' \
--data '
{
"decision": {
"approved": true,
"disapprove_reason": "<string>",
"edited_arguments": {}
},
"interrupt_id": "<string>",
"run_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
decision: {approved: true, disapprove_reason: '<string>', edited_arguments: {}},
interrupt_id: '<string>',
run_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/companion/resume', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/companion/resume"
payload = {
"decision": {
"approved": True,
"disapprove_reason": "<string>",
"edited_arguments": {}
},
"interrupt_id": "<string>",
"run_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>",
"model": "<string>",
"parts": [
{
"type": "<string>",
"args": {},
"result": "<unknown>",
"text": "<string>",
"tool_call_id": "<string>",
"tool_name": "<string>"
}
],
"provider": "<string>",
"interrupt_id": "<string>",
"next_tool": "<string>",
"plan_cursor": 123,
"plan_done": true,
"plan_id": "<string>",
"plan_next_step": {},
"requires_action": {
"arguments": {},
"interrupt_id": "<string>",
"raw_request": {},
"tool_name": "<string>",
"type": "<string>"
},
"run_id": "<string>",
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}