GET
/v1/schemas/cohere/embeddings/v1/embed?kind=output
Accept:
kind outputactivity embeddingshash 23516ddb…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
0 properties · 0 required · 0 $defsThis schema isn’t a plain object with properties — showing the raw JSON instead.
application/json
{
"provider": "cohere",
"activity": "embeddings",
"endpointId": "v1/embed",
"kind": "output",
"contentHash": "23516ddbdd724e0dcfd063f6bca276c8b58c338026777810a72ab1948aa34415",
"specRevision": null,
"provenance": {
"sourceUrl": "https://raw.githubusercontent.com/cohere-ai/cohere-developer-experience/main/cohere-openapi.yaml",
"sourceHash": "2a018e8f34bfd1ee4203c69583349290c7eedc2f0fbfe52bc65b061a70b7dec4",
"fetchedAt": 1793770244,
"extractorVersion": "1",
"derivation": "upstream-spec",
"verifiedAt": null
},
"createdAt": 1793770244,
"supersededAt": null,
"schema": {
"oneOf": [
{
"$ref": "#/$defs/EmbedFloatsResponse"
},
{
"$ref": "#/$defs/EmbedByTypeResponse"
}
],
"discriminator": {
"propertyName": "response_type",
"mapping": {
"embeddings_floats": "#/components/schemas/EmbedFloatsResponse",
"embeddings_by_type": "#/components/schemas/EmbedByTypeResponse"
}
},
"$defs": {
"ApiMeta": {
"type": "object",
"properties": {
"api_version": {
"type": "object",
"x-fern-audiences": [
"public"
],
"properties": {
"version": {
"type": "string",
"x-fern-audiences": [
"public"
]
},
"is_deprecated": {
"type": "boolean",
"x-fern-audiences": [
"public"
]
},
"is_experimental": {
"type": "boolean",
"x-fern-audiences": [
"public"
]
}
},
"required": [
"version"
],
"x-fern-type-name": "ApiMetaApiVersion"
},
"billed_units": {
"type": "object",
"x-fern-audiences": [
"public"
],
"properties": {
"images": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed images.\n"
},
"input_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed input tokens.\n"
},
"image_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed image tokens.\n"
},
"text_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed text tokens.\n"
},
"output_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed output tokens.\n"
},
"search_units": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed search units.\n"
},
"classifications": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed classifications units.\n"
},
"pages": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of billed pages parsed.\n"
}
},
"x-fern-type-name": "ApiMetaBilledUnits"
},
"tokens": {
"type": "object",
"x-fern-audiences": [
"public"
],
"properties": {
"input_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of tokens used as input to the model.\n"
},
"output_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of tokens produced by the model.\n"
}
},
"x-fern-type-name": "ApiMetaTokens"
},
"cached_tokens": {
"type": "number",
"x-fern-audiences": [
"public"
],
"description": "The number of prompt tokens that hit the inference cache.\n"
},
"warnings": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "string",
"x-fern-audiences": [
"public"
]
}
}
},
"x-fern-type-name": "ApiMeta"
},
"EmbedByTypeResponse": {
"type": "object",
"required": [
"id",
"embeddings",
"api_version"
],
"properties": {
"response_type": {
"type": "string",
"x-fern-audiences": [
"public"
],
"enum": [
"embeddings_floats",
"embeddings_by_type"
]
},
"id": {
"type": "string",
"x-fern-audiences": [
"public"
]
},
"embeddings": {
"type": "object",
"x-fern-audiences": [
"public"
],
"description": "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.",
"properties": {
"float": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of float embeddings.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "number",
"x-fern-audiences": [
"public"
]
}
}
},
"int8": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of signed int8 embeddings. Each value is between -128 and 127.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "integer",
"x-fern-audiences": [
"public"
]
}
}
},
"uint8": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of unsigned int8 embeddings. Each value is between 0 and 255.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "integer",
"x-fern-audiences": [
"public"
]
}
}
},
"binary": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of packed signed binary embeddings. The length of each binary embedding is 1/8 the length of the float embeddings of the provided model. Each value is between -128 and 127.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "integer",
"x-fern-audiences": [
"public"
]
}
}
},
"ubinary": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of packed unsigned binary embeddings. The length of each binary embedding is 1/8 the length of the float embeddings of the provided model. Each value is between 0 and 255.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "integer",
"x-fern-audiences": [
"public"
]
}
}
},
"base64": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of base64 embeddings. Each string is the result of appending the float embedding bytes together and base64 encoding that.",
"items": {
"type": "string",
"x-fern-audiences": [
"public"
]
}
}
},
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "number",
"x-fern-audiences": [
"public"
]
}
},
"x-fern-type-name": "EmbedByTypeResponseEmbeddings"
},
"texts": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "The text entries for which embeddings were returned.",
"items": {
"type": "string",
"x-fern-audiences": [
"public"
]
}
},
"images": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "The image entries for which embeddings were returned.",
"items": {
"$ref": "#/$defs/Image",
"x-fern-audiences": [
"public"
]
}
},
"meta": {
"$ref": "#/$defs/ApiMeta",
"x-fern-audiences": [
"public"
]
}
},
"x-examples": {
"Example": {
"value": {
"id": "bc57846a-3e56-4327-8acc-588ca1a37b8a",
"texts": [
"hello world"
],
"embeddings": {
"float": [
[
-0.039520264,
-0.04574585,
-0.08807373,
-0.084106445,
-0.009742737,
-0.0090408325,
-0.048187256,
0.07128906,
0.010688782,
0.016067505,
-0.02822876,
0.036224365,
0.037994385,
-0.041992188,
0.052124023,
-0.027297974,
0.048309326,
0.017410278,
0.004283905,
-0.0058555603,
-0.012992859,
0.023040771,
0.00121212,
0.02078247,
0.04827881,
-0.021530151,
0.017807007,
0.0075531006,
-0.047912598,
-0.042633057,
0.0016927719,
0.04547119,
0.0143585205,
0.022354126,
0.0017910004,
0.048614502,
-0.02609253,
0.007850647,
0.00907135,
0.0035381317,
0.015289307,
-0.008132935,
0.016296387,
-0.02859497,
-0.023712158,
0.008857727,
-0.04309082,
-0.025115967,
0.032928467,
-0.029663086,
0.00434494,
-0.022338867,
-0.004371643,
-0.0075035095,
-0.009529114,
0.0038223267,
-0.06048584,
-0.018127441,
0.010131836,
0.08380127,
0.03652954,
0.0030384064,
0.006034851,
-0.006286621,
0.016784668,
-0.00308609,
0.01612854,
0.011413574,
0.022491455,
0.02482605,
0.0047683716,
0.012245178,
-0.017593384,
-0.023254395,
-0.012641907,
0.030181885,
-0.015365601,
0.031021118,
0.015144348,
0.016708374,
0.02180481,
0.010765076,
-0.015586853,
-0.05819702,
0.02128601,
-0.021713257,
-0.013320923,
-0.0064849854,
-0.001657486,
-0.030715942,
-0.008666992,
0.060668945,
-0.0011959076,
-0.032104492,
-0.057006836,
-0.015655518,
-0.014015198,
0.036987305,
0.011016846,
0.037475586,
-0.015319824,
-0.016479492,
0.0030403137,
-0.028167725,
-0.0067825317,
-0.00894928,
-0.026107788,
0.010231018,
0.031707764,
0.050354004,
-0.016220093,
0.04345703,
-0.008888245,
-0.0037784576,
-0.034576416,
0.002565384,
-0.0018634796,
0.013954163,
0.012062073,
0.046813965,
0.033081055,
0.028778076,
0.0051231384,
0.022094727,
-0.021881104,
-0.009788513,
-0.04647827,
-0.025482178,
0.066833496,
-0.040863037,
-0.019714355,
0.06866455,
-0.07519531,
-0.045532227,
-0.020507812,
0.021331787,
0.036376953,
-0.034210205,
0.017669678,
0.0155181885,
0.047698975,
-0.010368347,
0.010879517,
0.016555786,
-0.028076172,
0.03225708,
-0.0056152344,
-0.020690918,
0.00011438131,
-0.021011353,
-0.04425049,
-0.029922485,
-0.0014362335,
0.013618469,
0.011260986,
0.017532349,
-0.043426514,
0.012557983,
0.026748657,
0.039154053,
-0.030944824,
0.024169922,
0.06573486,
-0.03817749,
-0.025314331,
-0.039794922,
-0.050445557,
-0.0020828247,
-0.0010194778,
0.01725769,
0.0017976761,
0.029067993,
0.0115356445,
0.005214691,
0.0066604614,
-0.014801025,
-0.033172607,
0.023956299,
0.008865356,
0.09539795,
0.062286377,
-0.0076408386,
-0.035125732,
0.09082031,
-0.015350342,
-0.015625,
-0.0090789795,
-0.01876831,
0.05239868,
-0.010406494,
0.05078125,
-0.013694763,
-0.07244873,
0.018539429,
-0.016983032,
-0.03353882,
0.01739502,
0.004055023,
-0.010147095,
-0.0027599335,
-0.002714157,
-0.0107040405,
0.021438599,
-0.029525757,
0.01902771,
-0.025909424,
0.0008072853,
0.026672363,
0.0019044876,
0.016937256,
-0.018814087,
-0.03668213,
0.03338623,
-0.09240723,
-0.024765015,
-0.019378662,
-0.051757812,
0.050109863,
0.018859863,
0.01687622,
0.020111084,
-0.041534424,
0.009559631,
-0.018859863,
0.00005853176,
0.032684326,
-0.04058838,
0.015823364,
-0.038635254,
0.0055656433,
-0.021560669,
0.012481689,
-0.050872803,
-0.036071777,
-0.046844482,
-0.041900635,
-0.06561279,
0.014785767,
0.010124207,
0.030426025,
0.024261475,
0.0057411194,
-0.026275635,
-0.006919861,
0.022750854,
-0.015167236,
0.022964478,
-0.0033664703,
0.02734375,
0.03201294,
0.025939941,
0.019104004,
0.028030396,
-0.014328003,
-0.01574707,
0.06982422,
-0.008026123,
0.006816864,
-0.0019035339,
0.026245117,
-0.028945923,
0.014968872,
0.0054244995,
-0.00028896332,
-0.02243042,
-0.0030822754,
-0.02558899,
-0.022918701,
-0.017089844,
-0.0035190582,
0.029953003,
-0.037078857,
-0.02507019,
-0.017303467,
0.064331055,
-0.028533936,
-0.07287598,
0.028839111,
-0.0029792786,
-0.02104187,
-0.01663208,
-0.016571045,
-0.015106201,
0.0027313232,
0.031051636,
-0.025680542,
0.004722595,
0.032348633,
0.020019531,
0.056365967,
0.07208252,
0.01235199,
0.00084495544,
0.035369873,
-0.018569946,
-0.0063552856,
0.03161621,
0.064575195,
-0.02557373,
-0.007232666,
-0.017700195,
-0.003835678,
0.007381439,
-0.0385437,
-0.0019102097,
-0.023223877,
-0.0124435425,
0.013343811,
0.020996094,
-0.014022827,
-0.01939392,
0.044128418,
0.0052757263,
-0.00068950653,
-0.04876709,
-0.05609131,
-0.020874023,
-0.00806427,
-0.13391113,
-0.06323242,
-0.021865845,
-0.021072388,
0.005832672,
-0.015701294,
-0.006286621,
-0.012954712,
-0.017288208,
0.0036773682,
-0.0084991455,
-0.03213501,
0.021987915,
-0.010322571,
-0.029144287,
0.003824234,
0.02708435,
0.0026187897,
0.05496216,
-0.04916382,
0.005466461,
-0.0070648193,
0.0793457,
-0.040863037,
0.012641907,
0.016448975,
0.02041626,
-0.029006958,
-0.008491516,
0.0023422241,
0.043640137,
0.0121536255,
-0.0043525696,
-0.030899048,
0.0062332153,
-0.013038635,
0.007904053,
-0.03390503,
-0.034729004,
-0.0647583,
-0.0052375793,
-0.08154297,
0.015960693,
0.016235352,
-0.012130737,
-0.021469116,
-0.03253174,
-0.014465332,
0.016448975,
0.004589081,
-0.05291748,
0.018005371,
-0.002981186,
-0.01247406,
0.023147583,
-0.055419922,
-0.08526611,
0.016723633,
0.012939453,
-0.039031982,
0.016677856,
0.016937256,
0.023147583,
0.034576416,
-0.010635376,
0.03466797,
0.037750244,
0.020141602,
-0.0046539307,
0.0059432983,
0.05609131,
0.027709961,
0.01838684,
0.015022278,
-0.039215088,
-0.0048828125,
0.047546387,
0.0138549805,
-0.046203613,
0.036193848,
-0.109680176,
0.0019550323,
-0.03125,
0.0084991455,
-0.0020256042,
-0.001739502,
-0.06756592,
0.03491211,
-0.05633545,
-0.008491516,
0.0048446655,
0.042663574,
0.025054932,
-0.022247314,
-0.0044555664,
0.0022335052,
-0.0071907043,
-0.003982544,
-0.073913574,
-0.011253357,
0.029220581,
-0.0047073364,
-0.04626465,
0.05670166,
-0.041503906,
0.014579773,
-0.016174316,
0.021560669,
-0.019332886,
0.01550293,
0.02709961,
0.010528564,
0.012786865,
-0.023849487,
-0.016937256,
-0.04626465,
-0.04397583,
0.026245117,
-0.017868042,
0.021072388,
-0.02128601,
-0.012161255,
-0.004776001,
-0.0088272095,
0.009246826,
-0.012313843,
0.0096206665,
-0.0047950745,
-0.0079956055,
0.052520752,
-0.06616211,
0.0014686584,
-0.046081543,
0.03289795,
-0.03656006,
0.055389404,
0.009773254,
0.0013818741,
0.043823242,
0.034942627,
0.055236816,
-0.011833191,
-0.024353027,
0.011398315,
-0.051574707,
-0.019882202,
0.0018358231,
-0.005859375,
0.06677246,
-0.0009851456,
-0.026809692,
0.0075798035,
-0.021347046,
-0.01146698,
0.03262329,
0.031585693,
-0.006729126,
0.008659363,
-0.025665283,
0.02947998,
-0.03744507,
0.02027893,
-0.026062012,
0.018585205,
-0.004463196,
-0.036865234,
-0.043670654,
0.021392822,
-0.062561035,
-0.080078125,
0.011451721,
0.06762695,
0.039001465,
-0.016799927,
0.049072266,
0.041412354,
-0.03062439,
0.011795044,
-0.016555786,
0.046569824,
0.010688782,
-0.01902771,
-0.031097412,
-0.023391724,
-0.01651001,
0.009399414,
0.049041748,
-0.025817871,
-0.018356323,
0.02154541,
-0.0029411316,
0.074157715,
0.017059326,
-0.0017595291,
0.00390625,
0.02645874,
-0.0010709763,
0.040222168,
-0.034423828,
0.0231781,
-0.016693115,
-0.022094727,
0.004383087,
0.007331848,
0.018676758,
0.023773193,
-0.0069770813,
0.0029773712,
-0.023712158,
-0.0051956177,
-0.011810303,
-0.0519104,
0.07244873,
0.032409668,
0.016662598,
0.015716553,
-0.03640747,
0.03918457,
-0.046722412,
-0.0046081543,
0.006061554,
-0.011940002,
-0.0004878044,
0.01260376,
0.0073280334,
0.0015096664,
0.005844116,
0.029129028,
0.047668457,
0.05960083,
-0.0647583,
0.064697266,
-0.017440796,
-0.01889038,
0.037628174,
0.0048065186,
-0.023101807,
-0.048675537,
-0.02508545,
-0.007965088,
0.0015897751,
0.06866455,
-0.0099487305,
-0.0022964478,
-0.030014038,
-0.007713318,
-0.034362793,
0.013931274,
0.0026836395,
-0.0014476776,
0.02532959,
-0.020584106,
-0.039001465,
-0.062347412,
-0.04736328,
-0.024368286,
-0.045776367,
0.03149414,
-0.012825012,
0.028076172,
0.0058784485,
0.08062744,
0.0104599,
0.014579773,
-0.041137695,
0.04244995,
-0.021011353,
0.06390381,
0.0010871887,
0.04147339,
-0.0053138733,
0.02268982,
-0.028182983,
-0.022628784,
-0.021408081,
-0.006088257,
0.028030396,
0.025146484,
0.00881958,
-0.04244995,
0.027938843,
0.013916016,
-0.04647827,
0.0072288513,
0.017745972,
-0.02381897,
-0.010147095,
0.0096588135,
-0.04586792,
-0.014480591,
-0.0027217865,
-0.03111267,
0.04522705,
-0.02772522,
-0.0013189316,
0.017807007,
-0.0135269165,
-0.014175415,
-0.00019681454,
0.03161621,
0.0041007996,
-0.024871826,
0.0039367676,
-0.026916504,
0.03237915,
0.007068634,
0.029647827,
-0.0102005005,
0.0076675415,
0.0051078796,
-0.008041382,
-0.0062942505,
0.0010309219,
0.010543823,
-0.010101318,
-0.013496399,
0.00920105,
0.0546875,
-0.02784729,
-0.0056762695,
-0.08679199,
-0.050048828,
0.03378296,
0.010124207,
0.019058228,
-0.037872314,
-0.0063323975,
0.0014324188,
-0.010002136,
-0.015731812,
-0.036071777,
-0.0028915405,
-0.0082092285,
0.0037841797,
-0.020629883,
0.01725769,
-0.026000977,
0.00012862682,
0.021621704,
0.07086182,
-0.008049011,
-0.012634277,
-0.064941406,
-0.0073013306,
-0.02760315,
-0.040649414,
0.02809143,
0.009849548,
0.0011720657,
0.059936523,
-0.032806396,
0.06311035,
0.009536743,
0.014801025,
0.03390503,
-0.002620697,
-0.04650879,
-0.015365601,
0.03741455,
-0.0067443848,
-0.008888245,
-0.0013017654,
-0.010154724,
0.0027217865,
0.016052246,
0.025100708,
-0.030532837,
0.032318115,
0.014564514,
-0.009109497,
0.009628296,
-0.021438599,
-0.049926758,
-0.00088214874,
-0.019638062,
-0.020126343,
0.055847168,
-0.006729126,
-0.044921875,
-0.01890564,
-0.0026683807,
0.0038547516,
0.004600525,
-0.013977051,
0.018341064,
-0.05178833,
0.011054993,
0.019927979,
0.011436462,
0.010391235,
-0.012680054,
-0.017669678,
0.01928711,
0.025115967,
-0.07757568,
-0.030960083,
0.013137817,
-0.066467285,
-0.054473877,
-0.04244995,
-0.027526855,
0.02973938,
-0.024017334,
-0.03918457,
0.0154800415,
-0.036315918,
0.015510559,
-0.020385742,
-0.0390625,
-0.00137043,
0.0016002655,
-0.010238647,
0.014656067,
0.029373169,
-0.027023315,
0.0076141357,
-0.001917839,
0.03451538,
0.004814148,
0.024887085,
0.036315918,
-0.006500244,
-0.070495605,
-0.0071754456,
0.025863647,
0.022994995,
0.007217407,
0.032165527,
0.016830444,
0.02859497,
-0.011123657,
0.020126343,
-0.0014410019,
0.0021781921,
0.053619385,
0.015625,
0.017150879,
-0.03326416,
-0.04626465,
0.034332275,
0.07165527,
-0.040740967,
-0.06628418,
-0.024291992,
-0.0066871643,
0.065979004,
0.034851074,
0.07678223,
0.053009033,
0.0317688,
-0.04019165,
0.030288696,
0.062347412,
-0.011734009,
0.0024604797,
0.006095886,
-0.0152282715,
0.056762695,
0.021270752,
-0.011154175,
-0.0143966675,
0.0057754517,
-0.0003619194,
0.0053367615,
-0.030639648,
0.0024776459,
-0.031799316,
-0.012710571,
0.048828125,
0.029632568,
0.013244629,
0.087890625,
-0.01134491,
0.028656006,
-0.014778137,
0.06695557,
0.026275635,
-0.016113281,
0.018859863,
-0.008239746,
0.024383545,
-0.039154053,
-0.006252289,
0.049224854,
-0.04638672,
0.0031967163,
-0.04849243,
-0.04058838,
0.038757324,
0.00730896,
-0.04345703,
0.04296875,
-0.0024299622,
-0.05670166,
0.019119263,
-0.011802673,
0.038970947,
-0.03366089,
0.03591919,
-0.0009088516,
0.013259888,
-0.07342529,
0.004299164,
0.0395813,
0.013420105,
-0.004459381,
-0.0084991455,
0.031982422,
0.018249512,
-0.0038604736,
-0.022323608,
-0.013031006,
0.0513916,
-0.007068634,
-0.003545761,
0.010292053,
-0.010322571,
-0.0037841797,
0.043701172,
-0.012672424,
0.013725281,
0.021575928,
-0.03942871,
-0.0105896,
-0.01878357,
-0.017623901,
-0.03414917,
0.02142334,
0.026550293,
-0.022903442,
0.008598328,
0.03100586,
0.049957275,
0.021438599,
0.016204834,
-0.014129639,
0.0079193115,
-0.004535675,
0.0010051727,
-0.038208008,
-0.014923096,
-0.01436615,
-0.009666443,
0.0006933212,
0.0132369995,
0.01486969,
0.028762817,
0.011329651,
-0.042663574,
0.014961243,
-0.018127441,
-0.007232666,
0.008369446,
0.027557373,
0.006706238,
-0.05038452,
-0.023666382,
-0.0072898865,
-0.007865906,
-0.008926392,
-0.013137817,
0.08886719,
0.030929565,
0.021255493,
-0.0020389557,
-0.08337402,
-0.020385742,
0.03866577,
-0.020523071,
0.021881104,
0.005756378,
0.022003174,
0.021209717,
-0.06161499,
-0.020309448,
-0.0057258606,
-0.033813477,
0.0017337799,
-0.052612305,
0.01461792,
-0.017944336,
0.042816162,
-0.053710938,
-0.041259766,
-0.014549255,
0.020843506,
-0.019760132,
0.004890442,
-0.0007162094,
-0.009429932,
-0.01966858,
-0.014320374,
0.041259766,
0.00075244904,
-0.0064430237,
0.028961182,
-0.01876831,
0.0027942657,
-0.051116943,
0.00093746185,
0.0037384033,
-0.06982422,
-0.0107040405,
0.030090332,
-0.019104004,
-0.016647339,
-0.037475586,
0.0140686035,
-0.051086426,
-0.032409668,
-0.011131287,
-0.023620605,
-0.04159546,
-0.034851074,
-0.064941406,
-0.03451538,
0.0047416687,
-0.04510498,
0.020477295,
-0.03024292,
-0.034179688,
0.058410645,
0.008514404,
0.0049858093,
0.02331543,
0.03704834,
-0.017333984,
0.014389038,
0.013786316,
0.008583069,
-0.009643555,
0.020095825,
0.013496399,
-0.01991272,
-0.0446167,
0.0075149536,
0.0071029663,
0.0446167,
-0.03933716,
0.009902954,
0.011077881,
0.008781433,
-0.001701355,
0.016235352,
0.01802063,
-0.010765076,
-0.03427124,
0.0112838745,
-0.023208618,
-0.009979248,
-0.010696411,
-0.023208618,
-0.026748657,
-0.02923584,
0.013801575,
-0.050323486,
-0.0059661865,
-0.004837036,
0.01940918,
0.00018620491,
0.0016450882,
0.019012451,
-0.048034668,
0.034423828,
-0.033599854,
0.020126343,
-0.04949951,
0.071899414,
-0.06060791,
-0.043395996,
0.012138367,
0.022476196,
0.029006958,
0.04550171,
-0.03564453,
-0.015090942,
0.055541992,
0.014884949,
0.020767212,
-0.01071167,
0.046905518,
0.033813477,
-0.04260254,
-0.00094127655,
0.016708374,
-0.0011367798,
-0.030426025,
-0.03427124,
0.01763916,
-0.012634277,
0.030517578,
-0.055480957,
-0.054992676,
0.056274414,
-0.0007033348,
-0.058624268,
0.0061531067,
-0.008613586,
0.016067505,
0.003376007,
-0.01586914,
-0.025146484,
0.008491516,
0.053222656,
-0.02923584,
0.021408081
]
],
"ubinary": [
[
1,
218,
231,
179,
247,
164,
161,
62,
191,
23,
200,
16,
114,
29,
23,
240,
145,
187,
72,
119,
96,
126,
121,
10,
76,
43,
200,
122,
213,
7,
202,
249,
86,
2,
36,
27,
252,
194,
25,
128,
33,
39,
171,
156,
160,
195,
73,
189,
223,
53,
68,
228,
37,
94,
20,
41,
87,
228,
164,
213,
68,
237,
97,
150,
212,
244,
61,
39,
244,
195,
6,
129,
125,
116,
59,
100,
36,
107,
179,
48,
228,
21,
192,
247,
136,
118,
130,
26,
243,
33,
40,
181,
227,
245,
230,
31,
109,
149,
61,
106,
83,
74,
174,
98,
75,
6,
250,
135,
211,
129,
197,
225,
81,
67,
86,
68,
2,
159,
118,
119,
100,
8,
245,
79,
59,
34,
146,
205
]
]
},
"meta": {
"api_version": {
"version": "1"
}
}
}
}
},
"x-fern-type-name": "EmbedByTypeResponse"
},
"EmbedFloatsResponse": {
"type": "object",
"required": [
"id",
"embeddings",
"texts",
"api_version"
],
"properties": {
"response_type": {
"type": "string",
"x-fern-audiences": [
"public"
],
"enum": [
"embeddings_floats",
"embeddings_by_type"
]
},
"id": {
"type": "string",
"x-fern-audiences": [
"public"
]
},
"embeddings": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "An array of embeddings, where each embedding is an array of floats. The length of the `embeddings` array will be the same as the length of the original `texts` array.",
"items": {
"type": "array",
"x-fern-audiences": [
"public"
],
"items": {
"type": "number",
"x-fern-audiences": [
"public"
]
}
}
},
"texts": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "The text entries for which embeddings were returned.",
"items": {
"type": "string",
"x-fern-audiences": [
"public"
]
}
},
"images": {
"type": "array",
"x-fern-audiences": [
"public"
],
"description": "The image entries for which embeddings were returned.",
"items": {
"$ref": "#/$defs/Image",
"x-fern-audiences": [
"public"
]
}
},
"meta": {
"$ref": "#/$defs/ApiMeta",
"x-fern-audiences": [
"public"
]
}
},
"x-examples": {
"Example": {
"value": {
"id": "bc57846a-3e56-4327-8acc-588ca1a37b8a",
"texts": [
"hello world"
],
"embeddings": [
[
-0.039520264,
-0.04574585,
-0.08807373,
-0.084106445,
-0.009742737,
-0.0090408325,
-0.048187256,
0.07128906,
0.010688782,
0.016067505,
-0.02822876,
0.036224365,
0.037994385,
-0.041992188,
0.052124023,
-0.027297974,
0.048309326,
0.017410278,
0.004283905,
-0.0058555603,
-0.012992859,
0.023040771,
0.00121212,
0.02078247,
0.04827881,
-0.021530151,
0.017807007,
0.0075531006,
-0.047912598,
-0.042633057,
0.0016927719,
0.04547119,
0.0143585205,
0.022354126,
0.0017910004,
0.048614502,
-0.02609253,
0.007850647,
0.00907135,
0.0035381317,
0.015289307,
-0.008132935,
0.016296387,
-0.02859497,
-0.023712158,
0.008857727,
-0.04309082,
-0.025115967,
0.032928467,
-0.029663086,
0.00434494,
-0.022338867,
-0.004371643,
-0.0075035095,
-0.009529114,
0.0038223267,
-0.06048584,
-0.018127441,
0.010131836,
0.08380127,
0.03652954,
0.0030384064,
0.006034851,
-0.006286621,
0.016784668,
-0.00308609,
0.01612854,
0.011413574,
0.022491455,
0.02482605,
0.0047683716,
0.012245178,
-0.017593384,
-0.023254395,
-0.012641907,
0.030181885,
-0.015365601,
0.031021118,
0.015144348,
0.016708374,
0.02180481,
0.010765076,
-0.015586853,
-0.05819702,
0.02128601,
-0.021713257,
-0.013320923,
-0.0064849854,
-0.001657486,
-0.030715942,
-0.008666992,
0.060668945,
-0.0011959076,
-0.032104492,
-0.057006836,
-0.015655518,
-0.014015198,
0.036987305,
0.011016846,
0.037475586,
-0.015319824,
-0.016479492,
0.0030403137,
-0.028167725,
-0.0067825317,
-0.00894928,
-0.026107788,
0.010231018,
0.031707764,
0.050354004,
-0.016220093,
0.04345703,
-0.008888245,
-0.0037784576,
-0.034576416,
0.002565384,
-0.0018634796,
0.013954163,
0.012062073,
0.046813965,
0.033081055,
0.028778076,
0.0051231384,
0.022094727,
-0.021881104,
-0.009788513,
-0.04647827,
-0.025482178,
0.066833496,
-0.040863037,
-0.019714355,
0.06866455,
-0.07519531,
-0.045532227,
-0.020507812,
0.021331787,
0.036376953,
-0.034210205,
0.017669678,
0.0155181885,
0.047698975,
-0.010368347,
0.010879517,
0.016555786,
-0.028076172,
0.03225708,
-0.0056152344,
-0.020690918,
0.00011438131,
-0.021011353,
-0.04425049,
-0.029922485,
-0.0014362335,
0.013618469,
0.011260986,
0.017532349,
-0.043426514,
0.012557983,
0.026748657,
0.039154053,
-0.030944824,
0.024169922,
0.06573486,
-0.03817749,
-0.025314331,
-0.039794922,
-0.050445557,
-0.0020828247,
-0.0010194778,
0.01725769,
0.0017976761,
0.029067993,
0.0115356445,
0.005214691,
0.0066604614,
-0.014801025,
-0.033172607,
0.023956299,
0.008865356,
0.09539795,
0.062286377,
-0.0076408386,
-0.035125732,
0.09082031,
-0.015350342,
-0.015625,
-0.0090789795,
-0.01876831,
0.05239868,
-0.010406494,
0.05078125,
-0.013694763,
-0.07244873,
0.018539429,
-0.016983032,
-0.03353882,
0.01739502,
0.004055023,
-0.010147095,
-0.0027599335,
-0.002714157,
-0.0107040405,
0.021438599,
-0.029525757,
0.01902771,
-0.025909424,
0.0008072853,
0.026672363,
0.0019044876,
0.016937256,
-0.018814087,
-0.03668213,
0.03338623,
-0.09240723,
-0.024765015,
-0.019378662,
-0.051757812,
0.050109863,
0.018859863,
0.01687622,
0.020111084,
-0.041534424,
0.009559631,
-0.018859863,
0.00005853176,
0.032684326,
-0.04058838,
0.015823364,
-0.038635254,
0.0055656433,
-0.021560669,
0.012481689,
-0.050872803,
-0.036071777,
-0.046844482,
-0.041900635,
-0.06561279,
0.014785767,
0.010124207,
0.030426025,
0.024261475,
0.0057411194,
-0.026275635,
-0.006919861,
0.022750854,
-0.015167236,
0.022964478,
-0.0033664703,
0.02734375,
0.03201294,
0.025939941,
0.019104004,
0.028030396,
-0.014328003,
-0.01574707,
0.06982422,
-0.008026123,
0.006816864,
-0.0019035339,
0.026245117,
-0.028945923,
0.014968872,
0.0054244995,
-0.00028896332,
-0.02243042,
-0.0030822754,
-0.02558899,
-0.022918701,
-0.017089844,
-0.0035190582,
0.029953003,
-0.037078857,
-0.02507019,
-0.017303467,
0.064331055,
-0.028533936,
-0.07287598,
0.028839111,
-0.0029792786,
-0.02104187,
-0.01663208,
-0.016571045,
-0.015106201,
0.0027313232,
0.031051636,
-0.025680542,
0.004722595,
0.032348633,
0.020019531,
0.056365967,
0.07208252,
0.01235199,
0.00084495544,
0.035369873,
-0.018569946,
-0.0063552856,
0.03161621,
0.064575195,
-0.02557373,
-0.007232666,
-0.017700195,
-0.003835678,
0.007381439,
-0.0385437,
-0.0019102097,
-0.023223877,
-0.0124435425,
0.013343811,
0.020996094,
-0.014022827,
-0.01939392,
0.044128418,
0.0052757263,
-0.00068950653,
-0.04876709,
-0.05609131,
-0.020874023,
-0.00806427,
-0.13391113,
-0.06323242,
-0.021865845,
-0.021072388,
0.005832672,
-0.015701294,
-0.006286621,
-0.012954712,
-0.017288208,
0.0036773682,
-0.0084991455,
-0.03213501,
0.021987915,
-0.010322571,
-0.029144287,
0.003824234,
0.02708435,
0.0026187897,
0.05496216,
-0.04916382,
0.005466461,
-0.0070648193,
0.0793457,
-0.040863037,
0.012641907,
0.016448975,
0.02041626,
-0.029006958,
-0.008491516,
0.0023422241,
0.043640137,
0.0121536255,
-0.0043525696,
-0.030899048,
0.0062332153,
-0.013038635,
0.007904053,
-0.03390503,
-0.034729004,
-0.0647583,
-0.0052375793,
-0.08154297,
0.015960693,
0.016235352,
-0.012130737,
-0.021469116,
-0.03253174,
-0.014465332,
0.016448975,
0.004589081,
-0.05291748,
0.018005371,
-0.002981186,
-0.01247406,
0.023147583,
-0.055419922,
-0.08526611,
0.016723633,
0.012939453,
-0.039031982,
0.016677856,
0.016937256,
0.023147583,
0.034576416,
-0.010635376,
0.03466797,
0.037750244,
0.020141602,
-0.0046539307,
0.0059432983,
0.05609131,
0.027709961,
0.01838684,
0.015022278,
-0.039215088,
-0.0048828125,
0.047546387,
0.0138549805,
-0.046203613,
0.036193848,
-0.109680176,
0.0019550323,
-0.03125,
0.0084991455,
-0.0020256042,
-0.001739502,
-0.06756592,
0.03491211,
-0.05633545,
-0.008491516,
0.0048446655,
0.042663574,
0.025054932,
-0.022247314,
-0.0044555664,
0.0022335052,
-0.0071907043,
-0.003982544,
-0.073913574,
-0.011253357,
0.029220581,
-0.0047073364,
-0.04626465,
0.05670166,
-0.041503906,
0.014579773,
-0.016174316,
0.021560669,
-0.019332886,
0.01550293,
0.02709961,
0.010528564,
0.012786865,
-0.023849487,
-0.016937256,
-0.04626465,
-0.04397583,
0.026245117,
-0.017868042,
0.021072388,
-0.02128601,
-0.012161255,
-0.004776001,
-0.0088272095,
0.009246826,
-0.012313843,
0.0096206665,
-0.0047950745,
-0.0079956055,
0.052520752,
-0.06616211,
0.0014686584,
-0.046081543,
0.03289795,
-0.03656006,
0.055389404,
0.009773254,
0.0013818741,
0.043823242,
0.034942627,
0.055236816,
-0.011833191,
-0.024353027,
0.011398315,
-0.051574707,
-0.019882202,
0.0018358231,
-0.005859375,
0.06677246,
-0.0009851456,
-0.026809692,
0.0075798035,
-0.021347046,
-0.01146698,
0.03262329,
0.031585693,
-0.006729126,
0.008659363,
-0.025665283,
0.02947998,
-0.03744507,
0.02027893,
-0.026062012,
0.018585205,
-0.004463196,
-0.036865234,
-0.043670654,
0.021392822,
-0.062561035,
-0.080078125,
0.011451721,
0.06762695,
0.039001465,
-0.016799927,
0.049072266,
0.041412354,
-0.03062439,
0.011795044,
-0.016555786,
0.046569824,
0.010688782,
-0.01902771,
-0.031097412,
-0.023391724,
-0.01651001,
0.009399414,
0.049041748,
-0.025817871,
-0.018356323,
0.02154541,
-0.0029411316,
0.074157715,
0.017059326,
-0.0017595291,
0.00390625,
0.02645874,
-0.0010709763,
0.040222168,
-0.034423828,
0.0231781,
-0.016693115,
-0.022094727,
0.004383087,
0.007331848,
0.018676758,
0.023773193,
-0.0069770813,
0.0029773712,
-0.023712158,
-0.0051956177,
-0.011810303,
-0.0519104,
0.07244873,
0.032409668,
0.016662598,
0.015716553,
-0.03640747,
0.03918457,
-0.046722412,
-0.0046081543,
0.006061554,
-0.011940002,
-0.0004878044,
0.01260376,
0.0073280334,
0.0015096664,
0.005844116,
0.029129028,
0.047668457,
0.05960083,
-0.0647583,
0.064697266,
-0.017440796,
-0.01889038,
0.037628174,
0.0048065186,
-0.023101807,
-0.048675537,
-0.02508545,
-0.007965088,
0.0015897751,
0.06866455,
-0.0099487305,
-0.0022964478,
-0.030014038,
-0.007713318,
-0.034362793,
0.013931274,
0.0026836395,
-0.0014476776,
0.02532959,
-0.020584106,
-0.039001465,
-0.062347412,
-0.04736328,
-0.024368286,
-0.045776367,
0.03149414,
-0.012825012,
0.028076172,
0.0058784485,
0.08062744,
0.0104599,
0.014579773,
-0.041137695,
0.04244995,
-0.021011353,
0.06390381,
0.0010871887,
0.04147339,
-0.0053138733,
0.02268982,
-0.028182983,
-0.022628784,
-0.021408081,
-0.006088257,
0.028030396,
0.025146484,
0.00881958,
-0.04244995,
0.027938843,
0.013916016,
-0.04647827,
0.0072288513,
0.017745972,
-0.02381897,
-0.010147095,
0.0096588135,
-0.04586792,
-0.014480591,
-0.0027217865,
-0.03111267,
0.04522705,
-0.02772522,
-0.0013189316,
0.017807007,
-0.0135269165,
-0.014175415,
-0.00019681454,
0.03161621,
0.0041007996,
-0.024871826,
0.0039367676,
-0.026916504,
0.03237915,
0.007068634,
0.029647827,
-0.0102005005,
0.0076675415,
0.0051078796,
-0.008041382,
-0.0062942505,
0.0010309219,
0.010543823,
-0.010101318,
-0.013496399,
0.00920105,
0.0546875,
-0.02784729,
-0.0056762695,
-0.08679199,
-0.050048828,
0.03378296,
0.010124207,
0.019058228,
-0.037872314,
-0.0063323975,
0.0014324188,
-0.010002136,
-0.015731812,
-0.036071777,
-0.0028915405,
-0.0082092285,
0.0037841797,
-0.020629883,
0.01725769,
-0.026000977,
0.00012862682,
0.021621704,
0.07086182,
-0.008049011,
-0.012634277,
-0.064941406,
-0.0073013306,
-0.02760315,
-0.040649414,
0.02809143,
0.009849548,
0.0011720657,
0.059936523,
-0.032806396,
0.06311035,
0.009536743,
0.014801025,
0.03390503,
-0.002620697,
-0.04650879,
-0.015365601,
0.03741455,
-0.0067443848,
-0.008888245,
-0.0013017654,
-0.010154724,
0.0027217865,
0.016052246,
0.025100708,
-0.030532837,
0.032318115,
0.014564514,
-0.009109497,
0.009628296,
-0.021438599,
-0.049926758,
-0.00088214874,
-0.019638062,
-0.020126343,
0.055847168,
-0.006729126,
-0.044921875,
-0.01890564,
-0.0026683807,
0.0038547516,
0.004600525,
-0.013977051,
0.018341064,
-0.05178833,
0.011054993,
0.019927979,
0.011436462,
0.010391235,
-0.012680054,
-0.017669678,
0.01928711,
0.025115967,
-0.07757568,
-0.030960083,
0.013137817,
-0.066467285,
-0.054473877,
-0.04244995,
-0.027526855,
0.02973938,
-0.024017334,
-0.03918457,
0.0154800415,
-0.036315918,
0.015510559,
-0.020385742,
-0.0390625,
-0.00137043,
0.0016002655,
-0.010238647,
0.014656067,
0.029373169,
-0.027023315,
0.0076141357,
-0.001917839,
0.03451538,
0.004814148,
0.024887085,
0.036315918,
-0.006500244,
-0.070495605,
-0.0071754456,
0.025863647,
0.022994995,
0.007217407,
0.032165527,
0.016830444,
0.02859497,
-0.011123657,
0.020126343,
-0.0014410019,
0.0021781921,
0.053619385,
0.015625,
0.017150879,
-0.03326416,
-0.04626465,
0.034332275,
0.07165527,
-0.040740967,
-0.06628418,
-0.024291992,
-0.0066871643,
0.065979004,
0.034851074,
0.07678223,
0.053009033,
0.0317688,
-0.04019165,
0.030288696,
0.062347412,
-0.011734009,
0.0024604797,
0.006095886,
-0.0152282715,
0.056762695,
0.021270752,
-0.011154175,
-0.0143966675,
0.0057754517,
-0.0003619194,
0.0053367615,
-0.030639648,
0.0024776459,
-0.031799316,
-0.012710571,
0.048828125,
0.029632568,
0.013244629,
0.087890625,
-0.01134491,
0.028656006,
-0.014778137,
0.06695557,
0.026275635,
-0.016113281,
0.018859863,
-0.008239746,
0.024383545,
-0.039154053,
-0.006252289,
0.049224854,
-0.04638672,
0.0031967163,
-0.04849243,
-0.04058838,
0.038757324,
0.00730896,
-0.04345703,
0.04296875,
-0.0024299622,
-0.05670166,
0.019119263,
-0.011802673,
0.038970947,
-0.03366089,
0.03591919,
-0.0009088516,
0.013259888,
-0.07342529,
0.004299164,
0.0395813,
0.013420105,
-0.004459381,
-0.0084991455,
0.031982422,
0.018249512,
-0.0038604736,
-0.022323608,
-0.013031006,
0.0513916,
-0.007068634,
-0.003545761,
0.010292053,
-0.010322571,
-0.0037841797,
0.043701172,
-0.012672424,
0.013725281,
0.021575928,
-0.03942871,
-0.0105896,
-0.01878357,
-0.017623901,
-0.03414917,
0.02142334,
0.026550293,
-0.022903442,
0.008598328,
0.03100586,
0.049957275,
0.021438599,
0.016204834,
-0.014129639,
0.0079193115,
-0.004535675,
0.0010051727,
-0.038208008,
-0.014923096,
-0.01436615,
-0.009666443,
0.0006933212,
0.0132369995,
0.01486969,
0.028762817,
0.011329651,
-0.042663574,
0.014961243,
-0.018127441,
-0.007232666,
0.008369446,
0.027557373,
0.006706238,
-0.05038452,
-0.023666382,
-0.0072898865,
-0.007865906,
-0.008926392,
-0.013137817,
0.08886719,
0.030929565,
0.021255493,
-0.0020389557,
-0.08337402,
-0.020385742,
0.03866577,
-0.020523071,
0.021881104,
0.005756378,
0.022003174,
0.021209717,
-0.06161499,
-0.020309448,
-0.0057258606,
-0.033813477,
0.0017337799,
-0.052612305,
0.01461792,
-0.017944336,
0.042816162,
-0.053710938,
-0.041259766,
-0.014549255,
0.020843506,
-0.019760132,
0.004890442,
-0.0007162094,
-0.009429932,
-0.01966858,
-0.014320374,
0.041259766,
0.00075244904,
-0.0064430237,
0.028961182,
-0.01876831,
0.0027942657,
-0.051116943,
0.00093746185,
0.0037384033,
-0.06982422,
-0.0107040405,
0.030090332,
-0.019104004,
-0.016647339,
-0.037475586,
0.0140686035,
-0.051086426,
-0.032409668,
-0.011131287,
-0.023620605,
-0.04159546,
-0.034851074,
-0.064941406,
-0.03451538,
0.0047416687,
-0.04510498,
0.020477295,
-0.03024292,
-0.034179688,
0.058410645,
0.008514404,
0.0049858093,
0.02331543,
0.03704834,
-0.017333984,
0.014389038,
0.013786316,
0.008583069,
-0.009643555,
0.020095825,
0.013496399,
-0.01991272,
-0.0446167,
0.0075149536,
0.0071029663,
0.0446167,
-0.03933716,
0.009902954,
0.011077881,
0.008781433,
-0.001701355,
0.016235352,
0.01802063,
-0.010765076,
-0.03427124,
0.0112838745,
-0.023208618,
-0.009979248,
-0.010696411,
-0.023208618,
-0.026748657,
-0.02923584,
0.013801575,
-0.050323486,
-0.0059661865,
-0.004837036,
0.01940918,
0.00018620491,
0.0016450882,
0.019012451,
-0.048034668,
0.034423828,
-0.033599854,
0.020126343,
-0.04949951,
0.071899414,
-0.06060791,
-0.043395996,
0.012138367,
0.022476196,
0.029006958,
0.04550171,
-0.03564453,
-0.015090942,
0.055541992,
0.014884949,
0.020767212,
-0.01071167,
0.046905518,
0.033813477,
-0.04260254,
-0.00094127655,
0.016708374,
-0.0011367798,
-0.030426025,
-0.03427124,
0.01763916,
-0.012634277,
0.030517578,
-0.055480957,
-0.054992676,
0.056274414,
-0.0007033348,
-0.058624268,
0.0061531067,
-0.008613586,
0.016067505,
0.003376007,
-0.01586914,
-0.025146484,
0.008491516,
0.053222656,
-0.02923584,
0.021408081
]
],
"meta": {
"api_version": {
"version": "1"
}
},
"api_version": "v1"
}
}
},
"x-fern-type-name": "EmbedFloatsResponse"
},
"Image": {
"type": "object",
"required": [
"width",
"height",
"format",
"bit_depth"
],
"properties": {
"width": {
"type": "number",
"format": "int64",
"description": "Width of the image in pixels",
"x-fern-audiences": [
"public"
]
},
"height": {
"type": "number",
"format": "int64",
"description": "Height of the image in pixels",
"x-fern-audiences": [
"public"
]
},
"format": {
"type": "string",
"description": "Format of the image",
"x-fern-audiences": [
"public"
]
},
"bit_depth": {
"type": "number",
"format": "int64",
"description": "Bit depth of the image",
"x-fern-audiences": [
"public"
]
}
},
"x-fern-type-name": "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", …}]}