---
title: "Discover referenced resources"
method: POST
path: "/automation-studio/discoverReferences"
tags: ["Automation Studio"]
---

# Discover referenced resources

`POST /automation-studio/discoverReferences`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/automation-studio/discoverReferences`
- Auth: none declared

Finds all resource references from a set of specified resource identifiers.

## Request body

- object
  - `resourceIdentifiers` AutomationStudioDiscoverReferencesPostRequestBodyContentApplicationJsonSchemaResourceIdentifiersItems[]: Array of resource identifiers to find references for.
    - `resourceType` string: The type of the resource.
    - `resourcePointer` string: The pointer to the identifier value in the resource object.
    - `resourceId` string: The value of the identifier in the resource object.
    - `recursionDepth` integer: Specifies the number of hierarchical levels to traverse when discovering references for this component. If omitted, the search on this component will be fully recursive.
  - `recursive` boolean: If true, recursively looks up resources on all referenced resources.
  - `includeResources` boolean: If true, include the full resource document in each resource reference object.
  - `ignore` object: An object of resource types to directions that will not be included in discovery. Cannot be used with include.
  - `include` object: An object of resource types and directions to be included in discovery. Cannot be used with ignore.
  - `removeCycles` boolean: If true, removes all cyclic relationships from the list of resource references.

## Response `200`

References

- AutomationStudioDiscoverReferencesResponse200
  - `message` string
  - `data` object, nullable
  - `metadata` AutomationStudioDiscoverReferencesPostResponsesContentApplicationJsonSchemaMetadata

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Automation Studio` added
  - api tag `automationStudio` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/automation-studio/discoverReferences/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
