---
title: "Ancestor Chain"
method: GET
path: "/api/v1/federal-hierarchy/{organization_id}/ancestors"
tags: ["Federal Hierarchy"]
---

# Ancestor Chain

`GET /api/v1/federal-hierarchy/{organization_id}/ancestors`

## Request

- Base URL: `https://govconapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://govconapi.com/api/v1/federal-hierarchy/{organization_id}/ancestors`
- Auth: HTTP bearer

Return the chain of ancestors (root → immediate parent) for `organization_id`. Empty array if the organization is a root department.

## Path parameters

- `organization_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/govconapi/apis/govcon-api.md) · [All operations](https://skmtc.dev/govconapi/apis/govcon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/govconapi/apis/govcon-api/revisions/32e498016218?raw)
