API Reference

Add a Schema

Create a new schema by posting a valid JSON schema. The schema should be a valid JSON schema that represents the structured output you want to extract from documents.

Body Params
string
required

Name of the new schema.

jsonSchema
object
required

The new JSON schema to add. Must be a valid JSON schema (https://json-schema.org/).

Responses

Response body
object
boolean
required

Whether the schema was successfully added.

string
required

Unique identifier of the new schema.

string
required

Unique identifier of the job that made the schema.

string
required

Timestamp of the creation of the schema.

Language
Credentials