GET

/v1/schemas/cohere/embeddings/v1%2Fembed

kind inputactivity embeddingshash 481e03b0…extracted Aug 15, 2026version currentsource upstream spec ↗

Request body

6 properties · 0 required · 2 $defs
propertytypedescriptionconstraints
textsstring[]An array of strings for the model to embed. Maximum number of texts per call is `96`.items ≥ 1 · items ≤ 96
imagesstring[]An array of image data URIs for the model to embed.items ≥ 1
modelstringID of one of the available [Embedding models](https://docs.cohere.com/docs/cohere-embed).
input_typeenumSpecifies the type of input passed to the model. Required for embedding models v3 and higher.search_document | search_query | classification | clustering | image
embedding_typesEmbeddingType[]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.
truncateenumOne of `NONE|START|END` to specify how the API will handle inputs longer than the maximum token length.NONE | START | END · default: "END"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"cohere","endpointId":"v1/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}