Fetch Version Details

Use the Fetch Version Details API to retrieve the version and image tag of the Pulse deployment.

You can use this API to verify the deployed Pulse version or integrate version information into automation and deployment workflows.

Before invoking this API, authenticate with the Pulse server. For more information, see Authenticate with Pulse APIs.


Endpoint

Property

Value

Method

POST

Endpoint

/graphql

API Type

GraphQL


Request

Run the following GraphQL query to retrieve the Pulse version.

query getPulseVersion { getPulseVersion { imageTag version } }

Example Request

The following example invokes the API by using curl.

curl -X POST 'https://<pulse_url>/graphql' \ -H 'Content-Type: application/json' \ -b cookies.txt \ -H "role: $ROLE" \ -d '{ "query": "query getPulseVersion { getPulseVersion { imageTag version } }" }'

Example Response

{ "data": { "getPulseVersion": { "imageTag": "4.x.x-xxxxxx", "version": "4.x.x" } } }

Response Fields

Field

Description

imageTag

Specifies the Pulse image tag of the deployed version.

version

Specifies the Pulse product version.