---
title: "Get project setup matrix"
method: GET
path: "/v1/projects/{project_id}/setup"
tags: ["Install"]
---

# Get project setup matrix

`GET /v1/projects/{project_id}/setup`

## Request

- Base URL: `https://api.agentry.sh`
- URL: `https://api.agentry.sh/v1/projects/{project_id}/setup`
- Auth: HTTP bearer

Project-specific machine-readable connection and credential placement matrix. Application analytics, exceptions, and source maps go directly to the customer-owned PostHog Cloud project. Agentry uses read-only OAuth, while Agentry credentials are limited to interactive owner operations, CI deploy evidence, and explicitly enabled automation runners.

## Path parameters

- `project_id` string, required

## Response `200`

OK

- object
  - `schema_version` integer, required
  - `project_id` string, required
  - `principle` string, required
  - `posthog_connection` object, required
  - `env_matrix` object[], required
    - `token_kind` string, required
    - `env_var` string, required
    - `required` boolean, required
    - `default` string
    - `secret_level` string, required
    - `token_prefix` string
    - `allowed_contexts` string[]
    - `commit_to_git` boolean, required
    - `browser_safe` boolean, required
    - `host_or_ci_placement` string
    - `verify_endpoint` string
    - `rotate_endpoint` string, nullable
    - `notes` string
  - `public_queries` object, required
  - `next_action` string, required

## Other responses

- `default`: Error

---

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