API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · support_requests

Support Request Schema

Schema-ID
support_request
Collection
support_requests
Permissions
  • Lesensupport_request_view
  • Anlegensupport_request_create
  • Ändernsupport_request_edit
  • Löschensupport_request_delete

Felder

Support Request Schema

support_requests4 Permissions

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

categorystringerforderlich

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
titlestringerforderlich

Short summary of the request

1–300 Zeichen
descriptionstringerforderlich

Detailed description of the request

1–10000 Zeichen
statusstringoptional

Processing status, set by Codemeta support

NEWIN_PROGRESSWAITING_ON_CUSTOMERRESOLVEDCLOSED
Default: "NEW"
prioritystringoptional

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
assignedSupportUserIdstringoptional

Codemeta support agent handling this request

max 100 ZeichenDefault: nullread-onlynullable
aiTriageobjectoptional

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
categorystringoptional

Advisory only — never overwrites the reporter-chosen category.

BUGQUESTIONFEATUREBILLINGnull
nullable
prioritystringoptional

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
suggestedAssigneeUserIdstringoptional

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

max 100 ZeichenDefault: nullnullable
reasoningstringoptional

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

max 2000 ZeichenDefault: nullnullable
sourcestringoptional

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
modelstringoptional

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

max 200 ZeichenDefault: nullnullable
triagedAtdatetimeoptional

When the triage ran.

screenshotFileIdsstring[]optional

Uploaded screenshots (uploaded before submit, referenced by id)

max 3 ItemsDefault: []
aiConversationIdstringoptional

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 ZeichenDefault: nullnullable
sourceFeedbackIdstringoptional

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 ZeichenDefault: nullread-onlynullable
assistantHandoffobjectoptional

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
handoffIdstringoptional
max 200 Zeichen
conversationIdstringoptional
max 100 Zeichennullable
reasonstringoptional

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

no_answeruser_askederrorbillingmanualfeedback_downnull
nullable
transcriptobject[]optional

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
rolestringerforderlich
userassistant
textstringerforderlich
max 4000 Zeichen
resolvedAtdatetimeoptional

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[]optional

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

max 20 Itemsread-only
linkedFeedbackIdsstring[]optional

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[]optional

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

max 20 Itemsread-only
mergedIntoIdstringoptional

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 Zeichenread-onlynullable
csatobjectoptional

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
scoreintegererforderlich
1 – 5
commentstringoptional
max 1000 Zeichennullable
ratedAtdatetimeerforderlich
affectedPagestringoptional

URL or route the reporter was on when submitting

max 500 Zeichennullable
browserInfoobjectoptional

Automatically captured browser information

nullable
userAgentstringoptional
max 500 Zeichen
viewportstringoptional
max 50 Zeichen
urlstringoptional
max 2000 Zeichen
consoleLogsobject[]optional

Client console capture, capped like the feedback flow

max 100 ItemsDefault: []nullable
levelstringoptional
max 20 Zeichen
messagestringoptional
max 2000 Zeichen
stackstringoptional
max 5000 Zeichennullable
timestampstringoptional
max 40 Zeichen

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/support_requests — Liste, paginiert + filterbar
  • GET /api/v1/support_requests/<id> — Einzelne Entity
  • POST /api/v1/support_requests — Anlegen
  • PATCH /api/v1/support_requests/<id> — Teil-Update
  • DELETE /api/v1/support_requests/<id> — Soft-Delete
  • GET /api/v1/support_requests/<id>/timeline — Audit + Aktivitäten

Suche