BizKitHub
DokumentationAPI-ExplorerChat/api/v1/chat/room/{id}/problem
postChatÖffentliche API v1

/api/v1/chat/room/{id}/problem

ChatSPC sets this to true when the model calls recordUnansweredQuery, and back to false on a follow-up turn that does provide an answer. Idempotent.

chatpostApiV1ChatRoomByIdProblem

Parameter

1 im Pfad · 1 in der Query · JSON-Body

Pfadparameter

· 1
idstringPflicht

Chat room public id (cas__chat_room.external_id), 24 chars.

Länge: 24
BeispielZUiVZuKwAaXNoT4nGUbnKR75

Query-Parameter

· 1
apiKeystringPflicht

Your BizKitHub API key (passed as GET parameter).

Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more

BeispielPRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Request-Body

application/json
statebooleanPflicht

true → stamp problem_marked_date = NOW() (flag as a problem case). false → clear it (model resolved the question after all).

Antwortschema

1 dokumentierter Statuscode

200Erfolg
object | object
Eine von 2 Varianten:
Variante 1
state"ok"Pflicht
success"true"Pflicht
Variante 2
state"error"Pflicht
messagestringPflicht
code"200"Pflicht

Antwortbeispiel

application/json
{
  "state": "ok",
  "success": true
}

Anfragebeispiel

POST /api/v1/chat/room/{id}/problem

post
curl -X POST "https://api.bizkithub.com/api/v1/chat/room/ZUiVZuKwAaXNoT4nGUbnKR75/problem?apiKey=PRODPGrFxpGEtrOZfuWhnoJohUYBXuOE" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "state": false
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten