cURL
curl --request GET \ --url https://api.invaro.ai/api/v1/api/v1/schemas/id/{schema_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "b3376c85-86e0-476e-aee9-5f05afaa05ea", "user_id": "b4825725-605b-4374-a64e-c40896b5a0e8", "name": "invoice_schema_v1", "type": "invoice", "description": "Schema for parsing standard invoices", "schema_string": "{\"fields\": [...]} Gzip Base64 format", "version": 1, "is_active": true, "created_at": "2024-01-18T12:34:56Z", "updated_at": "2024-01-18T12:34:56Z" } }
Retrieves a specific schema by ID. Only returns active schemas.
{ "success": true, "data": { "id": "b3376c85-86e0-476e-aee9-5f05afaa05ea", "name": "invoice_schema_v1", "type": "invoice", "description": "Schema for parsing standard invoices", "schema_string": "{\"fields\": [...]}", "version": 1, "is_active": true, "created_at": "2024-01-18T12:34:56Z", "updated_at": "2024-01-18T12:34:56Z" } }
curl "https://api.invaro.ai/api/v1/schemas/id/b3376c85-86e0-476e-aee9-5f05afaa05ea" \ -H "Authorization: Bearer your_api_key"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the schema.
Schema retrieved successfully
true
Show child attributes
"b3376c85-86e0-476e-aee9-5f05afaa05ea"
"b4825725-605b-4374-a64e-c40896b5a0e8"
"invoice_schema_v1"
invoice
bank_statement
"invoice"
"Schema for parsing standard invoices"
JSON string representation of the schema fields
"{\"fields\": [...]} Gzip Base64 format"
1
"2024-01-18T12:34:56Z"