Skip to main content
POST
Add charts to a dashboard

Authorizations

authorization
string
header
required

Body

application/json

POST /v1/api/dashboard/add-charts Request body

targetDashboardId
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})$
charts
object[]
required

Charts to add to the target dashboard. Charts are deep-copied.

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 /v1/api/dashboard/add-charts Positive response

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