Dedicated Engine
A Dedicated Engine object holds specification and a current state of training setup for a Dedicated Engine.
Important Notes:
- Talk with a Rossum representative about enabling this feature
- You can create new Dedicated Engine objects, but no Dedicated Engine will be trained unless Dedicated Engines are part of your contract.
Dedicated engine
ID of the engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated engine
List dedicated engines
GET api / v1 / dedicated_engines
Retrieve all dedicated engine objects.
curl -X GET "https://example.rossum.app/api/v1/dedicated_engines"{
"results": [
{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}
],
"pagination": {
"next": null,
"previous": null
}
}{
"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 dedicated engine
POST api / v1 / dedicated_engines
Create a new dedicated engine object.
Talk with a Rossum representative about enabling this feature. You can create new Dedicated Engine objects. However, no Dedicated Engine will be trained unless Dedicated Engines are part of your agreement.
curl -X POST "https://example.rossum.app/api/v1/dedicated_engines" \ -H "Content-Type: application/json" \ -d '{ "name": "Dedicated engine 1" }'{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}{
"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
Description of the engine
Related dedicated engine schema URL
Response
Created
ID of the engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated 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
Retrieve dedicated engine
GET api / v1 / dedicated_engines / {dedicatedEngineID}
Get a dedicated engine object.
curl -X GET "https://example.rossum.app/api/v1/dedicated_engines/3000"{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}{
"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 engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated 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
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 dedicated engine
PATCH api / v1 / dedicated_engines / {dedicatedEngineID}
Update part of a dedicated engine object.
If status is not draft, the whole engine and its schema become read-only.
curl -X PATCH "https://example.rossum.app/api/v1/dedicated_engines/3000" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}{
"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
Description of the engine
Related dedicated engine schema URL
Response
OK
ID of the engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated 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
Delete dedicated engine
DELETE api / v1 / dedicated_engines / {dedicatedEngineID}
Delete dedicated engine object.
curl -X DELETE "https://example.rossum.app/api/v1/dedicated_engines/3000"{
"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 dedicated engine
PUT api / v1 / dedicated_engines / {dedicatedEngineID}
Update dedicated engine object.
If status is not draft, the whole engine and its schema become read-only.
curl -X PUT "https://example.rossum.app/api/v1/dedicated_engines/3000" \ -H "Content-Type: application/json" \ -d '{ "name": "Dedicated engine 1" }'{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}{
"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
Description of the engine
Related dedicated engine schema URL
Response
OK
ID of the engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated 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
Request dedicated engine
POST api / v1 / dedicated_engines / request
Request training of a new Dedicated Engine using a form (multipart/form-data).
Talk with a Rossum representative about enabling this feature. You can create new Dedicated Engine objects. However, no Dedicated Engine will be trained unless Dedicated Engines are part of your agreement.
curl -X POST "https://example.rossum.app/api/v1/dedicated_engines/request" \ -F document_type="Custom invoice" \ -F document_language="en-US" \ -F volume="9"{
"id": 3000,
"name": "Dedicated engine 1",
"description": "AI engine trained to recognize data for the specific data capture requirement",
"url": "https://example.rossum.app/api/v1/dedicated_engines/3000",
"status": "draft",
"schema": "https://example.rossum.app/api/v1/dedicated_engine_schemas/6000",
"queues": []
}{
"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
multipart/form-data
Type of the document the engine should predict
Language of the documents
Estimated volume per year
Multiple sample files of the documents
Response
OK
ID of the engine
Name of the engine
Description of the engine
URL of the engine
Current status of the engine. If status is not draft, the whole engine and its schema become read-only.
"draft"Related dedicated engine schema URL
List of queues using this dedicated 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