> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.fabricgateway.ai/use/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. ## Docs - [Authenticate and send a request](https://docs.fabricgateway.ai/use/authenticate.md): 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](https://docs.fabricgateway.ai/use/discover.md): Find out which models, MCP servers, and APIs your gateway exposes, which path reaches each one, and whether it needs a gateway key. - [Choose a model](https://docs.fabricgateway.ai/use/llm/choose-a-model.md): Name a model in your request, list the models a route serves, and understand the errors for a model the gateway can't serve. - [Use the OpenAI-compatible API](https://docs.fabricgateway.ai/use/llm/openai-compatible.md): Call chat completions, responses, embeddings, and the model list through an LLM route, with streaming and OpenAI-shaped errors. - [Use the Anthropic Messages API](https://docs.fabricgateway.ai/use/llm/anthropic-messages.md): Call messages, token counting, and the model list through an LLM route, with streaming and Anthropic-shaped errors. - [Connect an MCP client to an MCP route](https://docs.fabricgateway.ai/use/mcp/connect-a-client.md): 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 to MCP servers](https://docs.fabricgateway.ai/use/mcp/connect-your-accounts.md): 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 a REST API through the gateway](https://docs.fabricgateway.ai/use/call-a-rest-api.md): 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 access](https://docs.fabricgateway.ai/use/troubleshoot-access.md): Work out which step refused your request — the gateway key, access control, or the upstream credential — and who can fix it. - [Handle errors and retries](https://docs.fabricgateway.ai/use/errors-and-retries.md): Recognize gateway errors on REST, LLM, and MCP routes, decide which ones to retry, and read rate-limit responses and timeouts. - [See your requests](https://docs.fabricgateway.ai/use/see-your-requests.md): Find a request in traces, check which model or provider answered, and give your admin the details they need. - [Monitor gateway traffic](https://docs.fabricgateway.ai/use/monitor.md): Review aggregated analytics and inspect individual requests that pass through Fabric AI Gateway. - [Review analytics](https://docs.fabricgateway.ai/use/monitor/analytics.md): Review traffic, errors, latency, token usage, and cost for LLM, MCP, and HTTP traffic over a time window. - [Inspect traces](https://docs.fabricgateway.ai/use/monitor/traces.md): Find and inspect distributed traces for LLM, MCP, and HTTP traffic.