Inspect an import
https://zwhwryofdsgmzgqbcghl.supabase.co/functions/v1/api/v1/imports/{id}Requires the imports:write scope. See keys and scopes.
Try it
10 requests a minute
Kept in this tab only (sessionStorage), never saved to disk and never put in the code sample. It is sent to CuspFlow's own proxy on this domain, not to a third party.
Confirm the clinic id (optional)
Fill this in and the request is refused unless the key really belongs to that clinic. It guards against pasting the wrong key, not against an attacker: the clinic is already in the key and anyone holding it can read it from whoami.
Path parameters
curl --request GET \
--url 'https://zwhwryofdsgmzgqbcghl.supabase.co/functions/v1/api/v1/imports/{id}' \
--header 'Authorization: Bearer '"$CUSPFLOW_API_KEY" \
--header 'Accept: application/json'Path parameters
idstring<uuid> required | The import report id returned by POST /v1/imports. |
Responses
{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"entity": "string",
"created_at": "2026-11-05T09:30:00+03:00",
"summary": {},
"anomalies": {},
"rows_present": 0,
"rollback_available": false
}
}401 | Missing, malformed, revoked or expired key. |
403 | Key lacks `imports:write`, or the clinic is read-only. |
404 | No such import report in this clinic. |
429 | Rate limited. |
Every error is application/problem+json and carries a code you can branch on. The full catalogue is in error codes.
Try it
10 requests a minute
Kept in this tab only (sessionStorage), never saved to disk and never put in the code sample. It is sent to CuspFlow's own proxy on this domain, not to a third party.
Confirm the clinic id (optional)
Fill this in and the request is refused unless the key really belongs to that clinic. It guards against pasting the wrong key, not against an attacker: the clinic is already in the key and anyone holding it can read it from whoami.
Path parameters
curl --request GET \
--url 'https://zwhwryofdsgmzgqbcghl.supabase.co/functions/v1/api/v1/imports/{id}' \
--header 'Authorization: Bearer '"$CUSPFLOW_API_KEY" \
--header 'Accept: application/json'