技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
palantir-webhooks-events【数据与研究】Choose and implement a supported Foundry event path using OSDK object subscriptions, direct WebSocket subscriptions, monitoring webhooks, or Data Connection webhooks. Use when reacting to object or monitoring changes. Trigger with "Palantir events" or "Foundry subscription".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Start from the event producer and delivery guarantee: real-time Ontology object updates use OSDK or Object Set Watcher WebSocket subscriptions, while monitoring notifications and outbound integrations use their documented webhook surfaces. Never invent a general ontology.object.created registration API.
references/official-docs.md and verify target-enrollment feature access..subscribe.Use the generated OSDK token provider or the documented WebSocket bearer subprotocol. For outbound webhooks, use the authentication configured by the supported Data Connection webhook. Never invent or assume a signature header; record the actual configured authentication and secret owner.
Classify the event need as Ontology object-set change, monitoring notification, or another documented Foundry integration.
Choose TypeScript OSDK subscription, direct WebSocket, or monitoring/Data Connection webhook and document why it matches.
Define bounded object filters or monitoring criteria, returned properties/message content, authentication, reconnect/backoff, and cancellation.
Implement idempotency and durable reconciliation; on onOutOfDate, disconnection, or delivery gap, reload authoritative state.
Test create/update/delete or alert cases, duplicate delivery, reconnect, stale state, denied access, secret rotation, and consumer recovery.
Ontology and data owners approve subscribed objects/properties; security owners approve authentication and outbound destinations; monitoring owners approve notification routing. A subscription does not authorize writeback.
An event contract with producer, supported surface, filter, payload fields, auth, consumer, delivery/reconnect behavior, idempotency key, reconciliation, tests, observability, and disable procedure.
| Condition | Response |
|---|---|
| The requested event has no documented surface | Do not invent one; use polling with an approved budget, a supported monitoring route, or ask Palantir Support. |
| The subscription reports out of date | Reload the bounded authoritative object set and reconcile before processing more deltas. |
| WebSocket reconnect loops | Apply bounded backoff, refresh auth as designed, and alert after the retry budget. |
| A webhook auth header is assumed | Stop and inspect the actual Data Connection webhook configuration. |
Subscribe to an approved Equipment object set with TypeScript OSDK, select only required properties, handle updates and deletion, and reload on onOutOfDate.
Route a monitoring-view severity to a preconfigured Data Connection webhook, validate the Message input mapping, destination controls, duplicate handling, and disable path.