get
https://www.virustotal.com/api/v3/agentspace/flow_executions//relationships/
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)