psa

List Statuses

get/api/psa/{team_key}/connection/{connection_key}/statuses

Request

  • Base URL
    https://api.superit.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

team_keystring required
connection_keystring required

Response

Successful Response

keystring required
entityIdstring required
namestring required
psaTypestring required
isActiveboolean required
statusCategory'NEW' | 'OPEN' | 'CLOSED' required

Generalised PSA ticket status category.

Each PsaStatus row is mapped to one of these by an admin (or by the name-pattern backfill in migration 0182). Triage rules reference categories rather than raw status names so defaults stay universal.

Three buckets, deliberately. The original nine (WAITING, ESCALATED, ON_HOLD, CANCELLED, MERGED, DUPLICATE) made the one question this field exists to answer — "how many tickets are open right now" — impossible to express as a single predicate, because whether WAITING and ON_HOLD counted as open was a judgement call every caller made differently. WAITING / ESCALATED / ON_HOLD are open; CANCELLED / MERGED / DUPLICATE are closed. MERGED and DUPLICATE never had a single row in production.

cwBoardIdinteger nullable required
llmInstructionsstring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.