Pipeline
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all pipeline destinations
Required API key scopes
plugin:read
Path parameters
- organization_idstring
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Request
GET
/api /organizations /:organization_id /pipeline_destinations
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/
Response
Status 200
RESPONSE
{"count": 123,"next": "http://api.example.org/accounts/?offset=400&limit=100","previous": "http://api.example.org/accounts/?offset=200&limit=100","results": [{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}]}
Create pipeline destinations
Required API key scopes
plugin:write
Path parameters
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Response
Request
POST
/api /organizations /:organization_id /pipeline_destinations
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/\-d plugin_type=undefined
Response
Status 201
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Retrieve pipeline destinations
Required API key scopes
plugin:read
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Response
Request
GET
/api /organizations /:organization_id /pipeline_destinations /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/
Response
Status 200
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Update pipeline destinations
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Response
Request
PATCH
/api /organizations /:organization_id /pipeline_destinations /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/\-d plugin_type=undefined
Response
Status 200
RESPONSE
{"id": 0,"plugin_type": "local","name": "string","description": "string","url": "string","icon": "string","config_schema": null,"tag": "string","latest_tag": "string","is_global": true,"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6","organization_name": "string","capabilities": null,"metrics": null,"public_jobs": null,"hog_function_migration_available": "string"}
Delete pipeline destinations
Required API key scopes
plugin:write
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
DELETE
/api /organizations /:organization_id /pipeline_destinations /:id
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X DELETE \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/
Response
Status 204 No response body
Retrieve pipeline destinations check for updates
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /:id /check_for_updates
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/check_for_updates/
Response
Status 200 No response body
Retrieve pipeline destinations source
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /:id /source
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/source/
Response
Status 200 No response body
Update pipeline destinations update source
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Request
PATCH
/api /organizations /:organization_id /pipeline_destinations /:id /update_source
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl -X PATCH \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/update_source/\-d plugin_type=undefined
Response
Status 200 No response body
Create pipeline destinations upgrade
Path parameters
- idinteger
A unique integer value identifying this plugin.
- organization_idstring
Request parameters
- plugin_type
- namestring
- descriptionstring
- iconstring
- config_schema
- tagstring
- is_globalboolean
- capabilities
- metrics
- public_jobs
Request
POST
/api /organizations /:organization_id /pipeline_destinations /:id /upgrade
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/:id/upgrade/\-d plugin_type=undefined
Response
Status 200 No response body
Retrieve pipeline destinations activity
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /activity
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/activity/
Response
Status 200 No response body
Retrieve pipeline destinations exports unsubscribe configs
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /exports_unsubscribe_configs
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/exports_unsubscribe_configs/
Response
Status 200 No response body
Retrieve pipeline destinations repository
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /repository
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/repository/
Response
Status 200 No response body
Retrieve pipeline destinations unused
Path parameters
- organization_idstring
Request
GET
/api /organizations /:organization_id /pipeline_destinations /unused
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/organizations/:organization_id/pipeline_destinations/unused/