provider external_data_sources GET
/api/environments/{environment_id}/external_data_sources/stored_credentials/ @utdk/posthog
/api/environments/{environment_id}/external_data_sources/stored_credentials/ environments_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`.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- 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
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsExternalDataSourcesStoredCredentialsList()