Proxy workflow

Coordinate this human process end-to-end.

Suspend autonomous work the moment human judgment is needed. Proxy tracks the mission, collects a verified outcome, and resumes the workflow with proof — so nothing falls through the cracks.

Human handoff

Suspend autonomous work when the case needs judgment, consent, verification, voice, chat, or physical follow-through.

Status coordination

Track people, documents, messages, calls, and logistics as explicit mission state instead of loose side notes.

Verified outcome

Return proof, confidence, open questions, and a callback outcome so Resolve or Pay can continue safely.

Contract

Use coordinateHumanProcess when automation must pause.

Create a mission, wait for the human outcome, then submit the result. The orchestrator resumes automatically when the outcome arrives with a confirmedSuccess status.

Full Proxy API reference

Open a mission

curl -X POST https://api.patchr.co/v1/proxy/missions \
  -H "Authorization: Bearer $PATCHR_API_TOKEN" \
  -d '{
    "taskId": "task_abc123",
    "kind": "call",
    "reason": "identityVerificationAndConsent",
    "task": "Contact Hisingen Auto Repair to confirm availability.",
    "proofReq": ["callTranscript","consentRecord"],
    "resume": { "conversationId": "conv_abc", "action": "proxyOutcome" }
  }'

Submit outcome → provider verified

curl -X POST https://api.patchr.co/v1/proxy/missions/{proxyId}/outcome \
  -d '{
    "status": "confirmedSuccess",
    "note": "Confirmed available today at 15:00.",
    "availability": { "status": "available", "providerName": "Hisingen Auto Repair" }
  }'

// Response:
{ "ok": true, "verifiedProvider": { "name": "Hisingen Auto Repair", "availability": {...} } }