---
title: "POST /public/dashboards/{accessToken}/panels/{panelId}/query"
method: POST
path: "/public/dashboards/{accessToken}/panels/{panelId}/query"
tags: ["dashboards", "dashboard_public"]
---

# POST /public/dashboards/{accessToken}/panels/{panelId}/query

`POST /public/dashboards/{accessToken}/panels/{panelId}/query`

Get results for a given panel on a public dashboard

## Path parameters

- `accessToken` string, required
- `panelId` integer, required

## Response `200`

(empty)

- QueryDataResponse — It is the return type of a QueryData call.
  - `results` Responses — The QueryData method the QueryDataHandler method will set the RefId property on the DataResponses' frames based on these RefIDs.

## Other responses

- `400` — BadRequestPublicError is returned when the request is invalid and it cannot be processed.
- `401` — UnauthorisedPublicError is returned when the request is not authenticated.
- `403` — ForbiddenPublicError is returned if the user/token has insufficient permissions to access the requested resource.
- `404` — NotFoundPublicError is returned when the requested resource was not found.
- `500` — InternalServerPublicError is a general error indicating something went wrong internally.

---

[API](https://skmtc.net/grafana/apis/http-api.md) · [All operations](https://skmtc.net/grafana/apis/http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grafana/http-api/revisions/df55ba1718ba/schema)
