Mobile-ID · Evidence-based trust
Records glossaryContact
Trusted Records · Integration & Developer

Processing jobs and status

Track asynchronous jobs and object-level errors. Tool progress is synthetic.

Request schema from OpenAPI

GET has no request body; Swagger documents paths/context.

Input, scopes and processing

GET /v1/jobs/{jobId} · scope jobs:read. Tenant/project and correlation contexts are required. POST/PATCH use Idempotency-Key; examples/schemas below are proposed contracts.

States and outputs

QUEUED → RUNNING / VALIDATING → SUCCEEDED / FAILED / REVIEW_PENDING. SUCCEEDED describes the job only.

Exceptions and controls

404 for missing jobs within scope; 403 for authorization failures; illustrative 503 for service unavailability.

HTTP example — proposed contract

Request

GET https://records.example.invalid/v1/jobs/{jobId} HTTP/1.1
Authorization: Bearer <example-token>
X-Tenant-Id: synthetic-tenant-001
X-Project-Id: synthetic-project-001
X-Correlation-Id: synthetic-correlation-001

Response · 200

{
  "jobId": "synthetic-job-001",
  "status": "VALIDATING",
  "progress": {
    "processed": 1,
    "total": 2
  },
  "errors": [],
  "correlationId": "synthetic-correlation-001"
}

Required fields and shared controls

ItemProposed rule
scopejobs:read
requiredNo request body
tenant / projectToken and context must match; headers alone are insufficient.
idempotencyPOST/PATCH: same key/body returns original result; changed body returns 409; confirm retention window.
errorcode, message, requestId, correlationId, retryable, details; no sensitive data.

Start with a verifiable scope.

Agree record classes, quality criteria, permissions and evidence before scaling.

Plan assessment

Search Trusted Records

Enlarged source image

Illustrative source image; displayed values are not service commitments.