Extract structured data with inline JSON Schema
Extracts structured data from files using a custom inline JSON schema.
Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Headers
Optional external end-user identifier forwarded by the API gateway.
Body
ID of the model to use for extraction
JSON Schema object or JSON string defining the structure of data to extract
The file to extract structured data from
Optional metadata as JSON object or JSON string
Optional custom system prompt to guide extraction
Response
OK
Response from the extraction endpoint containing the extracted structured data and metadata about the extraction process.
Indicates whether the extraction request was successful
Metadata about the extraction request and execution
The extracted structured data conforming to the provided JSON Schema. This is the result of analyzing the file and extracting information according to the schema definition.