Get query node destinations

GetAssessmentQueryDestinationNodes returns details about related destination nodes for an individual result, specified by source_node_id. GetAssessmentQueryNodes returns source nodes.

This endpoint is used with saved queries identified by their Query ID. For ad-hoc queries using a full query specification, use GetAssessmentQuerySpecDestinationNodes instead.

To return results, the query must specify a related entity type and cannot use the no_relation option.

Parameters

  • id (path, required): The unique identifier (Query ID) of the saved query. You can retrieve this from the query URL in the Veza UI or from the response when creating a query.

  • source_node_id (query, required): The node ID of the source entity to get destination nodes for. This is returned in the results from GetAssessmentQueryNodes.

circle-exclamation
get
Authorizations
AuthorizationstringRequired

Bearer token authentication using a Veza Personal API key.

Header Format: Authorization: Bearer <your-api-key>

Creating an API Key:

  1. Log into your Veza tenant
  2. Navigate to Administration โ†’ API Keys
  3. Generate a new API key and save the value securely
Path parameters
idstringRequired
Query parameters
source_node_idstringOptional
snapshot_idstringOptional
include_all_destination_tags_in_resultsbooleanOptional
page_sizestringOptional

The maximum number of results to be returned. Fewer results may be returned even when more pages exist.

page_tokenstringOptional

The token specifying the specific page of results to retrieve.

Responses
chevron-right
200

OK

application/json
get
/api/v1/assessments/queries/{id}/destination_nodes

Sample request:

Sample response:

Last updated

Was this helpful?