Skip to content

Feature Request: API endpoints to create Object Types, Action Types, and Link Types programmatically #318

@BoPengGit

Description

@BoPengGit

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:

  1. Define my entire Ontology schema in code (Infrastructure as Code)
  2. Programmatically create Object Types, Action Types, and Link Types via the SDK
  3. Automate full Foundry deployments without any manual UI interaction
  4. Version control my Ontology schema alongside my application code
  5. 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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions