> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.fabricgateway.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.fabricgateway.ai/_mcp/server.

# Use the gateway

> Send requests through the gateway from your apps, agents, and tools.

These topics are for people who call the gateway: authenticating, finding what's available, sending requests to LLMs, MCP servers, and REST APIs, and fixing problems.

#### [Authenticate](/use/authenticate)

Find the gateway's base URL, send your gateway key in the fg-api-key header, and make your first request through Fabric AI Gateway.

#### [Discover what's available](/use/discover)

Find out which models, MCP servers, and APIs your gateway exposes, which path reaches each one, and whether it needs a gateway key.

## Call LLM APIs

#### [Choose a model](/use/llm/choose-a-model)

Name a model in your request, list the models a route serves, and understand the errors for a model the gateway can't serve.

#### [OpenAI-compatible API](/use/llm/openai-compatible)

Call chat completions, responses, embeddings, and the model list through an LLM route, with streaming and OpenAI-shaped errors.

#### [Anthropic Messages API](/use/llm/anthropic-messages)

Call messages, token counting, and the model list through an LLM route, with streaming and Anthropic-shaped errors.

## Connect to MCP servers

#### [Connect a client](/use/mcp/connect-a-client)

Point an MCP client at an MCP route, authenticate with a gateway key or by signing in, and check that the client sees the route's tools.

#### [Connect your accounts](/use/mcp/connect-your-accounts)

Connect your own account on an upstream service, such as GitHub or Atlassian, so the gateway can call that service's MCP server for you.

## Call REST APIs

#### [Call a REST API](/use/call-a-rest-api)

Send requests to a REST API route, authenticate with your gateway key, and learn what the gateway changes on the way to the API.

## Troubleshoot

#### [Troubleshoot access](/use/troubleshoot-access)

Work out which step refused your request — the gateway key, access control, or the upstream credential — and who can fix it.

#### [Errors and retries](/use/errors-and-retries)

Recognize gateway errors on REST, LLM, and MCP routes, decide which ones to retry, and read rate-limit responses and timeouts.

## Monitor

#### [See your requests](/use/see-your-requests)

Find a request in traces, check which model or provider answered, and give your admin the details they need.

#### [Monitor traffic](/use/monitor)

Review aggregated analytics and inspect individual requests that pass through Fabric AI Gateway.