Skip to main content

Models - batch-fetch definitions

POST 

/api/v1/models/definitions

Returns parameter schemas and defaults for the requested model names.

Request

Responses

Model definitions

Reference

POST /api/v1/models/definitions

Returns parameter schemas and defaults for the requested model names.

Request body

Content type: application/json (required)

FieldTypeRequiredDescription
namesarray of stringyesArray of model slugs to fetch definitions for (e.g. ['dragon-cup', 'phone-nest'])

Responses

StatusDescription
200Model definitions
400Validation error

Example request

curl -X POST "https://api.bitbybit.dev/api/v1/models/definitions" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ ... }'

Authentication: send your key in the x-api-key header. The full machine-readable specification is at openapi.json.