---
updatedAt: 2026-02-27T12:05:49.000Z
agentTools:
  projectIndex: https://gtidocs.readme.io/llms.txt
---

# Get object descriptors related to a threat

> 🚧 Special privileges required
>
> Threat Actors and Campaigns are only available to users with the Google Threat Intelligence (Google TI) Enterprise or Enterprise Plus licenses.

This endpoint is the same as [/collections/\{id}/\{relationship}](https://gtidocs.readme.io/reference/get-threat-relationships) except it returns just the related object's descriptor instead of returning all attributes.

Available relationships are described in the [Threat Actor](https://gtidocs.readme.io/reference/threat-actor-object#relationships), [Campaign](https://gtidocs.readme.io/reference/campaign-object#relationships), [Malware Family](https://gtidocs.readme.io/reference/malware-family-object#relationships), [Software or Toolkit](https://gtidocs.readme.io/reference/software-toolkit-object#relationships) and [IoC Collection](https://gtidocs.readme.io/reference/ioc-collection-object#relationships) objects documentation.

## Examples

Get 10 files descriptors related to the Kimsuky threat actor `threat-actor--bcaaad6f-0597-4b89-b69b-84a6be2b7bc3`

```python
import requests
import urllib

object_id = "threat-actor--bcaaad6f-0597-4b89-b69b-84a6be2b7bc3"
relationship = "files"
limit = 10
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/relationships/{relationship}?limit={limit}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
```

Get 4 domains descriptors related to a given malware or toolkit\`

```python
import requests
import urllib

object_id = "malware--350aa703-7750-5e07-997b-476375955828"
relationship = "files"
limit = 4
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/relationships/{relationship}?limit={limit}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
```

Get 9 URL descriptors related to a given campaign.

```python
import requests
import urllib

object_id = "campaign--24f96f40-b2fa-512c-b1da-2f22a949d12d"
relationship = "urls"
limit = 9
url = f"https://www.virustotal.com/api/v3/collections/{object_id}/relationships/{relationship}?limit={limit}"
headers = {"accept": "application/json","x-apikey": <api-key>}
response = requests.get(url, headers=headers)
```

# OpenAPI definition

```json
{
  "info": {
    "title": "Threat Landscape",
    "version": "3.0"
  },
  "openapi": "3.1.0",
  "tags": [
    {
      "name": "Threat Actors, Malware & Tools, Campaigns, IoC Collections"
    }
  ],
  "paths": {
    "/collections/{id}/relationships/{relationship}": {
      "get": {
        "tags": [
          "Threat Actors, Malware & Tools, Campaigns, IoC Collections"
        ],
        "deprecated": false,
        "description": "",
        "operationId": "get-threat-related-descriptors",
        "parameters": [
          {
            "description": "Your API key",
            "in": "header",
            "name": "x-apikey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Threat's ID",
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Relationship name (see [threat actors](ref:threat-actor-object#relationships), [campaigns](ref:campaign-object#relationships), [malware](ref:malware-family-object#relationships), [toolkits](ref:software-toolkit-object#relationships), [ioc collectins](ref:ioc-collection-object#relationships)) relationships section",
            "in": "path",
            "name": "relationship",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Maximum number of related objects to retrieve",
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 10,
              "format": "int32",
              "type": "integer",
              "maximum": 40,
              "minimum": 0
            }
          },
          {
            "description": "Continuation cursor",
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "200"
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "properties": {},
                  "type": "object"
                }
              }
            },
            "description": "400"
          }
        },
        "security": [],
        "summary": "Get object descriptors related to a threat"
      }
    }
  },
  "security": [],
  "servers": [
    {
      "url": "https://www.virustotal.com/api/v3"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "headers": [],
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```