Get object descriptors related to a Flow Execution

Retrieve descriptors (type + id) of objects related to a Flow Execution.

This endpoint is the same as GET /flow_executions/{id}/{relationship} except it returns just the related object's descriptor (type and id) instead of its full attributes.

Available relationships: flow, flow_snapshot, owner, and group.

Examples

Get the descriptor of the parent Flow related to a Flow Execution.

import requests

object_id = "9a1b2c3d-4e5f-6071-8293-a4b5c6d7e8f9"
relationship = "flow"
url = f"https://www.virustotal.com/api/v3/flow_executions/{object_id}/relationships/{relationship}"
headers = {"accept": "application/json", "x-apikey": <api-key>}
response = requests.get(url, headers=headers)
Path Params
string
required

Flow Execution ID.

string
required

Relationship name: flow, flow_snapshot, owner, or group.

Query Params
int32
0 to 40
Defaults to 10

Maximum number of related object descriptors to return.

string

Continuation cursor.

Headers
string
required

Your API key.

string

Optional. ID of the group whose API quota should be charged for the request. If omitted, the parent group's quota is used. Only relevant when your API key belongs to more than one group (multi-tenancy).

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json