curl --request GET \
--url https://api.lucidtech.ai/{basePath}/predictions \
--header 'Authorization: Bearer <token>'{
"nextToken": "<string>",
"predictions": [
{
"updatedTime": "<string>",
"metadata": {},
"updatedBy": "<string>",
"modelId": "<string>",
"description": "<string>",
"predictions": [
{
"confidence": 0.5,
"label": "<string>",
"value": "<string>",
"validators": "<array>",
"warnings": [
"<string>"
],
"rotation": 123,
"source": "llm",
"formatters": "<array>",
"rawValue": "<string>",
"attentionMap": [
[
123
]
],
"location": [
0.5
],
"page": 123,
"errors": [
"<string>"
]
}
],
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"documentId": "<string>",
"predictionId": "<string>",
"trainingId": "<string>",
"nextPage": 123,
"postprocessConfig": {
"strategy": "BEST_FIRST",
"outputFormat": "v1"
},
"warnings": [
"<string>"
],
"inferenceTime": 1,
"error": "<string>",
"agentRunId": "<string>",
"preprocessConfig": {
"trimMargins": true,
"useGhostScript": true,
"startPage": 123,
"pages": [
123
],
"usePoppler": true,
"padToFit": true,
"useTextDetection": true,
"maxPages": 50,
"rotation": 0,
"deskewImage": true,
"autoRotate": true,
"imageQuality": "LOW"
},
"fileUrl": "<string>",
"errors": [
"<string>"
],
"status": "pending"
}
],
"modelId": "<string>",
"sortBy": "createdTime",
"order": "ascending"
}List Predictions
curl --request GET \
--url https://api.lucidtech.ai/{basePath}/predictions \
--header 'Authorization: Bearer <token>'{
"nextToken": "<string>",
"predictions": [
{
"updatedTime": "<string>",
"metadata": {},
"updatedBy": "<string>",
"modelId": "<string>",
"description": "<string>",
"predictions": [
{
"confidence": 0.5,
"label": "<string>",
"value": "<string>",
"validators": "<array>",
"warnings": [
"<string>"
],
"rotation": 123,
"source": "llm",
"formatters": "<array>",
"rawValue": "<string>",
"attentionMap": [
[
123
]
],
"location": [
0.5
],
"page": 123,
"errors": [
"<string>"
]
}
],
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"documentId": "<string>",
"predictionId": "<string>",
"trainingId": "<string>",
"nextPage": 123,
"postprocessConfig": {
"strategy": "BEST_FIRST",
"outputFormat": "v1"
},
"warnings": [
"<string>"
],
"inferenceTime": 1,
"error": "<string>",
"agentRunId": "<string>",
"preprocessConfig": {
"trimMargins": true,
"useGhostScript": true,
"startPage": 123,
"pages": [
123
],
"usePoppler": true,
"padToFit": true,
"useTextDetection": true,
"maxPages": 50,
"rotation": 0,
"deskewImage": true,
"autoRotate": true,
"imageQuality": "LOW"
},
"fileUrl": "<string>",
"errors": [
"<string>"
],
"status": "pending"
}
],
"modelId": "<string>",
"sortBy": "createdTime",
"order": "ascending"
}The access token received from the authorization server in the OAuth 2.0 flow.