Support tickets — API + Enrich Agent (no Connect page)
Use when a user asks to file a bug, contact support, or report billing/account issues.
There is no /connect?action=… wizard for support. Tickets are opened via the
REST API or the Enrich Agent chat — not a standalone support form page.
How to open a ticket ($0.01)
Option A — Enrich Agent (humans)
- Go to /demo (or /connect?action=enrich_agent).
- Ask in the chat: “file a support ticket — …”
- The model calls
submit_support_request(MCP) or you can call the API yourself.
Option B — REST API (automation / scripts)
curl -sS -X POST https://411data.io/api/v1/support/tickets \
-H 'Authorization: Bearer 411_…' \
-H 'Content-Type: application/json' \
-d '{
"category": "bug",
"subject": "Short title (≤120 chars)",
"body": "What happened, expected behavior, steps to reproduce.",
"source_session_id": "<optional enrich chat id>"
}'
category: bug | billing | account | other
Charges $0.01 once (virtual balance → x402). Response includes support_session_id
and open_url (e.g. /demo?session=<id>).
Bug bounty: tickets filed with category: bug earn a $1.00 virtual USD credit
after operator confirmation (repro steps + expected vs actual behavior help).
After open
- A Support thread appears in the /demo sidebar (
session_kind=support). - Follow-up messages are free — user append via the Support composer or:
curl -sS -X POST \
"https://411data.io/api/v1/demo/sessions/{support_session_id}/messages" \
-H 'Authorization: Bearer 411_…' \
-H 'Content-Type: application/json' \
-d '{"text": "Additional detail…"}'
- Do not use
/api/v1/demo/chaton support sessions — returns409 SUPPORT_THREAD_NO_LLM.
Post-open triage (enrich chat only)
When opened from Enrich Agent, the model may still be in the enrich chat and should:
cookbook_read→connect_wizards/api_integrations/ topic-specific recipes.- Answer from docs if possible; ask "Does this answer your question?"
- Mirror triage text into the support session (
author: triage_bot) for operators.
Operators (internal)
Support Inbox on /ui-traffic (staff token):
| Endpoint | Purpose |
|---|---|
GET /api/admin/support/tickets |
List tickets (?status=open) |
GET /api/admin/support/tickets/{id} |
Full transcript |
POST /api/admin/support/tickets/{id}/reply |
Operator reply |
PATCH /api/admin/support/tickets/{id} |
Update support_status |
Webhook
Subscribe to support.ticket_created via event_callbacks.
Related
- api_integrations — full API map
- connect_wizards — account/billing wizards (not support open)