Skip to content

Commit 35a163b

Browse files
committed
docs: api-key prefix
1 parent d332751 commit 35a163b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pages/product/apis-integrations/embedding.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const session = await fetch(
5757
method: "POST",
5858
headers: {
5959
"Content-Type": "application/json",
60-
Authorization: "Access-Token ${API_KEY}",
60+
Authorization: "Api-Key ${API_KEY}",
6161
},
6262
body: JSON.stringify({
6363
deploymentId: DEPLOYMENT_ID,
@@ -120,7 +120,7 @@ Here's a complete HTML example that demonstrates the full flow for embedding a d
120120
method: "POST",
121121
headers: {
122122
"Content-Type": "application/json",
123-
Authorization: `Access-Token ${API_KEY}`,
123+
Authorization: `Api-Key ${API_KEY}`,
124124
},
125125
body: JSON.stringify({
126126
deploymentId: DEPLOYMENT_ID,

0 commit comments

Comments
 (0)