Prepare a buyer-side delivery check
assurance_prepareUse this when you, the buyer, chose a public service and want its delivery checked end to end. Pass service_url, checks and explicit_read_only_consent=true. GAIP preflights it and records your checks; returns a terms_id for assurance_complete. Free, no account; records a GAIP receipt only. Inputs must be public and non-personal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | 1-8 checks, each {"id": "http_status_in", "allowed": [200]}, {"id": "content_type_is", "value": "application/json"}, {"id": "non_empty"}, {"id": "json_parses"}, {"id": "json_required_keys", "keys": ["a.b"]}, {"id": "json_path_equals", "path": "a.b", "value": 1}, {"id": "max_latency_ms", "limit": 2000}, {"id": "max_bytes", "limit": 20000}, {"id": "text_contains", "value": "ok"} or {"id": "regex", "pattern": "ok|up"}. | |
| episode_id | No | Optional: your own id to group related calls. | |
| task_class | No | Optional: short name of the task, e.g. weather_forecast. | |
| service_url | Yes | Public https URL of the service. | |
| counterparty_id | No | Name or URL of the agent or service. | |
| data_classification | No | PUBLIC (default) or NON_PERSONAL_PUBLIC. Never send personal data. | PUBLIC |
| explicit_read_only_consent | Yes | Must be true: you consent to a public, read-only check. |