provider external_data_sources POST
/api/projects/{project_id}/external_data_sources/preview_resource/ @utdk/posthog
/api/projects/{project_id}/external_data_sources/preview_resource/ external_data_sources_preview_resource_create
Read a bounded sample of rows for one resource of a Custom REST source.
Lets a manifest author verify `data_selector`, `primary_key`, and the incremental
`cursor_path` against live data before creating the source. Only `source_type: "Custom"`
is supported — other source types return 400. The read is bounded (single page per
resource, capped row count, short timeouts, no redirects). Manifest, validation, and SSRF
problems return 400; a live fetch failure returns 200 with `error` set and empty `rows`.
- 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
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.externalDataSourcesPreviewResourceCreate({
"limit": 10
})