Compliance

Submit the answer to a claimed task

Changed on

The answer is checked against the platform's standard and stored by the same code as the model's own answer, with the agent's label recorded as the decider. The checks cover the answer's shape, that every rule is answered once with a known verdict and a reason, and that each quote appears verbatim in the text the package gave. A failed check returns 422 naming what is wrong and stores nothing. Returns 409 without a live claim at the given epoch. Repeating a submit that was stored (same claimant and epoch) returns the stored result again.

post/v1/compliance/tasks/{taskId}/submit

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

taskId, string uuid required

Request body

object required
execution_epoch, integer required

The epoch the claim returned.

answer, object required

An object matching the output_schema of the claimed package.

Response

The closed task and the stored result.

object required
task, ComplianceTask
result, union

Depends on the task kind.

Changes