---
title: "Get Agent Project Context"
method: GET
path: "/api/projects/{project_uuid}/context"
tags: ["agent-project-context"]
---

# Get Agent Project Context

`GET /api/projects/{project_uuid}/context`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/projects/{project_uuid}/context`
- Auth: HTTP bearer

Aggregated project state (membership, provenance, notes) for agent consumers.

## Path parameters

- `project_uuid` string, uuid, required

## Response `200`

Successful Response

- ProjectAgentContext: Aggregated project state for the ``project-markdown-builder`` agent.
  - `project` ProjectAgentInfo, required
    - `title` string, required
    - `description` string, nullable
    - `status` 'active' | 'on_hold' | 'completed' | 'archived', required
    - `owner` ProjectOwner, required
      - `uuid` string, uuid4, required
      - `name` string, required
    - `jurisdictions` ProjectJurisdictionRef[]
      - `id` integer, required
      - `name` string, required
      - `code` string, nullable
    - `legal_entities` ProjectLegalEntityRef[]
      - `uuid` string, uuid4, required
      - `legal_name` string, required
      - `tax_id` string, nullable
    - `item_counts` ProjectAgentItemCounts
      - `contacts` integer
      - `organizations` integer
      - `interactions` integer
      - `private_docs` integer
      - `public_docs` integer
      - `events` integer
      - `tasks` integer
      - `internal_notes` integer
  - `contacts` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `organizations` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `interactions` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `public_docs` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `private_docs` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `events` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `tasks` AgentEntityRecord[]
    - `id` string, uuid4, required
    - `item_id` string, uuid4, required
    - `object_type` string, required
    - `title` string, required
    - `organization_name` string, nullable
    - `role` string, nullable
    - `email` string, nullable
    - `short_name` string, nullable
    - `country` string, nullable
    - `website` string, nullable
    - `occurred_at` string, date-time, nullable
    - `type_label` string, nullable
    - `added_by_name` string, nullable
    - `added_at` string, date-time, nullable
    - `medium` string, nullable
    - `bill_number` string, nullable
    - `current_phase` string, nullable
    - `source_type` 'manual' | 'collection_import' | 'migration_backfill' | 'agent_suggestion', nullable
  - `internal_notes` AgentInternalNote[]
    - `uuid` string, uuid4, required
    - `author_name` string, required
    - `text` string, required
    - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
