BizKitHub
DocsAPI ReferenceChat/api/v1/chat/room/{id}/problem
postChatPublic 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

Parameters

1 path · 1 query · JSON body

Path parameters

· 1
idstringRequired

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

Length: 2424
ExampleZUiVZuKwAaXNoT4nGUbnKR75

Query parameters

· 1
apiKeystringRequired

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

ExamplePRODPGrFxpGEtrOZfuWhnoJohUYBXuOE

Request body

application/json
statebooleanRequired

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

Response schema

1 status code documented

200Success
object | object
One of 2:
Variant 1
state"ok"Required
success"true"Required
Variant 2
state"error"Required
messagestringRequired
code"200"Required

Response example

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

Request example

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
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key