{ "opencollection": "1.0.0", "info": { "name": "Cohere Chat API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Chat", "type": "folder" }, "items": [ { "info": { "name": "Chat with a Cohere model", "type": "http" }, "http": { "method": "POST", "url": "https://api.cohere.com/v2/chat", "body": { "type": "json", "data": "{}" } }, "docs": "Generates a text response to a user message. Accepts a list of chat messages in chronological order representing a conversation between the user and the model. Messages can include User, Assistant, Tool, and System roles. Supports tool use, retrieval-augmented generation, and structured JSON output." }, { "info": { "name": "Chat with streaming response", "type": "http" }, "http": { "method": "POST", "url": "https://api.cohere.com/v2/chat/stream", "body": { "type": "json", "data": "{}" } }, "docs": "Generates a text response to a user message and streams it using server-sent events (SSE). Partial results are delivered as they are generated, enabling real-time display in user interfaces. Emits stream-start, content-delta, citation-start, citation-end, and stream-end events." } ] } ], "bundled": true }