curl --request POST \
--url https://platform.kodexa.ai/api/cloud-models \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"active": true,
"cachedTokenPrice": 123,
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"description": "<string>",
"embedding": true,
"id": "<string>",
"imageUrl": "<string>",
"inputTokenPrice": 123,
"modelId": "<string>",
"name": "<string>",
"outputTokenPrice": 123,
"provider": "<string>",
"providerUrl": "<string>",
"thinkingTokenPrice": 123,
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}
'{
"active": true,
"cachedTokenPrice": 123,
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"description": "<string>",
"embedding": true,
"id": "<string>",
"imageUrl": "<string>",
"inputTokenPrice": 123,
"modelId": "<string>",
"name": "<string>",
"outputTokenPrice": 123,
"provider": "<string>",
"providerUrl": "<string>",
"thinkingTokenPrice": 123,
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}Creates a new CloudModel. Cloud models configure external AI models for document processing.
curl --request POST \
--url https://platform.kodexa.ai/api/cloud-models \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"active": true,
"cachedTokenPrice": 123,
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"description": "<string>",
"embedding": true,
"id": "<string>",
"imageUrl": "<string>",
"inputTokenPrice": 123,
"modelId": "<string>",
"name": "<string>",
"outputTokenPrice": 123,
"provider": "<string>",
"providerUrl": "<string>",
"thinkingTokenPrice": 123,
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}
'{
"active": true,
"cachedTokenPrice": 123,
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"description": "<string>",
"embedding": true,
"id": "<string>",
"imageUrl": "<string>",
"inputTokenPrice": 123,
"modelId": "<string>",
"name": "<string>",
"outputTokenPrice": 123,
"provider": "<string>",
"providerUrl": "<string>",
"thinkingTokenPrice": 123,
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>"
}API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.
A cloud model configures an external AI model for document processing.
Created CloudModel
A cloud model configures an external AI model for document processing.