GET

/v1/schemas/cohere/embeddings/v2/embed?kind=output

kind outputactivity embeddingshash 41d414cc…extracted Nov 4, 2026version currentsource upstream spec ↗

Response body

6 properties · 3 required · 2 $defs
propertytypedescriptionconstraints
id*string
embeddings*objectAn object with different embedding types. The length of each embedding type array will be the same as the length of the original `texts` array.
response_typeenumembeddings_floats | embeddings_by_type
textsstring[]The text entries for which embeddings were returned.
imagesImage[]The image entries for which embeddings were returned.
metaApiMeta

Types

2 $defs

ApiMetaobject

api_versionobject
billed_unitsobject
tokensobject
cached_tokensnumberThe number of prompt tokens that hit the inference cache.
warningsstring[]

Imageobject

width*numberWidth of the image in pixelsformat: int64
height*numberHeight of the image in pixelsformat: int64
format*stringFormat of the image
bit_depth*numberBit depth of the imageformat: int64

Validate a payload

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