Compliance

Renew the claim on a task

Changed on

Extends the lease. Returns 409 when the caller does not hold the claim at the given epoch.

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

Request

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

Path parameters

taskId, string uuid required

Request body

ComplianceTaskEpoch required
execution_epoch, integer required

The epoch the claim returned.

Response

The task with its renewed lease.

ComplianceTask required
id, string uuid
kind, 'extraction' | 'rules' | 'evaluation' | 'discrepancy'
evaluation_id, string uuid nullable
framework_document_id, string uuid nullable
status, 'available' | 'claimed' | 'submitted' | 'cancelled'

claimed only while the lease runs; an expired claim reads available.

execution_epoch, integer

Raised by each claim; sent with heartbeat, release and submit.

claimed_by_label, string nullable
lease_expires_at, string date-time nullable
created_at, string date-time

Changes