Engine
Engine objects are AI models used for data extraction and document splitting. There are two types of engines:
extractor: Engine used for data extraction from documentssplitter: Engine used for splitting of documents
Engine
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
List engines
GET api / v1 / engines
Retrieve all engine objects.
curl -X GET "https://example.rossum.app/api/v1/engines"{
"pagination": {
"next": null,
"previous": null
},
"results": [
{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}
]
}{
"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
Create engine
POST api / v1 / engines
Create a new engine object.
curl -X POST "https://example.rossum.app/api/v1/engines" \ -H "Content-Type: application/json" \ -d '{ "name": "Engine name", "type": "extractor" }'{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}{
"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": "Payload Too Large.",
"code": "payload_too_large"
}{
"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"
}Request Body
application/json
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
Response
Created
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
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
Payload too large (especially for files uploaded).
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 engine
GET api / v1 / engines / {engineID}
Retrieve an engine object.
curl -X GET "https://example.rossum.app/api/v1/engines/3"{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}{
"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
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
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
Partial update engine
PATCH api / v1 / engines / {engineID}
Update part of an engine object.
curl -X PATCH "https://example.rossum.app/api/v1/engines/3" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}{
"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": "Payload Too Large.",
"code": "payload_too_large"
}{
"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"
}Request Body
application/json
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
Response
OK
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
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
Payload too large (especially for files uploaded).
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
Delete engine
DELETE api / v1 / engines / {engineID}
Delete engine object. Only engines without any attached queues can be deleted.
curl -X DELETE "https://example.rossum.app/api/v1/engines/3"{
"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
No Content
No response body.
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
Update engine
PUT api / v1 / engines / {engineID}
Update engine object.
curl -X PUT "https://example.rossum.app/api/v1/engines/3" \ -H "Content-Type: application/json" \ -d '{ "name": "Engine name", "type": "extractor", "organization": "https://example.rossum.app/api/v1/organizations/406" }'{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}{
"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": "Payload Too Large.",
"code": "payload_too_large"
}{
"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"
}Request Body
application/json
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
Response
OK
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
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
Payload too large (especially for files uploaded).
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
Check engine template schema compatibility
POST api / v1 / engines / {engineID} / check_template_compatibility
This endpoint checks whether the schema on the queue of the template organization whose name is provided in the request body is compatible with this engine. See available templates in organization.
curl -X POST "https://example.rossum.app/api/v1/engines/3/check_template_compatibility" \ -H "Content-Type: application/json" \ -d '{ "name": "EU Demo Template" }'{
"compatible": true
}{
"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": "Payload Too Large.",
"code": "payload_too_large"
}{
"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"
}Request Body
application/json
Name of the template organization.
Response
OK
Is the template schema compatible with this engine.
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
Payload too large (especially for files uploaded).
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
Duplicate engine
POST api / v1 / engines / {engineID} / duplicate
This endpoint duplicates an existing engine configuration. You must specify name for the new engine.
All the other attributes (and also engine fields) would be duplicated (except for agenda_id which will be generated).
curl -X POST "https://example.rossum.app/api/v1/engines/3/duplicate" \ -H "Content-Type: application/json" \ -d '{ "name": "Duplicated Engine" }'{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
}
}{
"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": "Payload Too Large.",
"code": "payload_too_large"
}{
"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"
}Request Body
application/json
Name of the duplicated engine.
Response
Created
Engine object ID.
Engine object URL.
Name of the engine.
Type of the engine. Allowed values are:
extractor: Engine used for data extractionsplitter: Engine used for splitting of documents
Whether is the engine learning from the attached queues.
Default:trueDescription of the engine.
Default:""Unique identifier of the engine.
Organization URL.
Queues that are used for training the engine. Queues that become assigned to the engine are added to the list automatically.
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
Payload too large (especially for files uploaded).
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 engine queue statistics
GET api / v1 / engines / {engineID} / queue_stats
Get queue statistics for an engine. Related queues may be sideloaded.
curl -X GET "https://example.rossum.app/api/v1/engines/3/queue_stats"{
"pagination": {
"next": null,
"previous": null
},
"results": [
{
"url": "https://example.rossum.app/api/v1/queues/8198",
"number_of_used_engine_fields": 12,
"prediction_queue": true,
"training_queue": false
}
]
}{
"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