Docs are work in progress
Skip to main content

Get SSO token

POST 

/api/v1/auth/grafana/sso

This API endpoint generates a Single Sign-On (SSO) token for Grafana login. Additionally, provides the appropriate explore URL based on the specified data source, enabling direct access to Grafana's exploration features.

Request

Body

required

The request body containing the required details to get SSO token and explore URL

    dataSource string
    machineIdOrAlias string
    startTime int64

    Timestamp in epoch milliseconds

    endTime int64

    Timestamp in epoch milliseconds

    timeInterval string
    logStream string
    logLimit int32
    logSearch string

Responses

Success response

Schema

    success boolean
    message string
    status string
    statusCode int32
    errorCode string
    subErrors object[]

    payload

    object

    Schema for get grafana SSO token response

    url string
    token string
    exploreUrl string
Loading...