GET

/v1/schemas/cohere/embeddings/v1/embed

kind inputactivity embeddingshash 481e03b0…extracted Aug 15, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.

upstream-spec

Source trace
e567cbddb2cc3cbd6a156ba9d74213895fc4e6df55d489d401327ed177ab803b
{
  "fetchedAt": 1786771957,
  "extractorVersion": "1",
  "verifiedAt": null
}

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"

Types

2 $defs

EmbeddingTypeenum

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 tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"cohere","endpointId":"v1/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}