Allow a human to act as the orchestrator for a work item.
curl --request POST \
--url https://api.case.dev/matters/v1/{id}/work-items/{workItemId}/decision \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "approve",
"reason": "<string>",
"agent_type_id": "<string>",
"metadata": {}
}
'API key starting with sk_case_
Decision applied
Was this page helpful?
curl --request POST \
--url https://api.case.dev/matters/v1/{id}/work-items/{workItemId}/decision \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"decision": "approve",
"reason": "<string>",
"agent_type_id": "<string>",
"metadata": {}
}
'