How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Grafana Create API

The Create API from Grafana — 21 operation(s) for create.

Grafana Create API is one of 78 APIs that Grafana publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, and 1 JSON Schema.

This API exposes 17 operations across 17 paths, and defines 48 schemas. It is described by OpenAPI 3.2.0, at version 0.0.1.

Requests are made against 2 base URLs: http://{defaultHost}, https://{defaultHost}.

17 operations 17 paths 48 schemas 17 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.0.1
Base URL
http://localhost:3000/api
Authentication
API Key, HTTP Basic
Resource Areas
1

Authentication & Security 2

Grafana Create API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (api_key). It accepts HTTP basic authentication (basic). By default, every request must be authenticated.

Paths & Operations 17

Across 17 paths, the API surfaces 17 operations — 17 POST. Each is listed below with its method, path, parameters, and response codes.

Create 17
POST
/folders
Grafana Create Folder
createFolder body → 200400401403409500
POST
/library-elements
Grafana Create Library Element
createLibraryElement body → 200400401403404500
POST
/query-history
Grafana Create Query
createQuery body → 200400401500
POST
/orgs
Grafana Create Org
createOrg body → 200401403409500
POST
/teams
Grafana Create Team
createTeam body → 200401403409500
POST
/access-control/roles
Grafana Create Role
createRole body → 201400403500
POST
/reports
Grafana Create Report
createReport body → 200400401403404500
POST
/serviceaccounts/{serviceAccountId}/tokens
Grafana Create Token
createToken 1 param body → 200400401403404409500
POST
/cloudmigration/migration
Grafana Create Session
createSession body → 200400401403500
POST
/cloudmigration/migration/{uid}/snapshot
Grafana Create Snapshot
createSnapshot 1 param body → 200400401403500
POST
/dashboards/uid/{dashboardUid}/public-dashboards
Grafana Create Public Dashboard
createPublicDashboard 1 param body → 200400401403500
POST
/snapshots
Grafana Create Dashboard Snapshot
createDashboardSnapshot body → 200401403500
POST
/groupsync/groups/{group_id}
Grafana Create Group Mappings
createGroupMappings 1 param body → 201400401403500
POST
/playlists
Grafana Create Playlist
createPlaylist body → 200401403404500
POST
/recording-rules
Grafana Create Recording Rule
createRecordingRule body → 200401403404500
POST
/recording-rules/test
Grafana Test Create Recording Rule
testCreateRecordingRule body → 200401403404422500
POST
/recording-rules/writer
Grafana Create Recording Rule Write Target
createRecordingRuleWriteTarget body → 200401403404422500

Schemas 48

The contract defines 48 schemas that model the data the API accepts and returns. The most detailed are Folder (19 properties), CreateOrUpdateReport (13 properties), RoleDTO (13 properties), LibraryElementDTOisthefrontendDTOforentities. (13 properties). Each schema is shown below with its type and property counts.

CreateSnapshotRequestDTO
object
1 property
RecordingRuleJSON
object
RecordingRuleJSON is the external representation of a recording rule
11 properties
Permission
object
Permission is the model for access control permissions
4 properties
ErrorResponseBody
object
3 properties 1 required
CreateSnapshotResponseDTO
object
1 property
SuccessResponseBody
object
1 property
ReportSchedule
object
8 properties
CreateRoleForm
object
9 properties
CreateTeamCommand
object
2 properties 1 required
LibraryElementResponseisaresponsestructforLibraryElementDTO.
object
1 property
EmailDTO
object
2 properties
Kind
integer
Kind of element to create, Use 1 for library panels or 2 for c. Description: 1 - library panels
CloudMigrationSessionResponseDTO
object
4 properties
publicError1
object
PublicError is derived from Error and only contains information available to the end user.
4 properties 2 required
ResourceType
string
CreateOrgCommand
object
1 property
createDashboardSnapshotResponse
object
5 properties
Playlist
object
Playlist model
4 properties
ReportOptions
object
5 properties
PublicDashboard
object
12 properties
RoleDTO
object
13 properties 8 required
Folder
object
19 properties
ReportTimeRange
object
2 properties
CreateQueryInQueryHistoryCommand
object
CreateQueryInQueryHistoryCommand is the command for adding query history
2 properties 1 required
PrometheusRemoteWriteTargetJSON
object
3 properties
PlaylistItem
object
6 properties
AddServiceAccountTokenCommand
object
2 properties
QueryHistoryResponse
object
QueryHistoryResponse is a response struct for QueryHistoryDTO
1 property
NewApiKeyResult
object
3 properties
CreateDashboardSnapshotCommand
object
8 properties 1 required
GroupAttributes
object
1 property
LibraryElementDTOMetaisthemetainformationforLibraryElementDTO.
object
7 properties
PublicDashboardDTO
object
6 properties
CreateFolderCommand
object
CreateFolderCommand captures the information required by the folder service to create a folder.
4 properties
CreateLibraryElementCommand
object
CreateLibraryElementCommand is the command for adding a LibraryElement
6 properties
createReportResponse
object
2 properties
createOrgResponse
object
2 properties 2 required
createTeamResponse
object
3 properties
LibraryElementDTOisthefrontendDTOforentities.
object
13 properties
ReportDashboardID
object
3 properties
CreatePlaylistCommand
object
3 properties
messageResponse
object
1 property
QueryHistoryDTO
object
7 properties
CloudMigrationSessionRequestDTO
object
1 property
ReportDashboard
object
3 properties
Unstructured
object
Unstructured allows objects that do not have Golang structs registered to be manipulated generically.
1 property
LibraryElementDTOMetaUser
object
3 properties
CreateOrUpdateReport
object
13 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

grafana-create-api-openapi.yml Raw ↑

Other APIs Grafana publishes across the network.

Grafana Access API
Grafana Account API
Grafana Accounts API
Grafana Add API
Grafana Address API
Grafana Administrative API
Grafana Alerts API
Grafana All API
Grafana Annotations API
Grafana Built API
Grafana Cache API
Grafana Call API
Where this information came from

This is an independent, third-party profile of Grafana Create API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.