get
https://www.virustotal.com/api/v3/agentspace/flows//relationships/
Retrieve descriptors (type + id) of objects related to an Agentic Flow.
This endpoint is the same as GET /flows/{id}/{relationship} except it returns just the related object's descriptor (type and id) instead of its full attributes.
Available relationships: group and flow_executions.
Examples
Get the descriptors of the executions related to a Flow.
import requests
object_id = "f2e7c4a0-1b2c-4d3e-8f90-abcdef012345"
relationship = "flow_executions"
limit = "10"
url = f"https://www.virustotal.com/api/v3/flows/{object_id}/relationships/{relationship}?limit={limit}"
headers = {"accept": "application/json", "x-apikey": <api-key>}
response = requests.get(url, headers=headers)