GET

/v1/schemas/ollama/embeddings/api%2Fembed

kind inputactivity embeddingshash 68dbc8ba…extracted Nov 10, 2026version currentsource upstream spec ↗

Request body

6 properties · 2 required · 1 $defs
propertytypedescriptionconstraints
model*stringModel name
input*string | string[]Text or array of texts to generate embeddings for
truncatebooleanIf true, truncate inputs that exceed the context window. If false, returns an error.default: true
dimensionsintegerNumber of dimensions to generate embeddings for
keep_alivestringModel keep-alive duration
optionsModelOptionsRuntime options that control text generation

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"ollama","endpointId":"api/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}