hosting

GET /v1/sites/{siteId}/migrations/probes/{probeId}

Poll a migration probe until it has an answer.

All hosting endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).
probeId (path)stringYesThe probe_id the probe call answered with.

Response

NameTypeRequiredWhat it is
probe_idstringYes—
statusstring<pending, done, refused>Yes—
inventoryMigrationSourceInventoryYes—

Errors this endpoint can return

401 · 403 · 404 · 422 · 429