GET
/v1/schemas/cohere/chat/v1/summarize?kind=output
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace2a018e8f34bfd1ee4203c69583349290c7eedc2f0fbfe52bc65b061a70b7dec4{
"fetchedAt": 1793770244,
"extractorVersion": "1",
"verifiedAt": null
} |
Response body
3 properties · 0 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| id | string | Generated ID for the summary | |
| summary | string | Generated summary for the text | |
| meta | ApiMeta |
Types
1 $defsApiMetaobject
| api_version | object | ||
| billed_units | object | ||
| tokens | object | ||
| cached_tokens | number | The number of prompt tokens that hit the inference cache. | |
| warnings | string[] |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"cohere","endpointId":"v1/summarize","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}