Skip to main content

Create Schema

POST 

/api/v1/extraction/schemas

Create Schema

Request

Cookie Parameters

    session any

Body

required

    name Name (string)required

    The name of the extraction schema

    Possible values: non-empty and <= 3000 characters

    project_id

    object

    The ID of the project that the extraction schema belongs to

    anyOf

    string

    data_schema

    object

    required

    The schema of the data

    property name*

    object

    anyOf

    object

Responses

Successful Response

Schema

    id uuidrequired

    Unique identifier

    created_at

    object

    Creation datetime

    anyOf

    string

    updated_at

    object

    Update datetime

    anyOf

    string

    name Name (string)required

    The name of the extraction schema

    project_id uuidrequired

    The ID of the project that the extraction schema belongs to

    data_schema

    object

    The schema of the data

    anyOf

    property name*

    object

    anyOf

    object