Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

schema_id
string
required

The unique identifier of the extraction schema to use for this extraction

Body

multipart/form-data
model
string
required

ID of the model to use for extraction

file
file
required

The file to extract structured data from

prompt
string

Optional custom system prompt to guide extraction

Response

200 - application/json

OK

Response from the extraction endpoint containing the extracted structured data and metadata about the extraction process.

success
boolean
required

Indicates whether the extraction request was successful

metadata
object
required

Metadata about the extraction request and execution

data
any

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.