---
title: "Get where this project's apps send telemetry"
method: GET
path: "/projects/{project_id}/ingest-setup"
tags: ["Projects"]
---

# Get where this project's apps send telemetry

`GET /projects/{project_id}/ingest-setup`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/ingest-setup`
- Auth: HTTP bearer

The public URL, method and content type of every ingest route (analytics,
session replay, errors, OTLP logs and traces), the credential each expects
and where to create it, and whether the project already has it. Header
values are templates over an environment variable; no credential is
returned.

## Path parameters

- `project_id` integer, required

## Query parameters

- `environment_id` integer

## Response `200`

Ingest setup of the project

- ProjectIngestSetup: The ingest setup of one project (and optionally one environment).
  - `environment_id` integer, nullable: The environment the URLs attribute telemetry to, when one was asked for.
  - `project_id` integer, required
  - `project_slug` string, required
  - `public_base_url` string, required: Public ingress URL every endpoint is built from, without a trailing slash.
  - `signals` IngestSignalSetup[], required
    - `auth` IngestAuth, required: How to authenticate a signal's requests, without the credential itself.
      - `browser_safe` boolean, required: Whether the credential may ship in browser code. Analytics keys and DSN keys are public by design; an API key never is.
      - `cli_command` string, required: `temps` CLI command that creates the credential.
      - `credential_path` string, required: Console path where the credential is created or shown.
      - `env_var` string, required: Environment variable the app should read the credential from.
      - `headers` IngestHeader[], required: Headers to send, as templates over `env_var`.
        - `name` string, required
        - `value` string, required
      - `kind` 'analytics_ingest_key' | 'sentry_dsn' | 'api_key', required: The credential a signal's ingest route expects.
      - `query_param` string, nullable: Query-string fallback for clients that cannot set headers (`navigator.sendBeacon`), when the route accepts one.
    - `configured` boolean, required: Whether the project has what this signal needs. `false` means a credential still has to be created. Logs and traces are always `true`: they authenticate with the caller's own API key, which is not project state; `auth.credential_path` and `auth.cli_command` say how to get one.
    - `endpoints` IngestEndpoint[], required
      - `content_type` string, required: The `Content-Type` the route accepts.
      - `method` string, required
      - `name` string, required: Stable identifier of the route within its signal (`event`, `envelope`, `otlp_traces`, …).
      - `url` string, required: Absolute URL, built from the public ingress URL.
    - `otlp_endpoint` string, nullable: For OTLP signals without an environment: the value of `OTEL_EXPORTER_OTLP_ENDPOINT`. SDKs append `/v1/traces` or `/v1/logs` to it. `None` with an environment, whose per-signal URLs in `endpoints` go in `OTEL_EXPORTER_OTLP_{TRACES,LOGS}_ENDPOINT`.
    - `reason` string, nullable: What is missing when `configured` is `false`.
    - `setup_path` string, required: Console path that fixes what is missing, or the signal's setup page.
    - `signal` 'analytics' | 'session_replay' | 'errors' | 'logs' | 'traces', required: A kind of telemetry an app can send to Temps.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Project or environment not found
- `500`: Internal server error

## Changes

- **2026-11-20** `7e05a27ddec8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/ingest-setup/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
