provider external_data_sources GET /api/projects/{project_id}/external_data_sources/stored_credentials/
@utdk/posthog /api/projects/{project_id}/external_data_sources/stored_credentials/
external_data_sources_stored_credentials_list
List credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
search query
A search term.
string
source_type query
Only return stored credentials for this source type (e.g. 'Stripe', 'Postgres').
string

Try it

Authentication
Configure credentials for PostHog API
externalDataSourcesStoredCredentialsList
GET/api/projects/{project_id}/external_data_sources/stored_credentials/
List credentials stored via the source connect page that haven't been consumed yet. Returns metadata only (id, source type, timestamps) — never the secrets themselves. Stored credentials are temporary: they disappear once consumed by `setup` or when they expire. Newest first, so after a user confirms they've finished the connect page, the first entry for the source type is the one to pass to `setup`.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

A search term.

Only return stored credentials for this source type (e.g. 'Stripe', 'Postgres').

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.externalDataSourcesStoredCredentialsList()