Ontology SDK

The Ontology Software Development Kit (SDK) allows you to access the full power of the Ontology directly from your development environment. You can generate the Ontology SDK with Developer Console, a new portal for creating and managing applications using Palantir APIs. The Ontology SDK supports NPM (Node Package Manager) package for TypeScript, Pip or Conda for Python, Maven for Java, and OpenAPI spec for any other language.

By treating Foundry as your backend, you can leverage the Ontology's robust ability to perform high-scale queries and Foundry writeback alongside granular governance controls to accelerate the process of securely developing applications that can power your organization.

Demo app set up page

Ontology SDK benefits

The Ontology SDK was built to provide several primary benefits:

  • Accelerated development: With the Ontology SDK, you can quickly start developing applications backed by the Foundry Ontology. By enabling ergonomic access to Ontology APIs, the Ontology SDK allows you to read and write back to the Ontology with minimal code.
  • Strong type-safety: The functions and types generated for the Ontology SDK are based on just the subset of the Ontology relevant to you. Types and functions are generated from your Ontology, allowing you to query and explore your Ontology directly in your editor.
  • Centralized maintenance: As the Ontology is built and managed centrally in Foundry, you can focus on application building and decrease the typical maintenance burden required to build a data foundation.
  • Secure by design: The Ontology SDK uses a token that is scoped only to the ontological entities you want your application to access, in addition to the user's own permissions to the data.

Additionally, TypeScript bindings for frontend development provide a convenient way for developers to quickly build React applications on top of Foundry.

Developer Console interface showing Application SDK overview

The generated code uses metadata about your Ontology, including property names and descriptions. You can view this metadata directly in your editor.

Developer Console

The Developer Console is the platform used to create both Ontology SDK applications as well as OAuth clients (formerly known as third-party applications in Control Panel). To access the Developer Console, open the application portal and search for developer console.

Access the developer console