---
title: "The public address an app Temps does not deploy should send analytics to."
method: GET
path: "/projects/{project_id}/analytics/ingest-endpoint"
tags: ["Analytics Ingest Keys"]
---

# The public address an app Temps does not deploy should send analytics to.

`GET /projects/{project_id}/analytics/ingest-endpoint`

## 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}/analytics/ingest-endpoint`
- Auth: HTTP bearer

This is the `basePath` of the install snippet. It is its own endpoint
because `GET /settings` needs `settings:read`, which a project member does
not hold; this one needs only `AnalyticsRead` on the project, exactly like
listing the keys the same snippet embeds, and exposes nothing but the one
address. `external_url: null` means none is stored.

## Path parameters

- `project_id` integer, required

## Response `200`

The configured external URL, or null when none is stored

- AnalyticsIngestEndpoint: The public address an app Temps does not deploy should send analytics to. Served separately from the platform settings because `GET /settings` needs `settings:read`, which a project member does not hold, while the install snippet this value goes into is shown to every role that can read the project's analytics. Only the one address the snippet embeds is exposed; no other setting travels with it.
  - `external_url` string, nullable: The configured external URL, without a trailing slash. `null` when no external URL is stored (or no settings service is available), in which case the caller must decide what to show instead; it is never guessed.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-15** `73b3245bf147`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/analytics/ingest-endpoint/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/ab6d5d19e930?raw)
