Documentation Index
Fetch the complete documentation index at: https://docs.langsight.dev/llms.txt
Use this file to discover all available pages before exploring further.
What is a project?
A project is the top-level isolation boundary in LangSight. Every span, session, SLO, alert rule, and cost record belongs to exactly one project. Users see only the projects they are members of. Use projects to separate environments (production vs staging), teams (platform vs product), or products.Default project
On first run, LangSight creates a Default project automatically. All dashboard pages scope to this project. Create additional projects via the sidebar → New Project.Creating projects
In the dashboard: click the project switcher in the sidebar → New Project → enter a name. Via API:Finding your project ID
The project ID is required to tag SDK spans to the right project. From the dashboard: Settings → Projects → click theabc12345… pill next to the project name. The full ID copies to clipboard.
From the API:
id value for your project into your SDK config or .env:
Sending spans to a project
Setproject_id on LangSightClient:
project_id.
You can also set project_id per span in the SDK or via the API:
Project roles
| Role | What they can do |
|---|---|
owner | Full access — invite members, delete project |
member | Read + write spans, SLOs, alerts |
viewer | Read-only |
Project switcher
Click the project name in the sidebar to switch the active project. All dashboard pages filter to the selected project.API reference
| Method | Path | Description |
|---|---|---|
GET | /api/projects | List your projects |
POST | /api/projects | Create a project (admin only) |
GET | /api/projects/{project_id} | Project details |
PATCH | /api/projects/{project_id} | Rename / update settings |
DELETE | /api/projects/{project_id} | Delete (admin only, irreversible) |