Skip to content

POST /api/v1/tickets

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

File Ticket

Intake one report; return a bare 202.

Write-only fire-and-forget: no ticket id, no dedup verdict — a hostile or looping reporter gets nothing back to react to. Over the flood cap → 429; an oversized body → 413.

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/tickets" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"actual":"The Description column is empty","component":"portal","environment":{"commit":"dcaf59d1"},"evidence":[{"type":"url","url":"https://enterium-developer-docs.pages.dev/developers/mcp/tools/entherium_create_task/"}],"expected":"Every parameter has a description","kind":"defect","severity":"sev3","steps_to_reproduce":["Open /developers/mcp/tools/entherium_create_task/","Look at the Parameters table"],"title":"Tool page renders an empty Description column"}'

The contract carries no example for this response; schema: object. Field-level shape: interactive explorer.

object — Successful Response

ParameterInRequiredTypeDefaultConstraintsDescription
Idempotency-Keyheadernostring—uuidOptional.
FieldTypeRequiredDescription
actualstring | nullno
alternativesarray of string | nullno
areastring | nullno
behavior_casesarray of string | nullno
bodystring | nullno
componentstring | nullno
contract_guidinteger | nullno
environmentobject | nullno
evidencearray of EvidenceItem | nullno
expectedstring | nullno
expected_benefitstring | nullno
fingerprintstring | nullno
kindstring | nullno
payloadobject | nullno
problemstring | nullno
proposed_changestring | nullno
run_guidinteger | nullno
severitystring | nullno
spec_refstring | nullno
steps_to_reproducearray of string | nullno
titlestringyes

Example:

{
"actual": "The Description column is empty",
"component": "portal",
"environment": {
"commit": "dcaf59d1"
},
"evidence": [
{
"type": "url",
"url": "https://enterium-developer-docs.pages.dev/developers/mcp/tools/entherium_create_task/"
}
],
"expected": "Every parameter has a description",
"kind": "defect",
"severity": "sev3",
"steps_to_reproduce": [
"Open /developers/mcp/tools/entherium_create_task/",
"Look at the Parameters table"
],
"title": "Tool page renders an empty Description column"
}
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.