cohere · Schema
ClassifyResponse
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the classification request. |
| classifications | array | An array of classification results, one per input text. |
| meta | object | Metadata about the API request. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ClassifyResponse",
"title": "ClassifyResponse",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the classification request."
},
"classifications": {
"type": "array",
"description": "An array of classification results, one per input text.",
"items": {
"$ref": "#/components/schemas/Classification"
}
},
"meta": {
"type": "object",
"description": "Metadata about the API request.",
"properties": {
"api_version": {
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "The API version used for the request."
}
}
}
}
}
}
}