hosting
GET /v1/sites/{siteId}/migrations/probes/{probeId}
Poll a migration probe until it has an answer.
Authentication
Send an API key as a bearer token. The key must carry the hosting.import.manage permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/sites/{siteId}/migrations/probes/{probeId} \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
The row the probe call created, as the worker completes it. status is pending until the sign-in has run (seconds; at most a few minutes), then done with the inventory. A refused probe answers 422 with the same machine codes the probe call documents. A probe whose worker was lost is answered source_check_timed_out; a row never stays pending for ever. Reads the row, never Temporal, so polling is cheap. Scoped to the site: another tenant's probe id is a 404. Requires hosting.import.manage.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | Uuid | Yes | Site ID (UUIDv7). |
probeId (path) | string | Yes | The probe_id the probe call answered with. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
probe_id | string | Yes | — |
status | string<pending, done, refused> | Yes | — |
inventory | MigrationSourceInventory | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429