Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Acknowledge Synapse Processing Completion

POST
/v1/results/{id}/synapse-processing-completion

Idempotently record one expected Synapse process as terminal and queue order reconciliation once the fan-in barrier closes.

Authorization

apiKey
headerapikey<token>

Path Parameters

id*string

Request Body

application/json
  1. body
processKey*string
outcome*string
Value in"COMPLETE""INCOMPLETE""REVIEW""FAILED"
reconcile*boolean

Whether Cortex should reconcile the order after every expected process completes.

Response Body

Whether the process is tracked, was already complete, whether every expected process is now complete, and whether reconciliation was queued.

application/json
  1. response
managed*boolean
alreadyCompleted*boolean
allProcessed*boolean
reconciliationQueued*boolean
Example Request
curl -X POST 'https://api.cerebrum.com/v1/results/string/synapse-processing-completion' \  -H 'apikey: CEREBRUM_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "processKey": "string",  "outcome": "COMPLETE",  "reconcile": true}'
Example Response
{  "managed": true,  "alreadyCompleted": true,  "allProcessed": true,  "reconciliationQueued": true}