GET
/v1/schemas/ollama/embeddings/api%2Fembed
Accept:
kind inputactivity embeddingshash 68dbc8ba…extracted Nov 10, 2026version currentsource upstream spec ↗
Request body
6 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| model* | string | Model name | |
| input* | string | string[] | Text or array of texts to generate embeddings for | |
| truncate | boolean | If true, truncate inputs that exceed the context window. If false, returns an error. | default: true |
| dimensions | integer | Number of dimensions to generate embeddings for | |
| keep_alive | string | Model keep-alive duration | |
| options | ModelOptions | Runtime options that control text generation |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"ollama","endpointId":"api/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}