palantir-core-workflow-b

Featured

Work with Palantir Foundry Ontology objects, actions, and queries via SDK. Use when querying objects, applying actions, linking objects, or building Ontology-driven applications. Trigger with phrases like "palantir ontology", "foundry objects", "palantir actions", "ontology query", "OSDK objects".

AI & Automation 2,926 stars 433 forks Updated yesterday 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 Core Workflow B — Ontology Objects & Actions ## Overview Query, filter, and mutate Ontology objects using the Foundry Platform SDK and OSDK. Covers listing objects with property filters, following links between object types, applying actions, and aggregating object data. This is the primary workflow for Ontology-driven applications. ## Prerequisites - Completed `palantir-install-auth` setup - An Ontology with configured object types, link types, and actions - Familiarity with `palantir-core-workflow-a` (data pipelines feed the Ontology) ## Instructions ### Step 1: List and Filter Objects (REST API) ```python import os, foundry client = foundry.FoundryClient( auth=foundry.UserTokenAuth( hostname=os.environ["FOUNDRY_HOSTNAME"], token=os.environ["FOUNDRY_TOKEN"], ), hostname=os.environ["FOUNDRY_HOSTNAME"], ) ONTOLOGY = "my-company" # List employees in Engineering, sorted by hire date result = client.ontologies.OntologyObject.list( ontology=ONTOLOGY, object_type="Employee", page_size=20, order_by="hireDate:asc", properties={"department": "Engineering"}, ) for obj in result.data: p = obj.properties print(f"{p['fullName']} | {p['department']} | hired {p['hireDate']}") ``` ### Step 2: Search Objects with Filters ```python # Search with complex filters using the search endpoint search_result = client.ontologies.OntologyObject.search( ontology=ONTOLOGY, object_type="Employee", where={ "type...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category