a4sx Support API

The Support API from a4sx — 30 operation(s) for support.

GitHub OpenAPI

Operations 32

POST /support/requests Open Request #
GET /support/requests List Requests #
POST /support/report File Report #
GET /support/report/{rid} Report Status #
POST /support/requests/{rid}/reply Reply Request #
POST /support/report/{rid}/reply Reply Report #
GET /support/queue Operator Queue #
GET /support/queue/{rid} Operator Item #
POST /support/requests/{rid}/drafts Propose Draft #
POST /support/requests/{rid}/drafts/{did}/send Autosend Draft #
POST /support/requests/{rid}/escalate Escalate #
GET /support/drafts List Drafts #
POST /support/requests/{rid}/drafts/{did}/approve Approve Draft #
POST /support/requests/{rid}/drafts/{did}/reject Reject Draft #
POST /support/requests/{rid}/resolve Resolve Request #
GET /support/index/{ref} Resolve Index Ref #
GET /support/ai-opt-outs List Ai Opt Outs #
POST /support/ai-opt-outs Set Ai Opt Out #
POST /support/ai-opt-outs/{oid}/remove Remove Ai Opt Out #
POST /support/requests/{rid}/actions Propose Action #
POST /support/requests/{rid}/actions/{aid}/approve Approve Action #
POST /support/requests/{rid}/actions/{aid}/reject Reject Action #
POST /support/requests/{rid}/actions/{aid}/revert Revert Action #
POST /support/action-confirm Confirm Action #
GET /support/metrics Support Metrics #
GET /support/audit/{week} Audit List #
POST /support/audit/{week}/{rid} Audit Review #
POST /support/dsar/lookup Dsar Lookup #
POST /support/dsar/export Dsar Export #
POST /support/dsar/erase Dsar Erase #
GET /support/dsar/history Dsar History #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/session-exchange-com:session-exchange-com-support-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

session-exchange-com-support-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Session Exchange Com Support API
  version: 0.1.0
  description: 'Operations tagged Support across 2 of this provider''s published API definitions: openapi.json, session-exchange-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Support
