customerSAX Docs
API Reference

API Reference

The three surfaces you integrate against — the GraphQL BFF, the ai-assist chat endpoint, and auth REST.

Surfaces

customerSAX exposes three API surfaces:

SurfaceTransportBasePurpose
GraphQL BFFGraphQL (POST):4000/graphqlThe federated supergraph — commerce + ticketing + admin
ai-assist /chatHTTP streaming (POST):8080/chatThe AI assistant chat stream
Auth RESTREST (JSON):4360Sessions and project selection

Field names below are transcribed from the real contract allowlist and service code. This reference documents operations that exist; it does not invent fields. Where a shape is intentionally summarized, it says so.

Conventions

  • Never call a subgraph directly. Always go through the BFF (:4000). The subgraph ports are internal.
  • Headers. The BFF derives x-csa-commerce-platform, x-csa-project-key, x-csa-client-id, x-csa-user-role and x-csa-user-email from the gateway context and forwards them to subgraphs.
  • Access control. Reads default open, writes default closed. Destructive operations are gated behind an approval step.

On this page