https://github.com/langfuse/langfuse-api-reference
https://github.com/langfuse/langfuse-api-reference
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/langfuse/langfuse-api-reference
- Owner: langfuse
- License: mit
- Created: 2024-02-07T21:07:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T17:42:49.000Z (over 2 years ago)
- Last Synced: 2024-04-13T20:46:59.965Z (about 2 years ago)
- Language: HTML
- Homepage: https://api.reference.langfuse.com
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Langfuse API Reference
- https://api.reference.langfuse.com
- https://organizations-api.reference.langfuse.com
## Deployment
This repository contains a simple static site that renders an OpenAPI specification using [Scalar](https://github.com/scalar/scalar). By default, it renders the Langfuse API specification from `https://cloud.langfuse.com/generated/api/openapi.yml`.
### Deploy with a custom OpenAPI specification
You can deploy this repository to render any OpenAPI specification by setting the `APISPEC_DATA_URL` environment variable in your Vercel deployment:
1. Fork this repository
2. Create a new Vercel project from your fork
3. Set the `APISPEC_DATA_URL` environment variable to point to your OpenAPI specification URL
4. Deploy
Example environment variable:
```
APISPEC_DATA_URL=https://example.com/path/to/your/openapi.yml
```
### Run locally
```
npm run dev
```