How to auto create the panel and graph through grafana api

i want to find a way,that i can use grafana api to auto create panels and graphs of grafana.but i didn’t find the api,can you help me

1 Like

There is no HTTP API for creating panels & graphs only for complete dashboards:

If you want to build dashboads programmatically you can take a look at

Wizzy is a good tool to import & export dashboards

1 Like

Dear @hnzj13,

"grafana-client" - A client library for accessing the Grafana HTTP API, written in Python may also be of interest to you.

grafanalib-upload-dashboard.py is an example which outlines its usage together with the grafanalib library mentioned by @torkel.

With kind regards,
Andreas.