PerceptionDocs

Get a schema version

One version of one of the account's schemas. A version never changes. Free, and works at any balance.

GET
/v1/extraction-schemas/{id}/versions/{version}

Other errors (500, 502, 503) are on Errors.

Authorization

bearerAuth
AuthorizationBearer <token>

Your API key from the dashboard's API Keys page: nace_sk_ followed by 43 URL-safe characters (A-Z, a-z, 0-9, _ and -), shown once when you create it. Send it as Authorization: Bearer nace_sk_... Any other value returns 401 authentication_error. An account can hold at most 3 active keys.

In: header

Path Parameters

id*string

The schema's schema_id (sch_...).

Lengthlength <= 128
version*integer
Range1 <= value

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/extraction-schemas/string/versions/1"
{  "schema_id": "string",  "name": "string",  "description": "string",  "version": 1,  "owner": "account",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "schema": {}}