GET

/v1/schemas/ollama/embeddings/api/embed

kind inputactivity embeddingshash 68dbc8ba…extracted Nov 10, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
d8e08be41dd858c933c32bef5ee8d0c5faf7d7462069a49b368731cfbceaab03
{
  "fetchedAt": 1794288644,
  "extractorVersion": "2",
  "verifiedAt": null
}

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

Types

1 $defs

ModelOptionsobject

Runtime options that control text generation

seedintegerRandom seed used for reproducible outputs
temperaturenumberControls randomness in generation (higher = more random)format: float
top_kintegerLimits next token selection to the K most likely
top_pnumberCumulative probability threshold for nucleus samplingformat: float
min_pnumberMinimum probability threshold for token selectionformat: float
stopstring | string[]Stop sequences that will halt generation
num_ctxintegerContext length size (number of tokens)
num_predictintegerMaximum number of tokens to generate

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", …}]}