Skip to main content
POST
/
api
/
v2
/
asset-group-tags
/
preview-selectors
Preview Selectors
curl --request POST \
  --url https://bloodhound.specterops.io/openapi.json/api/v2/asset-group-tags/preview-selectors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "seeds": [
    {
      "type": 1,
      "value": "<string>"
    }
  ],
  "expansion": 0
}
'
{
  "data": {
    "member": {
      "id": 123,
      "object_id": "<string>",
      "primary_kind": "<string>",
      "name": "<string>",
      "properties": {},
      "source": 1
    }
  }
}
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
string
default:wait=30

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Body

application/json

The request body of seeds for previewing what a selector will select.

seeds
object[]
required
expansion
enum<integer>

Determine which expansion approach to use for member seeds. 0 - No expansion, 1 - Expand all, 2 - Expand containing members, 3 - Expand containing members and members containing the seed. Default fallback will be 1 - Expand all

Available options:
0,
1,
2,
3

Response

OK

data
object