Skip to navigation

Save a chart query

View as Markdown
Saves the query of an Ollie chart so a dashboard widget can reference it by id.

Request

This endpoint expects an object.
sqlstringRequired0-65536 characters
project_idstringOptionalformat: "uuid"
Project the query is bounded to. Omit for every project in the workspace.

Response headers

Locationstring

Response

Created
sqlstring0-65536 characters
idstringOptionalRead-onlyformat: "uuid"
project_idstringOptionalformat: "uuid"
Project the query is bounded to. Omit for every project in the workspace.
created_atdatetimeOptionalRead-only
created_bystringOptionalRead-only

Errors

422
Unprocessable Entity Error
501
Not Implemented Error