curl --request GET \
--url https://api-dev.narrative.io/webhooks/{webhook_subscription_id} \
--header 'Authorization: Bearer <token>'{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"secret": "8b6dba8c-9a8b-4a3a-8469-9dc7a33c3e17",
"status": "active",
"companyId": 42,
"jobIds": [
"d35a12c1-7a2f-46b9-8d60-9e0a2a84c205",
"9a3cf334-4c6d-4d3f-a7d6-22b6e6f2ac1b"
],
"jobStates": [
"pending",
"running",
"completed"
],
"jobTypes": [
"forecast",
"materialized-view"
],
"url": "https://webhooks.mycompany.com/events",
"createdAt": "2025-04-29T16:12:45.123456",
"updatedAt": "2025-04-29T16:12:45.123456"
}Retrieve a specific webhook subscription.
curl --request GET \
--url https://api-dev.narrative.io/webhooks/{webhook_subscription_id} \
--header 'Authorization: Bearer <token>'{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"secret": "8b6dba8c-9a8b-4a3a-8469-9dc7a33c3e17",
"status": "active",
"companyId": 42,
"jobIds": [
"d35a12c1-7a2f-46b9-8d60-9e0a2a84c205",
"9a3cf334-4c6d-4d3f-a7d6-22b6e6f2ac1b"
],
"jobStates": [
"pending",
"running",
"completed"
],
"jobTypes": [
"forecast",
"materialized-view"
],
"url": "https://webhooks.mycompany.com/events",
"createdAt": "2025-04-29T16:12:45.123456",
"updatedAt": "2025-04-29T16:12:45.123456"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
active, archived costs, datasets_calculate_column_stats, datasets_delete_table, datasets_deliver_data, datasets_sample, datasets_suggest_mappings, delete-snowflake-table, forecast, materialize-view, models_deliver_model, model_training_run, nql-forecast, upload-stats pending, running, completed, pending_cancellation, cancelled, failed