GET
/v1/schemas/cohere/embeddings/v2/embed?kind=output
Accept:
kind outputactivity embeddingshash 41d414cc…extracted Nov 4, 2026version currentsource upstream spec ↗
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace2a018e8f34bfd1ee4203c69583349290c7eedc2f0fbfe52bc65b061a70b7dec4{
"fetchedAt": 1793770244,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
6 properties · 3 required · 2 $defs| property | type | description | constraints |
|---|---|---|---|
| id* | string | ||
| embeddings* | object | An 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_type | enum | embeddings_floats | embeddings_by_type | |
| texts | string[] | The text entries for which embeddings were returned. | |
| images | Image[] | The image entries for which embeddings were returned. | |
| meta | ApiMeta |
Types
2 $defsApiMetaobject
| api_version | object | ||
| billed_units | object | ||
| tokens | object | ||
| cached_tokens | number | The number of prompt tokens that hit the inference cache. | |
| warnings | string[] |
Imageobject
| width* | number | Width of the image in pixels | format: int64 |
| height* | number | Height of the image in pixels | format: int64 |
| format* | string | Format of the image | |
| bit_depth* | number | Bit depth of the image | format: int64 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"cohere","endpointId":"v2/embed","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}