palantir / palantir/foundry-platform-python
Feature Request: API endpoints to create Object Types, Action Types, and Link Types programmatically
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 206
- Forks
- 50
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 3
Description
Summary
I am thinking about potentially using Palantir but it does not provide full automation via SDK / CLI that I can use Claude Code to fully automate, which slows done my development speed by 100x vs. using an AWS + Python + React stack. This greatly influences my interest in switching to Plantar. We need to add fully programatic capabilities for Palantir so I can utilize Claude code to do rapid development.
Currently, the Foundry Platform SDK only supports read operations for Ontology schema definitions (Object Types, Action Types, Link Types, Query Types). There are no API endpoints to create these resources programmatically.
This forces users to manually configure the Ontology through the Palantir UI, which prevents full automation of Foundry deployments.
Requested Endpoints
| Resource | Current State | Requested |
|---|---|---|
| Object Types | GET, LIST only | POST /v2/ontologies/{ontology}/objectTypes |
| Action Types | GET, LIST only | POST /v2/ontologies/{ontology}/actionTypes |
| Link Types | GET only | POST /v2/ontologies/{ontology}/linkTypes |
| Query Types | GET, LIST only | POST /v2/ontologies/{ontology}/queryTypes |
Use Case
As a developer, I want to:
- Define my entire Ontology schema in code (Infrastructure as Code)
- Programmatically create Object Types, Action Types, and Link Types via the SDK
- Automate full Foundry deployments without any manual UI interaction
- Version control my Ontology schema alongside my application code
- Use tools like Claude Code / AI coding assistants to fully automate Palantir Foundry setup
Current Workaround
None. Users must manually click through the Ontology Manager UI to create these resources.
Related Issues
- Issue #169 requested similar functionality
- Palantir Community has an open request for Infrastructure-as-Code support: https://community.palantir.com/t/implementing-infrastructure-as-code-iac-for-ontology-management-in-palantir-foundry/1016
Impact
Without these endpoints, organizations cannot:
- Fully automate CI/CD pipelines for Foundry
- Use AI coding tools to build complete Palantir solutions
- Implement true Infrastructure-as-Code for Ontology management
- Programmatically replicate Ontology schemas across environments
Additional Context
I noted that in Issue #169, a Palantir engineer mentioned in August 2025 that "endpoints for ontology modifications are in progress." Any update on the timeline for this feature would be greatly appreciated.
Thank you for considering this request.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing read-only ontology schema endpoints in the Python SDK and the related Issue #169. Compare the requested create operations for Object Types, Action Types, Link Types, and Query Types with the current SDK surface; done means the requested resources can be created programmatically with documented API support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100