Skip to main content
GET
/
models
cURL
curl --request GET \
  --url https://api.cradl.ai/{basePath}/models \
  --header 'Authorization: Bearer <token>'
{
  "models": [
    {
      "updatedTime": "<string>",
      "metadata": {},
      "updatedBy": "<string>",
      "trainingId": "<string>",
      "modelId": "<string>",
      "description": "<string>",
      "fieldConfig": {},
      "organizationId": "<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"
      },
      "createdBy": "<string>",
      "numberOfRunningTrainings": 1,
      "name": "<string>",
      "numberOfDataBundles": 1,
      "createdTime": "<string>",
      "status": "active",
      "llmVersion": "sonnet-4.0",
      "postprocessConfig": {
        "strategy": "BEST_FIRST",
        "outputFormat": "v1"
      },
      "version": 1,
      "confidenceVersion": "v1",
      "updatedFieldConfigTime": "<string>",
      "statistics": {}
    }
  ],
  "nextToken": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cradl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

owner
string
nextToken
string
maxResults
string

Response

200 response

models
object[]
required
nextToken
string | null
required
Maximum string length: 4096