Complete Agent Handoff
curl --request POST \
--url https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": "<string>",
"result_summary": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_id: '<string>', result_summary: '<string>'})
};
fetch('https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete"
payload = {
"agent_id": "<string>",
"result_summary": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}Complete Agent Handoff
Mark an open or claimed handoff completed with an optional result summary.
POST
https://api.zerodrive.dev
/
v1
/
handoffs
/
{handoff_id}
/
complete
Complete Agent Handoff
curl --request POST \
--url https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_id": "<string>",
"result_summary": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({agent_id: '<string>', result_summary: '<string>'})
};
fetch('https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/handoffs/{handoff_id}/complete"
payload = {
"agent_id": "<string>",
"result_summary": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}
