GET
/v1/schemas/cohere/embeddings/v1/embed
Accept:
kind inputactivity embeddingshash 481e03b0…extracted Aug 15, 2026version currentsource upstream spec ↗
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracee567cbddb2cc3cbd6a156ba9d74213895fc4e6df55d489d401327ed177ab803b{
"fetchedAt": 1786771957,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
6 properties · 0 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| texts | string[] | An array of strings for the model to embed. Maximum number of texts per call is `96`. | items ≥ 1 · items ≤ 96 |
| images | string[] | An array of image data URIs for the model to embed. | items ≥ 1 |
| model | string | ID of one of the available [Embedding models](https://docs.cohere.com/docs/cohere-embed). | |
| input_type | enum | Specifies the type of input passed to the model. Required for embedding models v3 and higher. | search_document | search_query | classification | clustering | image |
| embedding_types | EmbeddingType[] | Specifies the types of embeddings you want to get back. Not required and default is None, which returns the Embed Floats response type. Can be one or more of the following types. | |
| truncate | enum | One of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length. | NONE | START | END · default: "END" |
Types
2 $defsEmbeddingTypeenum
float | int8 | uint8 | binary | ubinary | base64
EmbedInputTypeenum
Specifies the type of input passed to the model. Required for embedding models v3 and higher.
search_document | search_query | classification | clustering | image
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"cohere","endpointId":"v1/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}