Support Request Schema
Campos
Support Request Schema
A tenant user’s support request to Codemeta (vendor support)
category
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.
BUGQUESTIONFEATUREBILLINGtitle
Short summary of the request
description
Detailed description of the request
status
Processing status, set by Codemeta support
NEWIN_PROGRESSWAITING_ON_CUSTOMERRESOLVEDCLOSEDpriority
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.
LOWMEDIUMHIGHCRITICALnullassignedSupportUserId
Codemeta support agent handling this request
aiTriage
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.
category
Advisory only — never overwrites the reporter-chosen category.
BUGQUESTIONFEATUREBILLINGnullpriority
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.
LOWMEDIUMHIGHCRITICALnullsuggestedAssigneeUserId
Advisory chip only — never auto-assigns (ADR 0938 decision 13).
reasoning
Short rationale, shown to the agent so the suggestion is auditable.
source
Which rung of the fallback chain produced this. Displayed, because an agent should know whether a model or a keyword rule made the call.
llmheuristicmodel
Model id when source is llm — null for heuristic results.
triagedAt
When the triage ran.
screenshotFileIds
Uploaded screenshots (uploaded before submit, referenced by id)
aiConversationId
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.
sourceFeedbackId
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.
assistantHandoff
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.
handoffId
conversationId
reason
Why the hand-off happened — for the hand-off rate, never shown.
no_answeruser_askederrorbillingmanualfeedback_downnulltranscript
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.
resolvedAt
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.
tags
Internal support tags (lower-case, trimmed). Never shown to the reporter.
linkedFeedbackIds
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.
mergedIntoId
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.
affectedPage
URL or route the reporter was on when submitting
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/support_requests— Lista, paginada y filtrableGET /api/v1/support_requests/<id>— Una entidadPOST /api/v1/support_requests— CrearPATCH /api/v1/support_requests/<id>— Actualización parcialDELETE /api/v1/support_requests/<id>— Eliminación lógicaGET /api/v1/support_requests/<id>/timeline— Auditoría y actividades