Skip to content

POST/v1/schemas/

Persist a validated schema for the authenticated user.

Body

Sent as application/json.

  • namestringRequired

    Unique name to save the schema under (per user).

  • schema_jsonobjectRequired

    JSON extraction schema to save.

Returns

201 with a JSON object.

Show response attributesHide response attributes
  • namestringRequired
  • schema_jsonobjectRequired
  • create_timestring or null

Errors

Every error has the same JSON body. See Errors for the error codes and when to retry.

  • 400Bad Request
  • 401Unauthorized
  • 403Forbidden
  • 404Not Found
  • 409Conflict
  • 410Gone
  • 413Request Entity Too Large
  • 422Unprocessable Entity
  • 429Too Many Requests
  • 500Internal Server Error