> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

> Endpoints, request format, and how to read responses from the Fluz GraphQL API.

The Fluz API is a single GraphQL endpoint per environment. This page is the reference companion to [How the GraphQL API works](/concepts/graphql).

## Endpoints

| Environment | Transactional graph                                              | OAuth service                       |
| ----------- | ---------------------------------------------------------------- | ----------------------------------- |
| Staging     | `https://transactional-graph.staging.fluzapp.com/api/v1/graphql` | `https://oauth-service.fluzapp.com` |
| Live        | `https://transactional-graph.fluzapp.com/api/v1/graphql`         | `https://oauth-service.fluzapp.com` |

## Headers

| Header          | Required | Notes                   |
| --------------- | -------- | ----------------------- |
| `Authorization` | Yes      | `Bearer <access_token>` |
| `Content-Type`  | Yes      | `application/json`      |

## Response envelope

```json theme={null}
{
  "data": { ... },
  "errors": [ ... ]
}
```

* `data` — the successful payload (may be partial on error).
* `errors` — array of failures, each with `code`, `message`, and `path`.

## Schema

Staging exposes introspection so you can point tooling (Apollo Studio, GraphiQL, codegen) at it directly. In live, request the current SDL from your account team.
