You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11,7 +11,18 @@ Portkey API has first-class support for monitoring and routing your requests to
11
11
12
12
**However**, there are still many endpoints like Cohere's `/rerank` or Deepgram's `/listen` that are uncommon or have niche use cases.
13
13
14
-
With the **Gateway to Other APIs** feature, you can route to any custom provider endpoint using Portkey (including the ones hosted on your private setups) and get **complete logging & monitoring** for all your requests.
14
+
With the **Gateway to Other APIs** feature, you can route to any custom provider endpoint using Portkey (including the ones hosted on your private setups) and get **complete logging & monitoring** for all your requests.
15
+
16
+
## Supported HTTP Methods
17
+
18
+
<CardGroupcols={4}>
19
+
<Cardtitle="POST"color="#4CAF50" />
20
+
<Cardtitle="GET"color="#2196F3" />
21
+
<Cardtitle="PUT"color="#FF9800" />
22
+
<Cardtitle="DELETE"color="#F44336" />
23
+
</CardGroup>
24
+
25
+
Both the REST API and Portkey SDKs (Python, NodeJS) support all of these HTTP methods.
15
26
16
27
# How to Integrate
17
28
@@ -21,7 +32,7 @@ With the **Gateway to Other APIs** feature, you can route to any custom provider
21
32
22
33
23
34
## 1. Get Portkey API Key
24
-
Create or log in to your Portkey account. Grab your account’s API key from the [“API Keys” page](https://app.portkey.ai/api-keys).
35
+
Create or log in to your Portkey account. Grab your account's API key from the ["API Keys" page](https://app.portkey.ai/api-keys).
25
36
26
37
## 2. Add Provider Details
27
38
@@ -148,7 +159,8 @@ Construct your request URL:
148
159
1. Portkey Gateway base URL remains same: `https://api.portkey.ai/v1`
149
160
2. Append your custom endpoint at the end of the URL: `https://api.portkey.ai/v1/{provider-endpoint}`
0 commit comments