Skip to content

Commit 19da3fd

Browse files
committed
formatting error and adding auth section
1 parent 34c2167 commit 19da3fd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/develop/ai/langcache/api-examples.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ You can use any standard REST client or library to access the API. If your app i
1818
- [LangCache SDK for Python](https://pypi.org/project/langcache/)
1919
- [LangCache SDK for Javascript](https://www.npmjs.com/package/@redis-ai/langcache)
2020

21+
## Authentication
22+
2123
To access the LangCache API, you need:
2224

2325
- LangCache API base URL
@@ -37,9 +39,9 @@ curl -s -X POST "https://$HOST/v1/caches/$CACHE_ID/entries/search" \
3739

3840
This example expects several variables to be set in the shell:
3941

40-
- **$HOST** - the LangCache API base URL
41-
- **$CACHE_ID** - the Cache ID of your cache
42-
- **$API_KEY** - The LangCache API token
42+
- **$HOST** - the LangCache API base URL
43+
- **$CACHE_ID** - the Cache ID of your cache
44+
- **$API_KEY** - The LangCache API token
4345

4446
## Examples
4547

0 commit comments

Comments
 (0)