GET
/v1/schemas/groq/embeddings/openai%2Fv1%2Fembeddings
Accept:
kind inputactivity embeddingshash 879e7ac9…extracted Aug 15, 2026version currentsource upstream spec ↗
Request body
4 properties · 2 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| input* | string | string[] | Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays. The input must not exceed the max input tokens for the model, cannot be an empty string, and any array… | |
| model* | string | enum | ID of the model to use. | |
| encoding_format | enum | The format to return the embeddings in. Can only be `float` or `base64`. | float | base64 · default: "float" |
| user | string | A unique identifier representing your end-user, which can help us monitor and detect abuse. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"groq","endpointId":"openai/v1/embeddings","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}