Cohere · Schema
Classification
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for this classification result. |
| input | string | The input text that was classified. |
| prediction | string | The predicted label with the highest confidence. |
| predictions | array | All predicted labels ordered by confidence. |
| confidence | number | The confidence score for the top prediction. |
| confidences | array | Confidence scores for all predictions. |
| labels | object | A map of label names to their confidence scores. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Classification",
"title": "Classification",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for this classification result."
},
"input": {
"type": "string",
"description": "The input text that was classified."
},
"prediction": {
"type": "string",
"description": "The predicted label with the highest confidence."
},
"predictions": {
"type": "array",
"description": "All predicted labels ordered by confidence.",
"items": {
"type": "string"
}
},
"confidence": {
"type": "number",
"description": "The confidence score for the top prediction.",
"minimum": 0,
"maximum": 1
},
"confidences": {
"type": "array",
"description": "Confidence scores for all predictions.",
"items": {
"type": "number"
}
},
"labels": {
"type": "object",
"description": "A map of label names to their confidence scores.",
"additionalProperties": {
"type": "object",
"properties": {
"confidence": {
"type": "number",
"description": "The confidence score for this label.",
"minimum": 0,
"maximum": 1
}
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cohere-classification"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.