API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · support_requests

Support Request Schema

Schema-ID
support_request
Collection
support_requests
Permissions
  • Lezensupport_request_view
  • Aanmakensupport_request_create
  • Wijzigensupport_request_edit
  • Verwijderensupport_request_delete

Velden

Support Request Schema

support_requests4 permissions

A tenant user’s support request to Codemeta (vendor support)

categorystringvereist

What the request is about, chosen by the reporter. Deliberately kept to four distinct cases — the later AI triage (phase 2) classifies along the same axis.

BUGQUESTIONFEATUREBILLING
titlestringvereist

Short summary of the request

1–300 tekens
descriptionstringvereist

Detailed description of the request

1–10000 tekens
statusstringoptioneel

Processing status, set by Codemeta support

NEWIN_PROGRESSWAITING_ON_CUSTOMERRESOLVEDCLOSED
Default: "NEW"
prioritystringoptioneel

Set by CODEMETA SUPPORT only — never by the reporter (ADR 0938 decision 15). There is deliberately no `suggestedPriority`: a self-declared priority creates an expectation that must then be served or disappointed, and would be useless as a queue criterion because it is gameable. Not part of the create payload; only PATCH on the support scope may write it. Phase 3b sorts the live queue by a separate `aiTriage.priority`, not by this field.

LOWMEDIUMHIGHCRITICALnull
Default: nullread-onlynullable
assignedSupportUserIdstringoptioneel

Codemeta support agent handling this request

max. 100 tekensDefault: nullread-onlynullable
aiTriageobjectoptioneel

Result of the automatic triage (ADR 0938 phase 2). Written by the worker only — protected, so neither reporter nor agent can forge it. Stays null when the LLM is unavailable and no heuristic matched; every reader must tolerate that.

Default: nullread-onlynullable
categorystringoptioneel

Advisory only — never overwrites the reporter-chosen category.

BUGQUESTIONFEATUREBILLINGnull
nullable
prioritystringoptioneel

AUTHORITATIVE, unlike the other fields (ADR 0938 decision 14): from phase 3b this sorts the paid live queue. It never writes the human `priority` field.

LOWMEDIUMHIGHCRITICALnull
read-onlynullable
suggestedAssigneeUserIdstringoptioneel

Advisory chip only — never auto-assigns (ADR 0938 decision 13).

max. 100 tekensDefault: nullnullable
reasoningstringoptioneel

Short rationale, shown to the agent so the suggestion is auditable.

max. 2000 tekensDefault: nullnullable
sourcestringoptioneel

Which rung of the fallback chain produced this. Displayed, because an agent should know whether a model or a keyword rule made the call.

llmheuristic
modelstringoptioneel

Model id when source is llm — null for heuristic results.

max. 200 tekensDefault: nullnullable
triagedAtdatetimeoptioneel

When the triage ran.

screenshotFileIdsstring[]optioneel

Uploaded screenshots (uploaded before submit, referenced by id)

max. 3 itemsDefault: []
aiConversationIdstringoptioneel

Set when the request was handed over from the AI support chat (ADR 1172 §2). Points to the support_ai_conversations document whose transcript the console shows as „Vorgeschichte mit der KI". Validated server-side against the reporter; never trusted as given.

max. 100 tekensDefault: nullnullable
sourceFeedbackIdstringoptioneel

Set when this request was created by escalating a BUG feedback to live support (ADR 0938 decision 10 requires a request to hang the session off). The feedback itself is NOT replaced — it stays the product-feedback record that the dedup corpus and merge work on; this request is the support case. Written only by the escalation route, never by a client.

max. 100 tekensDefault: nullread-onlynullable
assistantHandoffobjectoptioneel

Set when the request was sent from the in-app AI assistant (feedback 01a1abb3) — either the assistant proposed it or the user opened it from the chat. `handoffId` is the tool-call id (or a client id for a manual hand-off) and makes the create idempotent per reporter: a reloaded chat that still shows the unsent card cannot file the same request twice. Absent on every request filed elsewhere and on all requests from before this field existed — readers must tolerate null.

Default: nullnullable
handoffIdstringoptioneel
max. 200 tekens
conversationIdstringoptioneel
max. 100 tekensnullable
reasonstringoptioneel

Why the hand-off happened — for the hand-off rate, never shown.

no_answeruser_askederrorbillingmanualfeedback_downnull
nullable
transcriptobject[]optioneel

The chat with the assistant up to the hand-off, as the reporter saw it — only their questions and the assistant’s answers, never tool results. Attached by default with a visible opt-out in the dialog, so support does not have to ask what was already said. A snapshot: later turns of the chat do not change it. Capped at the most recent 50 messages / 40 000 characters; null or absent when the reporter deselected it, and on every request from before 2026-11-06.

max. 50 itemsnullable
rolestringvereist
userassistant
textstringvereist
max. 4000 tekens
resolvedAtdatetimeoptioneel

When the request last moved to RESOLVED or CLOSED (support PATCH). Cleared when it reopens. Absent on requests resolved before 2026-11-22 — the SLA then reports the resolution clock as unknown instead of guessing.

read-onlynullable
tagsstring[]optioneel

Internal support tags (lower-case, trimmed). Never shown to the reporter.

max. 20 itemsread-only
linkedFeedbackIdsstring[]optioneel

Product feedbacks this request belongs to. The feedback side reads it back through the `linkedFeedbackIds` index, so the link is stored once and shown in both directions.

max. 20 itemsread-only
relatedRequestIdsstring[]optioneel

Other support requests on the same matter. Written on both sides.

max. 20 itemsread-only
mergedIntoIdstringoptioneel

Set when this request was merged into another one of the same tenant. The request is then CLOSED; its messages stay where they are and the target links back.

max. 100 tekensread-onlynullable
csatobjectoptioneel

Satisfaction rating by the reporter after the request was resolved (1–5, optional comment). Written only by the reporter through POST /support-requests/:id/csat.

read-onlynullable
scoreintegervereist
1 – 5
commentstringoptioneel
max. 1000 tekensnullable
ratedAtdatetimevereist
affectedPagestringoptioneel

URL or route the reporter was on when submitting

max. 500 tekensnullable
browserInfoobjectoptioneel

Automatically captured browser information

nullable
userAgentstringoptioneel
max. 500 tekens
viewportstringoptioneel
max. 50 tekens
urlstringoptioneel
max. 2000 tekens
consoleLogsobject[]optioneel

Client console capture, capped like the feedback flow

max. 100 itemsDefault: []nullable
levelstringoptioneel
max. 20 tekens
messagestringoptioneel
max. 2000 tekens
stackstringoptioneel
max. 5000 tekensnullable
timestampstringoptioneel
max. 40 tekens

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/support_requests — Lijst, gepagineerd + filterbaar
  • GET /api/v1/support_requests/<id> — Enkele entity
  • POST /api/v1/support_requests — Aanmaken
  • PATCH /api/v1/support_requests/<id> — Gedeeltelijke update
  • DELETE /api/v1/support_requests/<id> — Soft-delete
  • GET /api/v1/support_requests/<id>/timeline — Audit + activiteiten

Zoeken