Skip to main content
POST
Add charts to a dashboard

Authorizations

authorization
string
header
required

Path Parameters

applicationId
string<uuid>
required

ID of the application. List them with GET /v2/api/applications. After a v1 migration, each v1 workspace became one application — legacyWorkspaceId on the list says which.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
dashboardId
string<uuid>
required

ID of the dashboard to add charts to

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Body

application/json

POST /v2/api/applications/:applicationId/dashboards/:dashboardId/charts Request body

charts
object[]
required

Charts to add. Each is deep-copied (new ID) and appended below the existing charts.

Minimum array length: 1
apiKey
string

Upsolve API key, generated under Account → Developer settings in the Upsolve Hub. Keys are user-scoped: pass organizationId alongside the key to select which org to act on.

Minimum string length: 1
organizationId
string

The ID of the organization. Required when using Supabase JWT authentication.

connectionId
string

The ID of the connection a guest has access to

Response

POST /v2/api/applications/:applicationId/dashboards/:dashboardId/charts Positive response

status
string
required
Allowed value: "success"
data
object
required