Get a schema
Get an extraction schema by slug.
{slug} is the schema slug from the list route.Authorizations
Organisation API key from Settings → API / /api/keys/. The secret is
shown once. Send Authorization: Bearer sk-abacus-…. One active key
per organisation. Ingest (/api/v2/ingest/*) refuses API keys — that
surface is Auth0-only with ingest:read / ingest:write scopes.
Path Parameters
Response
Full Struct projection for the detail / restore response.
Adds the working draft body (schema_json, annotations_json), the
nested current version summary, optional sample attachment, and a
description for editing.
200^[-a-zA-Z0-9_]+$200List shape for StructVersion rows (no schema body).
draft- Draftactive- Activearchived- Archived
draft, active, archived Mirror of schema_json['mode'] for filtering/display; schema_json is authoritative.
form- Formdocument- Document
form, document Org-scoped black-hole participation flag (Decision 2). Only the current PUBLISHED, non-deprecated version participates in classification — enforced by documents.services.black_hole.black_hole_participants(), not here. The flag may be set on a draft; it becomes effective on first publish.

