Skip to contentSkip to page list

Docs

Update Reorder

Reorder dashboards by providing an ordered list of IDs. The Analytics Reports dashboards API is deprecated; use the Dashboards API at /api/v1/dashboards.

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

Success

application/json · Generated from schema

{  "success": true}
api-reference/reports/update-reorder

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

dashboardIdsstring[]required

Responses

200

Success

application/json

successbooleanrequired
Alwaystrue

Documentation