Use this file to discover all available pages before exploring further.
Use the Extract resource when you want the MKA1 API to turn an uploaded document or image into structured JSON.
You can define the schema inline for a one-off request, or save a reusable schema template first.
If you do not need to reuse the schema, call POST /api/v1/llm/extract instead.
Provide your JSON Schema inline along with the extraction request fields.Note: in the OpenAPI spec, this endpoint is defined as application/json (the file field is sent as a binary-encoded string).
mka1 llm extract extract \ --model auto \ --prompt 'Extract the invoice number and total.' \ --schema '{ "type": "object", "properties": { "invoice_number": { "type": "string" }, "total_amount": { "type": "number" } }, "required": ["invoice_number", "total_amount"] }' \ --file ./invoice.pdf
Use the reusable schema flow when you want a stable contract across many files.