Skip to content

Commit

Permalink
docs: push faq
Browse files Browse the repository at this point in the history
  • Loading branch information
marcklingen committed May 24, 2024
1 parent 25baf68 commit d81ab2a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
17 changes: 17 additions & 0 deletions pages/faq/all/api-authentication.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: How to authenticate with the Langfuse API?
tags: [api]
---

# How to authenticate with the Langfuse API?

You need to authenticate with the API using [Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication), get API keys in the project settings:

- username: Langfuse Public Key
- password: Langfuse Secret Key

## Example

```bash
curl -u "<public_key>:secret_key" https://cloud.langfuse.com/api/public/projects
```
2 changes: 1 addition & 1 deletion pages/faq/all/api-limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags: [api]

# Are there any limits to the Langfuse API?

While the Langfuse API is extremely open and flexible [1], there are some limits to ensure the stability and performance of the platform. The limits are as follows:
While the [Langfuse API](https://api.reference.langfuse.com) is extremely open and flexible, there are some limits to ensure the stability and performance of the platform. The limits are as follows:

- Payloads: 5MB per request and 5MB per response
- Rate Limits:
Expand Down
2 changes: 1 addition & 1 deletion pages/faq/all/cloud-data-regions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Langfuse supports the following data regions:

All data, user accounts, and infrastructure are completely separated between these two regions. You can have accounts in both regions.

### How do I connect to a specific data region?
## How do I connect to a specific data region?

To connect to a specific data region, you need to set the `LANGFUSE_HOST` (Python) or `LANGFUSE_BASEURL` (JS/TS) in your environment configuration or when intializing the SDKs. Here are examples for both regions:

Expand Down

0 comments on commit d81ab2a

Please sign in to comment.