paths:
  /support/requests:
    post:
      summary: Open Request
      description: 'Open a support request. Body: {topic, message, context?}. Sign-in required.'
      operationId: open_request_support_requests_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
    get:
      summary: List Requests
      description: 'The Support desk (a global admin, or a person holding `support-reviewer` /

        `support.legal_resolver`) sees every request incl. public reports (optionally `?status=open`,

        `?kind=report`), as full rows. Anyone else signed in sees their OWN requests, projected to the

        `user_row` allowlist.'
      operationId: list_requests_support_requests_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Status
      - name: kind
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Kind
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/report:
    post:
      summary: File Report
      description: 'PUBLIC notice-and-action intake (no session). Body:

        {contact (email), item: {kind, id, tenant?}, reason: unsafe|copied|illegal|personal_data|other,

        detail (20+ chars), name?, good_faith?: true, location?}

        `location` is the notifier''s own words for where the content is (the URL or kind:id exactly as

        they gave it — DSA Art. 16(2)(b) "exact electronic location"), kept verbatim next to the

        resolved `item`; the /contact form sends it when it routes a listing notice here.

        Records the notice, alerts the admins (inbox card) and, if the listing exists, opens a

        dispute so it can be taken down through the normal resolution flow. Rate-limited per IP.'
      operationId: file_report_support_report_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/report/{rid}:
    get:
      summary: Report Status
      description: Public status of a filed report (by its unguessable id).
      operationId: report_status_support_report__rid__get
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/reply:
    post:
      summary: Reply Request
      operationId: reply_request_support_requests__rid__reply_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/report/{rid}/reply:
    post:
      summary: Reply Report
      operationId: reply_report_support_report__rid__reply_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/queue:
    get:
      summary: Operator Queue
      description: 'The operator''s worklist: triaged, non-legal requests (minimal fields). Reviewers / admins get the

        same view (legal items stay out of it; they read those through GET /support/requests).'
      operationId: operator_queue_support_queue_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: open
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/queue/{rid}:
    get:
      summary: Operator Item
      operationId: operator_item_support_queue__rid__get
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/drafts:
    post:
      summary: Propose Draft
      description: 'The operator proposes a reply. Nothing is sent: it waits for a reviewer (SUPPORT_AUTOSEND=off).

        A draft the gate could never pass (legal, unverified sender, a content-filter hit) is refused now.'
      operationId: propose_draft_support_requests__rid__drafts_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/drafts/{did}/send:
    post:
      summary: Autosend Draft
      description: 'The P2 auto-send attempt. With SUPPORT_AUTOSEND off (the default) the gate refuses EVERY call

        (`autosend_off`); with it on, only allow-listed categories pass. The draft stays pending for a

        reviewer when refused.'
      operationId: autosend_draft_support_requests__rid__drafts__did__send_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: did
        in: path
        required: true
        schema:
          type: string
          title: Did
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/escalate:
    post:
      summary: Escalate
      description: 'Hand an item up a tier: `coordinator` (tier 2) or `owner` (tier 3; also raises an inbox card).'
      operationId: escalate_support_requests__rid__escalate_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/drafts:
    get:
      summary: List Drafts
      operationId: list_drafts_support_drafts_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: pending
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/drafts/{did}/approve:
    post:
      summary: Approve Draft
      description: 'A reviewer approves a draft, optionally with an edited `text` (edit-then-approve sends the

        edited text). The gate still runs (legal, sender, caps, content filter) — on the text that is sent.

        Goes out once through the outbox with the AI-disclosure footer.'
      operationId: approve_draft_support_requests__rid__drafts__did__approve_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: did
        in: path
        required: true
        schema:
          type: string
          title: Did
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/drafts/{did}/reject:
    post:
      summary: Reject Draft
      operationId: reject_draft_support_requests__rid__drafts__did__reject_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: did
        in: path
        required: true
        schema:
          type: string
          title: Did
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/resolve:
    post:
      summary: Resolve Request
      description: 'Close an item with an outcome. A legal item needs a global admin or a person holding

        `support.legal_resolver`; a `support-reviewer` (person or token) resolves the rest.'
      operationId: resolve_request_support_requests__rid__resolve_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/index/{ref}:
    get:
      summary: Resolve Index Ref
      description: 'S-08: the request id behind a GitHub index ref (`ix-`, the desk deep link

        `/platform/support#ix-…`). Support-desk roles only — the mapping is never computable client-side.'
      operationId: resolve_index_ref_support_index__ref__get
      parameters:
      - name: ref
        in: path
        required: true
        schema:
          type: string
          title: Ref
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/ai-opt-outs:
    get:
      summary: List Ai Opt Outs
      operationId: list_ai_opt_outs_support_ai_opt_outs_get
      parameters:
      - name: include_removed
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Include Removed
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
    post:
      summary: Set Ai Opt Out
      description: 'Stop the AI support responder for one person. Body: {request_id | user_id | address, reason}.

        From an item (`request_id`, the desk action) the person is the row''s account (user id) AND its

        requester address (the sender of an e-mail item — flagged even when unverified: hiding more only

        means a human reads it — or the account / notifier address). Idempotent: the same person already

        covered returns the existing opt-out (200).'
      operationId: set_ai_opt_out_support_ai_opt_outs_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/ai-opt-outs/{oid}/remove:
    post:
      summary: Remove Ai Opt Out
      description: Lift one opt-out (the person withdrew the objection, or it was set in error). Audited.
      operationId: remove_ai_opt_out_support_ai_opt_outs__oid__remove_post
      parameters:
      - name: oid
        in: path
        required: true
        schema:
          type: string
          title: Oid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/actions:
    post:
      summary: Propose Action
      description: The operator PROPOSES an action. Body {action, workspace?}. Nothing changes here.
      operationId: propose_action_support_requests__rid__actions_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/actions/{aid}/approve:
    post:
      summary: Approve Action
      operationId: approve_action_support_requests__rid__actions__aid__approve_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: aid
        in: path
        required: true
        schema:
          type: string
          title: Aid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/actions/{aid}/reject:
    post:
      summary: Reject Action
      description: Reject a proposal, or withdraw an approved link nobody confirmed yet.
      operationId: reject_action_support_requests__rid__actions__aid__reject_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: aid
        in: path
        required: true
        schema:
          type: string
          title: Aid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/actions/{aid}/link:
    get:
      summary: Action Link
      description: 'The desk''s copy of an approved confirmation link (never stored: recomputed from its signed ids).'
      operationId: action_link_support_requests__rid__actions__aid__link_get
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: aid
        in: path
        required: true
        schema:
          type: string
          title: Aid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/requests/{rid}/actions/{aid}/revert:
    post:
      summary: Revert Action
      description: 'Undo an executed trial extension: the trial end goes back to what it was. Works with the flag off.'
      operationId: revert_action_support_requests__rid__actions__aid__revert_post
      parameters:
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      - name: aid
        in: path
        required: true
        schema:
          type: string
          title: Aid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/action-confirm:
    post:
      summary: Confirm Action
      description: 'The confirmation link, for the SIGNED-IN person. Body {t, preview?, workspace?}.


        The token travels ONLY in this POST body: the link carries it in the URL fragment (never sent to a

        server, so never in an access / error log, a Referer or history sync), the page reads it and posts it.

        A query string on this route is refused before anything else (`token_in_query`), and there is no GET.

        `preview: true` is read-only (what would change; records nothing). Otherwise the action runs for the

        signed-in person; `workspace` only when the link names none (a trial workspace the person owns).'
      operationId: confirm_action_support_action_confirm_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/metrics:
    get:
      summary: Support Metrics
      description: Aggregates for the desk's Metrics panel. A responder token is 403 (require_support_desk).
      operationId: support_metrics_support_metrics_get
      parameters:
      - name: window
        in: query
        required: false
        schema:
          type: string
          default: 7d
          title: Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/audit/{week}:
    get:
      summary: Audit List
      operationId: audit_list_support_audit__week__get
      parameters:
      - name: week
        in: path
        required: true
        schema:
          type: string
          title: Week
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/audit/{week}/{rid}:
    post:
      summary: Audit Review
      operationId: audit_review_support_audit__week___rid__post
      parameters:
      - name: week
        in: path
        required: true
        schema:
          type: string
          title: Week
      - name: rid
        in: path
        required: true
        schema:
          type: string
          title: Rid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Support
  /support/dsar/lookup:
    post:
      summary: Dsar Lookup
      operationId: dsar_lookup_support_dsar_lookup_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/dsar/export:
    post:
      summary: Dsar Export
      operationId: dsar_export_support_dsar_export_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/dsar/erase:
    post:
      summary: Dsar Erase
      operationId: dsar_erase_support_dsar_erase_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
  /support/dsar/history:
    get:
      summary: Dsar History
      operationId: dsar_history_support_dsar_history_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Support
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
x-refined-from:
- openapi.json
- session-exchange-com-openapi.json