Skip to main content
POST
Run one canvas tile with the canvas filters that …

Authorizations

authorization
string
header
required

Path Parameters

projectId
string<uuid>
required

The project in the URL. The caller's project user is read from it.

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})$
workspaceId
string<uuid>
required

POST /v2/api/projects/:projectId/workspaces/:workspaceId/canvases/:canvasId/items/:itemId/run Parameter

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})$
canvasId
string<uuid>
required

POST /v2/api/projects/:projectId/workspaces/:workspaceId/canvases/:canvasId/items/:itemId/run Parameter

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})$
itemId
string<uuid>
required

POST /v2/api/projects/:projectId/workspaces/:workspaceId/canvases/:canvasId/items/:itemId/run Parameter

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/projects/:projectId/workspaces/:workspaceId/canvases/:canvasId/items/:itemId/run Request body

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

tz
number

The viewer's UTC offset in hours. Used only when the canvas follows each viewer's own time zone; otherwise the canvas's time zone decides how dates are grouped and filtered.

forProjectUserId
string

Project user to run the query as; their properties drive the data model's row-level security. Required with an admin credential, ignored for a project-user token.

dataModelVersion
integer

Published data model version to resolve fields and run queries against. Defaults to the published version.

Required range: x <= 9007199254740991
canvasVersion
integer

A saved canvas version to run the tile from, with that version's filters. Defaults to the live canvas.

Required range: x <= 9007199254740991
filterValues
object[]

Session values for this canvas's filters, by filter id.

adhocFilters
object[]

Filters to apply for this run only (not saved), expressed against catalog fields.

Response

POST /v2/api/projects/:projectId/workspaces/:workspaceId/canvases/:canvasId/items/:itemId/run Positive response

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