Generic Engine Schema
Please note that Generic Engine Schema is an internal API and can be changed without notice.
An engine schema is an object which describes what fields are available in the engine. Do not confuse engine schema with Schema
Generic engine schema
ID of the generic engine schema.
URL of the generic engine schema.
List generic engine schemas
GET api / v1 / generic_engine_schemas
Retrieve all generic engine schema objects.
Internal API Warning: Please note that Generic Engine Schema is an internal API and can be changed without notice.
curl -X GET "https://example.rossum.app/api/v1/generic_engine_schemas"{
"pagination": {
"next": null,
"previous": null
},
"results": [
{
"id": 6000,
"url": "https://example.rossum.app/api/v1/generic_engine_schemas/6000",
"content": {
"training_queues": [
"https://example.rossum.app/api/v1/queues/123",
"https://example.rossum.app/api/v1/queues/200",
"https://example.rossum.app/api/v1/queues/321"
],
"fields": [
{
"category": "multivalue",
"engine_output_id": "line_items",
"label": "Line Items",
"trained": true,
"type": "grid",
"description": "Line item column types.",
"children": {
"category": "tuple",
"children": [
{
"category": "datapoint",
"engine_output_id": "document_id",
"label": "Document ID",
"trained": true,
"type": "string",
"description": "Document number",
"sources": [
{
"queue": "string",
"schema_id": "document_id"
}
]
}
]
}
}
]
}
}
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Response
OK
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Retrieve generic engine schema
GET api / v1 / generic_engine_schemas / {genericEngineSchemaID}
Get a generic engine schema object.
Internal API Warning: Please note that Generic Engine Schema is an internal API and can be changed without notice.
curl -X GET "https://example.rossum.app/api/v1/generic_engine_schemas/0"{
"id": 6000,
"url": "https://example.rossum.app/api/v1/generic_engine_schemas/6000",
"content": {
"training_queues": [
"https://example.rossum.app/api/v1/queues/123",
"https://example.rossum.app/api/v1/queues/200",
"https://example.rossum.app/api/v1/queues/321"
],
"fields": [
{
"category": "multivalue",
"engine_output_id": "line_items",
"label": "Line Items",
"trained": true,
"type": "grid",
"description": "Line item column types.",
"children": {
"category": "tuple",
"children": [
{
"category": "datapoint",
"engine_output_id": "document_id",
"label": "Document ID",
"trained": true,
"type": "string",
"description": "Document number",
"sources": [
{
"queue": "string",
"schema_id": "document_id"
}
]
}
]
}
}
]
}
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Response
OK
ID of the generic engine schema.
URL of the generic engine schema.
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error