{ "info": { "_postman_id": "260ac5af-31fe-49dd-84af-b54decf660b6", "name": "Cerebras Inference Chat Completions API", "description": "Generate conversational responses using a structured message format with roles (system, user, assistant, developer, tool). Best for chatbots, assistants, and multi-turn conversations.\n", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T01:18:43.000Z", "updatedAt": "2026-07-28T01:18:43.000Z", "lastUpdatedBy": "35240", "uid": "35240-260ac5af-31fe-49dd-84af-b54decf660b6" }, "item": [ { "name": "v1", "item": [ { "name": "completions", "item": [ { "name": "Completions", "id": "b940cc59-b22f-446c-825d-4617455044c3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "X-Amz-Cf-Id", "value": "" }, { "key": "CF-RAY", "value": "" }, { "key": "X-delay-time", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"model\": \"\",\n \"prompt\": \"\",\n \"best_of\": \"\",\n \"echo\": \"\",\n \"frequency_penalty\": \"\",\n \"grammar_root\": \"\",\n \"logit_bias\": {\n \"doce3\": \"\",\n \"occaecat96\": \"\",\n \"deserunt_2b\": \"\"\n },\n \"logprobs\": \"\",\n \"max_tokens\": \"\",\n \"min_tokens\": \"\",\n \"n\": \"\",\n \"presence_penalty\": \"\",\n \"prompt_cache_key\": \"\",\n \"reasoning_format\": \"parsed\",\n \"return_raw_tokens\": \"\",\n \"seed\": \"\",\n \"stop\": \"\",\n \"stream\": \"\",\n \"stream_options\": {\n \"include_usage\": \"\"\n },\n \"suffix\": \"\",\n \"temperature\": \"\",\n \"top_p\": \"\",\n \"user\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/completions", "host": [ "{{baseUrl}}" ], "path": [ "v1", "completions" ] } }, "response": [ { "id": "3100ba13-d3cf-40e1-bda4-c6aa1b83fa9f", "name": "Successful Response", "originalRequest": { "method": "POST", "header": [ { "key": "X-Amz-Cf-Id", "value": "" }, { "key": "CF-RAY", "value": "" }, { "key": "X-delay-time", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"model\": \"\",\n \"prompt\": \"\",\n \"best_of\": \"\",\n \"echo\": \"\",\n \"frequency_penalty\": \"\",\n \"grammar_root\": \"\",\n \"logit_bias\": {\n \"doce3\": \"\",\n \"occaecat96\": \"\",\n \"deserunt_2b\": \"\"\n },\n \"logprobs\": \"\",\n \"max_tokens\": \"\",\n \"min_tokens\": \"\",\n \"n\": \"\",\n \"presence_penalty\": \"\",\n \"prompt_cache_key\": \"\",\n \"reasoning_format\": \"parsed\",\n \"return_raw_tokens\": \"\",\n \"seed\": \"\",\n \"stop\": \"\",\n \"stream\": \"\",\n \"stream_options\": {\n \"include_usage\": \"\"\n },\n \"suffix\": \"\",\n \"temperature\": \"\",\n \"top_p\": \"\",\n \"user\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/completions", "host": [ "{{baseUrl}}" ], "path": [ "v1", "completions" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"choices\": [\n {\n \"index\": \"\",\n \"finish_reason\": \"tool_calls\",\n \"logprobs\": {\n \"text_offset\": [\n \"\",\n \"\"\n ],\n \"token_logprobs\": [\n \"\",\n \"\"\n ],\n \"tokens\": [\n \"\",\n \"\"\n ],\n \"top_logprobs\": [\n {\n \"consequat_3\": \"\",\n \"in_\": \"\"\n },\n {\n \"elitd\": \"\",\n \"autef05\": \"\"\n }\n ]\n },\n \"text\": \"\",\n \"tokens\": [\n \"\",\n \"\"\n ]\n }\n ],\n \"created\": \"\",\n \"model\": \"\",\n \"system_fingerprint\": \"\",\n \"object\": \"\",\n \"time_info\": {\n \"completion_time\": \"\",\n \"created\": \"\",\n \"prompt_time\": \"\",\n \"queue_time\": \"\",\n \"total_time\": \"\"\n },\n \"usage\": {\n \"completion_tokens\": 0,\n \"completion_tokens_details\": {\n \"accepted_prediction_tokens\": \"\",\n \"reasoning_tokens\": \"\",\n \"rejected_prediction_tokens\": \"\"\n },\n \"image_tokens\": \"\",\n \"prompt_tokens\": 0,\n \"prompt_tokens_details\": {\n \"cached_tokens\": 0\n },\n \"total_tokens\": 0\n }\n}", "createdAt": "2026-07-28T01:18:44.000Z", "updatedAt": "2026-07-28T01:18:44.000Z", "uid": "35240-3100ba13-d3cf-40e1-bda4-c6aa1b83fa9f" }, { "id": "e68fd484-cb40-4dbf-b8fa-a612abe48b8d", "name": "Validation Error", "originalRequest": { "method": "POST", "header": [ { "key": "X-Amz-Cf-Id", "value": "" }, { "key": "CF-RAY", "value": "" }, { "key": "X-delay-time", "value": "" }, { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "body": { "mode": "raw", "raw": "{\n \"model\": \"\",\n \"prompt\": \"\",\n \"best_of\": \"\",\n \"echo\": \"\",\n \"frequency_penalty\": \"\",\n \"grammar_root\": \"\",\n \"logit_bias\": {\n \"doce3\": \"\",\n \"occaecat96\": \"\",\n \"deserunt_2b\": \"\"\n },\n \"logprobs\": \"\",\n \"max_tokens\": \"\",\n \"min_tokens\": \"\",\n \"n\": \"\",\n \"presence_penalty\": \"\",\n \"prompt_cache_key\": \"\",\n \"reasoning_format\": \"parsed\",\n \"return_raw_tokens\": \"\",\n \"seed\": \"\",\n \"stop\": \"\",\n \"stream\": \"\",\n \"stream_options\": {\n \"include_usage\": \"\"\n },\n \"suffix\": \"\",\n \"temperature\": \"\",\n \"top_p\": \"\",\n \"user\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/v1/completions", "host": [ "{{baseUrl}}" ], "path": [ "v1", "completions" ] } }, "status": "Unprocessable Entity (WebDAV) (RFC 4918)", "code": 422, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"detail\": [\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n },\n {\n \"loc\": [\n \"\",\n \"\"\n ],\n \"msg\": \"\",\n \"type\": \"\"\n }\n ]\n}", "createdAt": "2026-07-28T01:18:44.000Z", "updatedAt": "2026-07-28T01:18:44.000Z", "uid": "35240-e68fd484-cb40-4dbf-b8fa-a612abe48b8d" } ], "createdAt": "2026-07-28T01:18:44.000Z", "updatedAt": "2026-07-28T01:18:44.000Z", "uid": "35240-b940cc59-b22f-446c-825d-4617455044c3" } ], "id": "6a7affa5-9091-4dca-9d8b-45e2bd927b7b", "createdAt": "2026-07-28T01:18:44.000Z", "updatedAt": "2026-07-28T01:18:44.000Z", "uid": "35240-6a7affa5-9091-4dca-9d8b-45e2bd927b7b" } ], "id": "47a29a64-7e57-498f-a23a-944f07a67813", "createdAt": "2026-07-28T01:18:44.000Z", "updatedAt": "2026-07-28T01:18:44.000Z", "uid": "35240-47a29a64-7e57-498f-a23a-944f07a67813" } ], "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{bearerToken}}", "type": "string" } ] }, "variable": [ { "key": "baseUrl", "value": "https://api.cerebras.ai" } ] }