# List all extracts Fetch a list of all available extractions. Endpoint: GET /extract/ Version: 0.8.1 Security: tokenAuth ## Query parameters: - `page` (integer) Number of the page. - `search` (string) (Optional) Allows searching within the fields extract.document_name and extract.schema.name - `size` (integer) Page size. - `workflow_id` (string) (Optional) Optional id of a workflow to filter by. - `workflow_session_id` (integer) (Optional) Optional id of a workflow session to filter by. - `meta_key` (string) (Optional) Recherche un extract qui contient la clé dans ses metadatas. - `meta_value` (string) (Optional) Recherche un extract qui contient la valeur dans ses metadatas. ## Response 200 fields (application/json): - `count` (integer, required) Example: 1 - `next` (string,null, required) Example: "https://api.anesya.app/schema/?page=3&size=50" - `previous` (string,null, required) Example: "https://api.anesya.app/schema/?page=2&size=50" - `results` (array, required) - `results.id` (string, required) Example: "300f339f-da71-4f9f-80f6-c25a63baae75" - `results.document_name` (string,null, required) Example: "invoice.pdf" - `results.document_url` (string, required) Example: "/document/3019eef7-3aaa-4f25-aaad-c570acaa32dc/?type=extract" - `results.workflow` (string) Example: "300f339f-da71-4f9f-80f6-c25a63baae75" - `results.workflow_session_id` (integer) Example: 1758716706 - `results.schema` (object) - `results.schema.name` (string, required) Example: "Invoice schema" - `results.schema.description` (string, required) Example: "Schema used for extracting data from customs invoices" - `results.schema.additional_informations` (string,null) Free-form context to help the AI interpret the document (business jargon, abbreviations, locale/date/currency formats, vendor aliases, layout quirks). Use this when relevant details are missing from the file itself. Example: "Common abbreviations: \"CB\" = credit card, \"TVA\" = VAT. Amounts use a comma as the decimal separator.\n" - `results.schema.schema` (object,null, required) Schema definition in OpenAPI JSON format - `results.schema.created_at` (string) Example: "2025-06-12T14:56:10.682461Z" - `results.schema.updated_at` (string) Example: "2025-06-12T14:56:10.682461Z" - `results.classifier` (string) Example: "300f339f-da71-4f9f-80f6-c25a63baae75" - `results.server` (string) * - Eu1 * - Fr1 * - Fr2 * - Fr3 Enum: "EU-1", "FR-1", "FR-2", "FR-3" - `results.status` (string, required) * - Created * - In Progress * - Finished * - Error Enum: "CREATED", "IN_PROGRESS", "FINISHED", "ERROR" - `results.error` (string,null, required) Example: "Failed to extract" ## Response 401 fields (application/json): - `detail` (string) Example: "Given token not valid for any token type"