GET /v1/schemas
GET https://api.deskew.dev/v1/schemas
Lists all schema versions in the key’s project, ordered by name and then newest version first. Schemas are shared between test and live keys of the same project. Any valid key may call it.
Example
Section titled “Example”curl https://api.deskew.dev/v1/schemas -H "Authorization: Bearer $DESKEW_API_KEY"schemas = requests.get(f"{API}/v1/schemas", headers=HEADERS).json()["data"]latest = {s["name"]: s for s in reversed(schemas)} # name -> highest versionconst { data } = await (await fetch(`${API}/v1/schemas`, { headers })).json();const latest = Object.fromEntries([...data].reverse().map((s) => [s.name, s]));Response
Section titled “Response”{ "object": "list", "data": [ { "id": "sch_01JE4KG5M6N7P8Q9R0S1T2U3V4", "name": "invoice-v1", "version": 2, "json_schema": { "type": "object", "properties": { "invoice_number": { "type": "string" }, "total": { "type": "number" } }, "required": ["invoice_number", "total"] }, "created_at": "2026-12-01T16:02:33.118Z" }, { "id": "sch_01JE4KC7H2J3K4L5M6N7P8Q9R0", "name": "invoice-v1", "version": 1, "json_schema": { "type": "object", "properties": { "invoice_number": { "type": "string" } } }, "created_at": "2026-11-30T10:41:09.555Z" } ]}The list is not paginated. Extraction with schema=<name> always uses the highest version of that name.
Errors
Section titled “Errors”| Status | Code |
|---|---|
| 401 | missing_api_key, invalid_api_key, key_revoked, key_expired |
| 403 | ip_not_allowed |
| 429 | rate_limited |