API Docs

Send raw feedback in. Poll status out. Route the result where you already work.

TriageFast is an async triage API. Authenticate with a tf_live_ key, send feedback to POST /api/v1/ingest, then poll the request ID until the result is processed.

Overview

The public API is intentionally narrow. You send a piece of feedback, TriageFast queues it immediately, then you poll the status endpoint until you get the structured triage result and any ticket or webhook output created from it.

Async 202 ingest Bearer auth JSON errors Rate limited

Authentication

Every account gets an API key with the tf_live_ prefix. Send it as a Bearer token on every request.

Authorization: Bearer tf_live_your_api_key

You can regenerate the key from the dashboard configuration screen. Regeneration revokes the previous token.

The ingest endpoint is rate-limited to 30 requests per minute per API key. Exceeding this returns a 429 with a retry_after value in seconds.

POST /api/v1/ingest

POST https://triagefast.app/api/v1/ingest

Send raw feedback text with a source label. TriageFast accepts the request, stores it, and returns a request ID you can poll.

Required fields

  • text — raw feedback body
  • source — usually manual, email, or your own label

Optional fields

  • customer_id — your internal customer identifier
  • user_plan — plan context like free or pro
  • metadata — arbitrary JSON metadata for routing and context
curl -X POST https://triagefast.app/api/v1/ingest \
  -H "Authorization: Bearer tf_live_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "Customers on Safari get charged twice after retrying checkout.",
    "source": "manual",
    "customer_id": "cust_123",
    "user_plan": "pro",
    "metadata": {
      "channel": "support_widget",
      "conversation_id": "conv_987"
    }
  }'
{
  "data": {
    "id": 21,
    "request_id": "44fae37e-811a-4a5c-b147-d6164b1c8042",
    "status": "queued",
    "source": "manual",
    "text": "Customers on Safari get charged twice after retrying checkout.",
    "created_at": "2026-03-08T12:34:56+00:00",
    "message": "Feedback accepted and queued for processing."
  }
}

GET /api/v1/status/{requestId}

GET https://triagefast.app/api/v1/status/{requestId}

Poll the request ID returned from ingest. When processing finishes, the response includes the structured triage result and any created ticket or webhook reference.

curl https://triagefast.app/api/v1/status/44fae37e-811a-4a5c-b147-d6164b1c8042 \
  -H "Authorization: Bearer tf_live_your_api_key"
{
  "data": {
    "id": 21,
    "request_id": "44fae37e-811a-4a5c-b147-d6164b1c8042",
    "status": "processed",
    "source": "manual",
    "text": "Customers on Safari get charged twice after retrying checkout.",
    "result": {
      "type": "billing",
      "severity": "critical",
      "title": "Duplicate charge on Safari checkout retry",
      "summary": "Retrying checkout on Safari creates a duplicate charge for paid users.",
      "tags": ["payments", "safari", "checkout"],
      "sentiment": "urgent"
    },
    "tickets": [
      {
        "driver": "github",
        "ticket_id": "42",
        "ticket_url": "https://github.com/Ref34t/triagefast/issues/42"
      }
    ]
  }
}

Status values

  • queued
  • processing
  • processed
  • failed

Ticket rules

  • bug, feature_request, billing can create output
  • praise and question are processed without ticket creation

Field reference

The result object returned on a processed feedback item always contains these fields with the following allowed values.

type

  • bug
  • feature_request
  • billing
  • question
  • praise

bug, feature_request, and billing create output tickets. praise and question are classified only.

severity

  • critical
  • high
  • medium
  • low

sentiment

  • frustrated
  • urgent
  • neutral
  • positive

Other fields

  • title — short descriptive title generated by AI
  • summary — one-sentence summary
  • tags — array of keyword strings

Webhook output

When the Webhook driver is configured, TriageFast sends a POST to your configured URL immediately after triage completes. Expect a 200 response — any other status is treated as a delivery failure.

{
  "event": "triage.ticket.create",
  "feedback": {
    "id": 21,
    "request_id": "44fae37e-811a-4a5c-b147-d6164b1c8042",
    "source": "manual",
    "text": "Customers on Safari get charged twice after retrying checkout."
  },
  "triage": {
    "type": "billing",
    "severity": "critical",
    "title": "Duplicate charge on Safari checkout retry",
    "summary": "Retrying checkout on Safari creates a duplicate charge for paid users.",
    "tags": ["payments", "safari", "checkout"],
    "sentiment": "urgent"
  }
}

Your endpoint can optionally return { "id": "...", "url": "..." } — if present, those values are stored as the ticket reference for that feedback item.

Error responses

API routes always return JSON errors, even for simple curl calls without an explicit Accept header.

401 Unauthorized

{
  "status": "error",
  "message": "Invalid or missing API key."
}

422 Validation

{
  "message": "The text field is required.",
  "errors": {
    "text": ["The text field is required."]
  }
}

429 Rate limit

{
  "status": "error",
  "message": "Rate limit exceeded.",
  "retry_after": 36
}

402 Usage limit

{
  "status": "error",
  "message": "Monthly triage limit reached.",
  "plan": "free",
  "limit": 100,
  "upgrade_url": "https://triagefast.app/register"
}

Operational notes

  • Processing is async. The API acknowledges quickly, then the queue performs AI triage and output routing.
  • Typical processing is under 30 seconds, but output delivery depends on the selected destination and queue load.
  • The same triage pipeline powers direct API calls, inbound email, Fernand, and dashboard test messages.
  • For webhook-style output testing, point your account to a temporary receiver like webhook.site before wiring in production automation.