palantir-webhooks-events

Featured

Implement Palantir Foundry webhook handling for Ontology change events. Use when reacting to Ontology object changes, dataset updates, or build completion events from Foundry. Trigger with phrases like "palantir webhook", "foundry events", "palantir notifications", "ontology change events".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Webhooks & Events ## Overview Handle Foundry webhook events for Ontology changes, dataset updates, and build completions. Covers webhook registration via the Foundry API, signature verification, event routing, and idempotent processing. ## Prerequisites - Foundry enrollment with webhook support enabled - HTTPS endpoint accessible from Foundry's network - `foundry-platform-sdk` installed ## Instructions ### Step 1: Register a Webhook via API ```python import os, foundry client = foundry.FoundryClient( auth=foundry.ConfidentialClientAuth( client_id=os.environ["FOUNDRY_CLIENT_ID"], client_secret=os.environ["FOUNDRY_CLIENT_SECRET"], hostname=os.environ["FOUNDRY_HOSTNAME"], scopes=["api:read-data", "api:write-data"], ), hostname=os.environ["FOUNDRY_HOSTNAME"], ) # Register webhook for object change events webhook = client.webhooks.Webhook.create( url="https://myapp.example.com/webhooks/foundry", event_types=["ontology.object.created", "ontology.object.updated"], secret="whsec_your_webhook_secret_here", ) print(f"Webhook registered: {webhook.rid}") ``` ### Step 2: Webhook Endpoint with Signature Verification ```python from flask import Flask, request, jsonify import hmac, hashlib app = Flask(__name__) @app.post("/webhooks/foundry") def handle_foundry_webhook(): # Verify signature signature = request.headers.get("X-Foundry-Signature", "") timestamp = request.headers.get("X-Foundry-Timestamp", "")...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category