curl --request POST \
--url https://api.lucidtech.ai/{basePath}/models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '"<any>"'
{
"updatedTime": "<string>",
"metadata": {},
"updatedBy": "<string>",
"trainingId": "<string>",
"modelId": "<string>",
"postprocessConfig": {
"strategy": "BEST_FIRST",
"outputFormat": "v1"
},
"description": "<string>",
"fieldConfig": {},
"version": 1,
"organizationId": "<string>",
"preprocessConfig": {
"startPage": 123,
"pages": [
123
],
"maxPages": 50,
"rotation": 0,
"autoRotate": true,
"imageQuality": "LOW"
},
"createdBy": "<string>",
"updatedFieldConfigTime": "<string>",
"numberOfRunningTrainings": 1,
"name": "<string>",
"numberOfDataBundles": 1,
"createdTime": "<string>",
"statistics": {},
"status": "active"
}
Create a new model.
curl --request POST \
--url https://api.lucidtech.ai/{basePath}/models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '"<any>"'
{
"updatedTime": "<string>",
"metadata": {},
"updatedBy": "<string>",
"trainingId": "<string>",
"modelId": "<string>",
"postprocessConfig": {
"strategy": "BEST_FIRST",
"outputFormat": "v1"
},
"description": "<string>",
"fieldConfig": {},
"version": 1,
"organizationId": "<string>",
"preprocessConfig": {
"startPage": 123,
"pages": [
123
],
"maxPages": 50,
"rotation": 0,
"autoRotate": true,
"imageQuality": "LOW"
},
"createdBy": "<string>",
"updatedFieldConfigTime": "<string>",
"numberOfRunningTrainings": 1,
"name": "<string>",
"numberOfDataBundles": 1,
"createdTime": "<string>",
"statistics": {},
"status": "active"
}
The access token received from the authorization server in the OAuth 2.0 flow.
The body is of type any
.
200 response
The response is of type object
.