completions

Request Verification

Enqueue an autonomous verification job for a task completion (Verification Layer V2 + V7 doc_check, POST /completions/:completion_id/verification-jobs): http_probe checks a URL (params url, and optionally expect_status, expect_content_type, expect_sha256), doc_check runs a named policy against params.url and params.policy_id. Read the result with tascan_list_verifications once the job runs. Write tier.

post/completions/{completion_id}/verification-jobs

Request

  • Base URL: https://app.tascan.io/api/v1
  • URL: https://app.tascan.io/api/v1/completions/{completion_id}/verification-jobs
  • Auth: HTTP bearer

Path parameters

completion_idstring required

Request body

check_type'http_probe' | 'doc_check' required

Which autonomous check to run.

paramsobject required

For http_probe: url, and optionally expect_status, expect_content_type, expect_sha256. For doc_check: url and policy_id, where policy_id names an active doc_check policy.

run_atstring

Optional ISO timestamp to schedule the job for (default now).

idempotency_keystring

Optional replay key (up to 200 chars).

Response

Success. JSON body: { data: ... } or an error object { error, message }.

Changes

No recorded changes to this operation across all 1 revision of this API.