Supercheck LogoSupercheck
AI SRE

Stream a read-only Copilot conversation

POST
/api/sre/chat

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Request Body

application/json
  1. body
message*string
Length1 <= length <= 4000
incidentId?|
Formatuuid
conversationId?|
Formatuuid
title?|

Title for a new conversation. Defaults to the first 80 characters of message; ignored when conversationId is set.

Lengthlength <= 200
attachments?array<>

Text context added to the prompt and stored with the message.

Itemsitems <= 3
Default[]
useLiveConnectorTools?boolean

Read-only live connectors are enabled by default when authorized. Set false to use conversation text and stored incident evidence only. General chat uses selected project services; incident chat stays scoped to its linked service.

Defaulttrue

Response Body

Server-sent event stream of named events (event: line, JSON data:): conversation { id, incidentId, status }; message for the stored user message { id, role }; agent.step per agent step (tool names and redacted argument summaries); agent.fallback { reason: "ai_unavailable" } when the model failed and a fallback reply is stored; message for the reply { id, role, content, modelId }. The stream always ends with done { ok: true } or error { message }.

Example Request
curl -X POST 'https://app.supercheck.io/api/sre/chat' \  -H 'Content-Type: application/json' \  -d '{  "message": "string"}'
Example Response
Empty