> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bedrock.quarry-systems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Resource Parents

> Get the direct parent edges of a resource in the hierarchy

## Path Parameters

<ParamField path="childResourceId" type="string" required>
  The child resource ID
</ParamField>

## Response

Returns the parent resource, or 404 if no parent exists.

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET 'https://api.example.com/resource-hierarchy/parents/resource_doc_456' \
    -H 'Authorization: Bearer YOUR_TOKEN'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "resource_folder_123",
    "resourceTypeId": "rtype_folder",
    "displayName": "Engineering Docs",
    "relationshipType": "contains",
    "cascade": "inherit"
  }
  ```
</ResponseExample>
