Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
curl -i -X GET \ 'https://api.cloud.hypatos.ai/v2/routings/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "name": "Document routing name",
- "fromProjectId": "263e6663823b4c1f5287398bb",
- "toProjectId": "263e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "id": "63e6663823b4c1f5287398bb",
- "modifiedAt": "2023-02-10T15:46:19.384990Z",
- "modifiedBy": "671f771235cd520084dd655f",
- "createdBy": "671f771235cd520084dd655f",
- "createdAt": "2023-02-10T15:46:19.384990Z",
- "order": 0
}
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
{- "name": "Document routing name",
- "fromProjectId": "63e6663823b4c1f5287398bb",
- "toProjectId": "63e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "modifiedBy": "671f771235cd520084dd655f"
}
{- "name": "Document routing name",
- "fromProjectId": "263e6663823b4c1f5287398bb",
- "toProjectId": "263e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "id": "63e6663823b4c1f5287398bb",
- "modifiedAt": "2023-02-10T15:46:19.384990Z",
- "modifiedBy": "671f771235cd520084dd655f",
- "createdBy": "671f771235cd520084dd655f",
- "createdAt": "2023-02-10T15:46:19.384990Z",
- "order": 0
}
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
curl -i -X DELETE \ 'https://api.cloud.hypatos.ai/v2/routings/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "status": 400,
- "title": "Routing project does not exists",
- "detail": "Error details"
}
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
curl -i -X GET \ 'https://api.cloud.hypatos.ai/v2/routings?limit=20&offset=0' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "name": "Document routing name",
- "fromProjectId": "263e6663823b4c1f5287398bb",
- "toProjectId": "263e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "id": "63e6663823b4c1f5287398bb",
- "modifiedAt": "2023-02-10T15:46:19.384990Z",
- "modifiedBy": "671f771235cd520084dd655f",
- "createdBy": "671f771235cd520084dd655f",
- "createdAt": "2023-02-10T15:46:19.384990Z",
- "order": 0
}
], - "totalCount": 0,
- "limit": 0,
- "offset": 0
}
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
{- "name": "Document routing name",
- "fromProjectId": "63e6663823b4c1f5287398bb",
- "toProjectId": "63e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "createdBy": "671f771235cd520084dd655f"
}
{- "name": "Document routing name",
- "fromProjectId": "263e6663823b4c1f5287398bb",
- "toProjectId": "263e6663823b4c1f5287398bb",
- "postRoutingAction": "reprocess",
- "active": true,
- "routingNode": {
- "evaluation": {
- "type": "conditionalEdges",
- "condition": "or"
}, - "edges": [
- { }
]
}, - "id": "63e6663823b4c1f5287398bb",
- "modifiedAt": "2023-02-10T15:46:19.384990Z",
- "modifiedBy": "671f771235cd520084dd655f",
- "createdBy": "671f771235cd520084dd655f",
- "createdAt": "2023-02-10T15:46:19.384990Z",
- "order": 0
}
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error
{- "direction": "down",
- "count": 2
}
{- "status": 401,
- "title": "Invalid token",
- "detail": "Error details"
}