Skip to content

Commit a428eee

Browse files
Moved hierarchy info
1 parent a438e86 commit a428eee

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/content/docs/ai-gateway/glossary.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,19 @@ pcx_content_type: glossary
55

66
import { Glossary } from "~/components";
77

8-
# Configuration hierarchy
8+
AI Gateway supports a variety of headers to help you configure, customize, and manage your API requests. This page provides a complete list of all supported headers, along with a short description
9+
10+
<Glossary product="ai-gateway" />
11+
12+
## Configuration hierarchy
913

1014
Settings in AI Gateway can be configured at three levels: **Provider**, **Request**, and **Gateway**. Since the same settings can be configured in multiple locations, the following hierarchy determines which value is applied:
1115

1216
1. **Provider-level headers**:
1317
Relevant only when using the [Universal Endpoint](/ai-gateway/providers/universal/), these headers take precedence over all other configurations.
14-
1518
2. **Request-level headers**:
1619
Apply if no provider-level headers are set.
17-
1820
3. **Gateway-level settings**:
1921
Act as the default if no headers are set at the provider or request levels.
2022

2123
This hierarchy ensures consistent behavior, prioritizing the most specific configurations. Use provider-level and request-level headers for more fine-tuned control, and gateway settings for general defaults.
22-
23-
AI Gateway supports a variety of headers to help you configure, customize, and manage your API requests. This page provides a complete list of all supported headers, along with a short description
24-
25-
<Glossary product="ai-gateway" />

0 commit comments

Comments
 (0)