Skip to contentSkip to page list

Docs

Create a new dashboard

Create a new dashboard. The Analytics Reports dashboards API is deprecated; use the Dashboards API at /api/v1/dashboards.

POST/api/v1/analytics/reports
Request and response examples
request.py
import osimport requests​origin = "https://app.langwatch.ai"path = "/api/v1/analytics/reports"api_key = os.environ["LANGWATCH_API_KEY"]headers = {    "X-Auth-Token": api_key,    "Content-Type": "application/json",}payload = {}​response = requests.post(    origin + path,    headers=headers,    json=payload,)print(response.json())

Success

application/json · Generated from schema

{  "id": "string",  "name": "string",  "order": 0,  "createdAt": "2026-01-01T00:00:00Z",  "updatedAt": "2026-01-01T00:00:00Z",  "platformUrl": "string"}
api-reference/reports/create-reports

Authorization

X-Auth-Tokenstringheaderrequired

Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.

Request body

application/json · Required

namestringrequired
At least 1 characterUp to 255 characters

Responses

201

Success

application/json

idstringrequired
At least 1 character
namestringrequired
At least 1 characterUp to 255 characters
orderintegerrequired
Minimum 0Maximum 9007199254740991
createdAtstring (date-time)required
updatedAtstring (date-time)required
platformUrlstringrequired

Documentation