API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · support_requests

Support Request Schema

ID du schéma
support_request
Collection
support_requests
Autorisations
  • Liresupport_request_view
  • Créersupport_request_create
  • Modifiersupport_request_edit
  • Supprimersupport_request_delete

Champs

Support Request Schema

support_requests4 autorisations

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

categorystringobligatoire

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
titlestringobligatoire

Short summary of the request

1–300 caractères
descriptionstringobligatoire

Detailed description of the request

1–10000 caractères
statusstringfacultatif

Processing status, set by Codemeta support

NEWIN_PROGRESSWAITING_ON_CUSTOMERRESOLVEDCLOSED
Par défaut : "NEW"
prioritystringfacultatif

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
Par défaut : nulllecture seulenullable
assignedSupportUserIdstringfacultatif

Codemeta support agent handling this request

max. 100 caractèresPar défaut : nulllecture seulenullable
aiTriageobjectfacultatif

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.

Par défaut : nulllecture seulenullable
categorystringfacultatif

Advisory only — never overwrites the reporter-chosen category.

BUGQUESTIONFEATUREBILLINGnull
nullable
prioritystringfacultatif

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
lecture seulenullable
suggestedAssigneeUserIdstringfacultatif

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

max. 100 caractèresPar défaut : nullnullable
reasoningstringfacultatif

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

max. 2000 caractèresPar défaut : nullnullable
sourcestringfacultatif

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
modelstringfacultatif

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

max. 200 caractèresPar défaut : nullnullable
triagedAtdatetimefacultatif

When the triage ran.

screenshotFileIdsstring[]facultatif

Uploaded screenshots (uploaded before submit, referenced by id)

max. 3 élémentsPar défaut : []
aiConversationIdstringfacultatif

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 caractèresPar défaut : nullnullable
sourceFeedbackIdstringfacultatif

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 caractèresPar défaut : nulllecture seulenullable
assistantHandoffobjectfacultatif

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.

Par défaut : nullnullable
handoffIdstringfacultatif
max. 200 caractères
conversationIdstringfacultatif
max. 100 caractèresnullable
reasonstringfacultatif

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

no_answeruser_askederrorbillingmanualfeedback_downnull
nullable
transcriptobject[]facultatif

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 élémentsnullable
rolestringobligatoire
userassistant
textstringobligatoire
max. 4000 caractères
resolvedAtdatetimefacultatif

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.

lecture seulenullable
tagsstring[]facultatif

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

max. 20 élémentslecture seule
linkedFeedbackIdsstring[]facultatif

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 élémentslecture seule
relatedRequestIdsstring[]facultatif

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

max. 20 élémentslecture seule
mergedIntoIdstringfacultatif

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 caractèreslecture seulenullable
csatobjectfacultatif

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.

lecture seulenullable
scoreintegerobligatoire
1 – 5
commentstringfacultatif
max. 1000 caractèresnullable
ratedAtdatetimeobligatoire
affectedPagestringfacultatif

URL or route the reporter was on when submitting

max. 500 caractèresnullable
browserInfoobjectfacultatif

Automatically captured browser information

nullable
userAgentstringfacultatif
max. 500 caractères
viewportstringfacultatif
max. 50 caractères
urlstringfacultatif
max. 2000 caractères
consoleLogsobject[]facultatif

Client console capture, capped like the feedback flow

max. 100 élémentsPar défaut : []nullable
levelstringfacultatif
max. 20 caractères
messagestringfacultatif
max. 2000 caractères
stackstringfacultatif
max. 5000 caractèresnullable
timestampstringfacultatif
max. 40 caractères

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/support_requests — Liste, paginée et filtrable
  • GET /api/v1/support_requests/<id> — Une entité
  • POST /api/v1/support_requests — Créer
  • PATCH /api/v1/support_requests/<id> — Mise à jour partielle
  • DELETE /api/v1/support_requests/<id> — Suppression logique
  • GET /api/v1/support_requests/<id>/timeline — Audit et activités

Recherche