GET
/v1/schemas/nvidia/embeddings/nvidia%2Fembed-qa-4
Accept:
kind inputactivity embeddingshash 20c899c1…extracted Oct 8, 2026version currentsource upstream spec ↗
Request body
6 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| input* | string | string[] | Input text to embed. Max length depends on model. | length ≥ 1 · length ≤ 4096 |
| model* | string | ID of the embedding model. | |
| input_type | enum | NV-Embed-QA and E5 models operate in `passage` or `query` mode, and thus require the `input_type` parameter. `passage` is used when generating embeddings during indexing. `query` is used when generating embeddings during querying. It is very important to use t… | passage | query |
| encoding_format | enum | The format to return the embeddings in. | float | base64 · default: "float" |
| truncate | enum | Specifies how inputs longer than the maximum token length of the model are handled. Passing `START` discards the start of the input. `END` discards the end of the input. In both cases, input is discarded until the remaining input is exactly the maximum input t… | NONE | START | END · default: "NONE" |
| user | string | Not implemented, but provided for API compliance. This field is ignored. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"nvidia","endpointId":"nvidia/embed-qa-4","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}