Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

foundry-platform-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foundry-platform-sdk

The official Python library for the Foundry API

  • 0.54.0
  • PyPI
  • Socket score

Maintainers
1

Foundry Platform SDK

Supported Python Versions PyPI Version License

[!WARNING] This SDK is incubating and subject to change.

The Foundry Platform SDK is a Python SDK built on top of the Foundry API. Review Foundry API documentation for more details.

[!NOTE] This Python package is automatically generated based on the Foundry API specification.

Foundry Platform SDK vs. Ontology SDK

Palantir provides two different Python Software Development Kits (SDKs) for interacting with Foundry. Make sure to choose the correct SDK for your use case. As a general rule of thumb, any applications which leverage the Ontology should use the Ontology SDK for a superior development experience.

[!IMPORTANT] Make sure to understand the difference between the Foundry SDK and the Ontology SDK. Review this section before continuing with the installation of this library.

Ontology SDK

The Ontology SDK allows you to access the full power of the Ontology directly from your development environment. You can generate the Ontology SDK using the Developer Console, a portal for creating and managing applications using Palantir APIs. Review the Ontology SDK documentation for more information.

Foundry Platform SDK

The Foundry Platform Software Development Kit (SDK) is generated from the Foundry API specification file. The intention of this SDK is to encompass endpoints related to interacting with the platform itself. Although there are Ontology services included by this SDK, this SDK surfaces endpoints for interacting with Ontological resources such as object types, link types, and action types. In contrast, the OSDK allows you to interact with objects, links and Actions (for example, querying your objects, applying an action).

Installation

You can install the Python package using pip:

pip install foundry-platform-sdk

API Versioning

Every endpoint of the Foundry API is versioned using a version number that appears in the URL. For example, v1 endpoints look like this:

https://<hostname>/api/v1/...

This SDK exposes several clients, one for each major version of the API. For example, the latest major version of the SDK is v2 and is exposed using the FoundryClient located in the foundry.v2 package. To use this SDK, you must choose the specific client (or clients) you would like to use.

More information about how the API is versioned can be found here.

Authorization and client initalization

There are two options for authorizing the SDK.

User token

[!WARNING] User tokens are associated with your personal Foundry user account and must not be used in production applications or committed to shared or public code repositories. We recommend you store test API tokens as environment variables during development. For authorizing production applications, you should register an OAuth2 application (see OAuth2 Client below for more details).

You can pass in the hostname and token as keyword arguments when initializing the UserTokenAuth:

import foundry

foundry_client = foundry.v2.FoundryClient(
    auth=foundry.UserTokenAuth(token=os.environ["BEARER_TOKEN"]),
    hostname="example.palantirfoundry.com",
)

OAuth2 Client

OAuth2 clients are the recommended way to connect to Foundry in production applications. Currently, this SDK natively supports the client credentials grant flow. The token obtained by this grant can be used to access resources on behalf of the created service user. To use this authentication method, you will first need to register a third-party application in Foundry by following the guide on third-party application registration.

To use the confidential client functionality, you first need to contstruct a ConfidentialClientAuth object and initiate the sign-in process using the sign_in_as_service_user method. As these service user tokens have a short lifespan, we automatically retry all operations one time if a 401 (Unauthorized) error is thrown after refreshing the token.

import foundry

auth = foundry.ConfidentialClientAuth(
    client_id=os.environ["CLIENT_ID"],
    client_secret=os.environ["CLIENT_SECRET"],
    hostname="example.palantirfoundry.com",
    scopes=[...],  # optional list of scopes
)

auth.sign_in_as_service_user()

[!IMPORTANT] Make sure to select the appropriate scopes when initializating the ConfidentialClientAuth. You can find the relevant scopes in the endpoint documentation.

After creating the ConfidentialClientAuth object, pass it in to the FoundryClient,

import foundry.v2

foundry_client = foundry.v2.FoundryClient(auth=auth, hostname="example.palantirfoundry.com")

Quickstart

Follow the installation procedure and determine which authentication method is best suited for your instance before following this example. For simplicity, the UserTokenAuth class will be used for demonstration purposes.

from foundry.v1 import FoundryClient
import foundry
from pprint import pprint

foundry_client = FoundryClient(
    auth=foundry.UserTokenAuth(...), hostname="example.palantirfoundry.com"
)

# DatasetRid | datasetRid
dataset_rid = "ri.foundry.main.dataset.c26f11c8-cdb3-4f44-9f5d-9816ea1c82da"
# BranchId |
branch_id = "my-branch"
# Optional[TransactionRid] |
transaction_rid = None


try:
    api_response = foundry_client.datasets.Dataset.Branch.create(
        dataset_rid,
        branch_id=branch_id,
        transaction_rid=transaction_rid,
    )
    print("The create response:\n")
    pprint(api_response)
except foundry.PalantirRPCException as e:
    print("HTTP error when calling Branch.create: %s\n" % e)

Want to learn more about this Foundry SDK library? Review the following sections.

Error handling: Learn more about HTTP & data validation error handling
Pagination: Learn how to work with paginated endpoints in the SDK
Static type analysis: Learn about the static type analysis capabilities of this library

Error handling

Data validation

The SDK employs Pydantic for runtime validation of arguments. In the example below, we are passing in a number to transaction_rid which should actually be a string type:

foundry_client.datasets.Dataset.Branch.create(
    "ri.foundry.main.dataset.abc",
    name="123",
    transaction_rid=123,
)

If you did this, you would receive an error that looks something like:

pydantic_core._pydantic_core.ValidationError: 1 validation error for create
transaction_rid
  Input should be a valid string [type=string_type, input_value=123, input_type=int]
    For further information visit https://errors.pydantic.dev/2.5/v/string_type

To handle these errors, you can catch pydantic.ValidationError. To learn more, see the Pydantic error documentation.

[!TIP] Pydantic works with static type checkers such as pyright for an improved developer experience. See Static Type Analysis below for more information.

HTTP exceptions

When an HTTP error status is returned, a PalantirRPCException is thrown.

from foundry import PalantirRPCException


try:
    api_response = foundry_client.datasets.Transaction.abort(dataset_rid, transaction_rid)
    ...
except PalantirRPCException as e:
    print("Another HTTP exception occurred: " + str(e))

This exception will have the following properties. See the Foundry API docs for details about the Foundry error information.

PropertyTypeDescription
namestrThe Palantir error name. See the Foundry API docs.
error_instance_idstrThe Palantir error instance ID. See the Foundry API docs.
parametersDict[str, Any]The Palantir error parameters. See the Foundry API docs.

Pagination

When calling any iterator endpoints, we return a Pager class designed to simplify the process of working with paginated API endpoints. This class provides a convenient way to fetch, iterate over, and manage pages of data, while handling the underlying pagination logic.

To iterate over all items, you can simply create a Pager instance and use it in a for loop, like this:

for branch in foundry_client.datasets.Dataset.Branch.list(dataset_rid):
    print(branch)

This will automatically fetch and iterate through all the pages of data from the specified API endpoint. For more granular control, you can manually fetch each page using the associated page methods.

page = foundry_client.datasets.Dataset.Branch.page(dataset_rid)
while page.next_page_token:
    for branch in page.data:
        print(branch)

    page = foundry_client.datasets.Dataset.Branch.page(dataset_rid, page_token=page.next_page_token)

Static type analysis

This library uses Pydantic for creating and validating data models which you will see in the method definitions (see Documentation for Models below for a full list of models). All request parameters with nested models use a TypedDict whereas responses use Pydantic models. For example, here is how Group.search method is defined in the Admin namespace:

    @pydantic.validate_call
    @handle_unexpected
    def search(
        self,
        *,
        where: GroupSearchFilterDict,
        page_size: Optional[PageSize] = None,
        page_token: Optional[PageToken] = None,
        preview: Optional[PreviewMode] = None,
        request_timeout: Optional[Annotated[pydantic.StrictInt, pydantic.Field(gt=0)]] = None,
    ) -> SearchGroupsResponse:
        ...

[!TIP] A Pydantic model can be converted into its TypedDict representation using the to_dict method. For example, if you handle a variable of type Branch and you called to_dict() on that variable you would receive a BranchDict variable.

If you are using a static type checker (for example, mypy, pyright), you get static type analysis for the arguments you provide to the function and with the response. For example, if you pass an int to name but name expects a string or if you try to access branchName on the returned Branch object (the property is actually called name), you will get the following errors:

branch = foundry_client.datasets.Dataset.Branch.create(
    "ri.foundry.main.dataset.abc",
    # ERROR: "Literal[123]" is incompatible with "BranchName"
    name=123,
)
# ERROR: Cannot access member "branchName" for type "Branch"
print(branch.branchName)

Common errors

This section will document any user-related errors with information on how you may be able to resolve them.

ApiFeaturePreviewUsageOnly

This error indicates you are trying to use an endpoint in public preview and have not set preview=True when calling the endpoint. Before doing so, note that this endpoint is in preview state and breaking changes may occur at any time.

During the first phase of an endpoint's lifecycle, it may be in Public Preview state. This indicates that the endpoint is in development and is not intended for production use.

Documentation for V2 API endpoints

NamespaceResourceOperationHTTP request
AdminGroupcreatePOST /v2/admin/groups
AdminGroupdeleteDELETE /v2/admin/groups/{groupId}
AdminGroupgetGET /v2/admin/groups/{groupId}
AdminGroupget_batchPOST /v2/admin/groups/getBatch
AdminGrouplistGET /v2/admin/groups
AdminGrouppageGET /v2/admin/groups
AdminGroupsearchPOST /v2/admin/groups/search
AdminGroupMemberaddPOST /v2/admin/groups/{groupId}/groupMembers/add
AdminGroupMemberlistGET /v2/admin/groups/{groupId}/groupMembers
AdminGroupMemberpageGET /v2/admin/groups/{groupId}/groupMembers
AdminGroupMemberremovePOST /v2/admin/groups/{groupId}/groupMembers/remove
AdminGroupMembershiplistGET /v2/admin/users/{userId}/groupMemberships
AdminGroupMembershippageGET /v2/admin/users/{userId}/groupMemberships
AdminMarkingMemberaddPOST /v2/admin/markings/{markingId}/markingMembers/add
AdminMarkingMemberlistGET /v2/admin/markings/{markingId}/markingMembers
AdminMarkingMemberpageGET /v2/admin/markings/{markingId}/markingMembers
AdminMarkingMemberremovePOST /v2/admin/markings/{markingId}/markingMembers/remove
AdminUserdeleteDELETE /v2/admin/users/{userId}
AdminUsergetGET /v2/admin/users/{userId}
AdminUserget_batchPOST /v2/admin/users/getBatch
AdminUserget_currentGET /v2/admin/users/getCurrent
AdminUserlistGET /v2/admin/users
AdminUserpageGET /v2/admin/users
AdminUserprofile_pictureGET /v2/admin/users/{userId}/profilePicture
AdminUsersearchPOST /v2/admin/users/search
AipAgentsAgentall_sessionsGET /v2/aipAgents/agents/allSessions
AipAgentsAgentall_sessions_pageGET /v2/aipAgents/agents/allSessions
AipAgentsAgentgetGET /v2/aipAgents/agents/{agentRid}
AipAgentsAgentVersiongetGET /v2/aipAgents/agents/{agentRid}/agentVersions/{agentVersionString}
AipAgentsAgentVersionlistGET /v2/aipAgents/agents/{agentRid}/agentVersions
AipAgentsAgentVersionpageGET /v2/aipAgents/agents/{agentRid}/agentVersions
AipAgentsContentgetGET /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/content
AipAgentsSessionblocking_continuePOST /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/blockingContinue
AipAgentsSessioncancelPOST /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/cancel
AipAgentsSessioncreatePOST /v2/aipAgents/agents/{agentRid}/sessions
AipAgentsSessiongetGET /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}
AipAgentsSessionlistGET /v2/aipAgents/agents/{agentRid}/sessions
AipAgentsSessionpageGET /v2/aipAgents/agents/{agentRid}/sessions
AipAgentsSessionrag_contextPUT /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/ragContext
AipAgentsSessionstreaming_continuePOST /v2/aipAgents/agents/{agentRid}/sessions/{sessionRid}/streamingContinue
ConnectivityConnectionupdate_secretsPOST /v2/connectivity/connections/{connectionRid}/updateSecrets
ConnectivityFileImportcreatePOST /v2/connectivity/connections/{connectionRid}/fileImports
ConnectivityFileImportdeleteDELETE /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
ConnectivityFileImportexecutePOST /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
ConnectivityFileImportgetGET /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
ConnectivityFileImportlistGET /v2/connectivity/connections/{connectionRid}/fileImports
ConnectivityFileImportpageGET /v2/connectivity/connections/{connectionRid}/fileImports
DatasetsBranchcreatePOST /v2/datasets/{datasetRid}/branches
DatasetsBranchdeleteDELETE /v2/datasets/{datasetRid}/branches/{branchName}
DatasetsBranchgetGET /v2/datasets/{datasetRid}/branches/{branchName}
DatasetsBranchlistGET /v2/datasets/{datasetRid}/branches
DatasetsBranchpageGET /v2/datasets/{datasetRid}/branches
DatasetsDatasetcreatePOST /v2/datasets
DatasetsDatasetgetGET /v2/datasets/{datasetRid}
DatasetsDatasetread_tableGET /v2/datasets/{datasetRid}/readTable
DatasetsFilecontentGET /v2/datasets/{datasetRid}/files/{filePath}/content
DatasetsFiledeleteDELETE /v2/datasets/{datasetRid}/files/{filePath}
DatasetsFilegetGET /v2/datasets/{datasetRid}/files/{filePath}
DatasetsFilelistGET /v2/datasets/{datasetRid}/files
DatasetsFilepageGET /v2/datasets/{datasetRid}/files
DatasetsFileuploadPOST /v2/datasets/{datasetRid}/files/{filePath}/upload
DatasetsTransactionabortPOST /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort
DatasetsTransactioncommitPOST /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit
DatasetsTransactioncreatePOST /v2/datasets/{datasetRid}/transactions
DatasetsTransactiongetGET /v2/datasets/{datasetRid}/transactions/{transactionRid}
FilesystemFolderchildrenGET /v2/filesystem/folders/{folderRid}/children
FilesystemFolderchildren_pageGET /v2/filesystem/folders/{folderRid}/children
FilesystemFoldercreatePOST /v2/filesystem/folders
FilesystemFoldergetGET /v2/filesystem/folders/{folderRid}
OntologiesV2ActionapplyPOST /v2/ontologies/{ontology}/actions/{action}/apply
OntologiesV2Actionapply_batchPOST /v2/ontologies/{ontology}/actions/{action}/applyBatch
OntologiesV2ActionTypeV2getGET /v2/ontologies/{ontology}/actionTypes/{actionType}
OntologiesV2ActionTypeV2listGET /v2/ontologies/{ontology}/actionTypes
OntologiesV2ActionTypeV2pageGET /v2/ontologies/{ontology}/actionTypes
OntologiesV2AttachmentgetGET /v2/ontologies/attachments/{attachmentRid}
OntologiesV2AttachmentreadGET /v2/ontologies/attachments/{attachmentRid}/content
OntologiesV2AttachmentuploadPOST /v2/ontologies/attachments/upload
OntologiesV2AttachmentPropertyV2get_attachmentGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}
OntologiesV2AttachmentPropertyV2get_attachment_by_ridGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}
OntologiesV2AttachmentPropertyV2read_attachmentGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/content
OntologiesV2AttachmentPropertyV2read_attachment_by_ridGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/attachments/{property}/{attachmentRid}/content
OntologiesV2LinkedObjectV2get_linked_objectGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
OntologiesV2LinkedObjectV2list_linked_objectsGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
OntologiesV2LinkedObjectV2page_linked_objectsGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/links/{linkType}
OntologiesV2ObjectTypeV2getGET /v2/ontologies/{ontology}/objectTypes/{objectType}
OntologiesV2ObjectTypeV2get_outgoing_link_typeGET /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
OntologiesV2ObjectTypeV2listGET /v2/ontologies/{ontology}/objectTypes
OntologiesV2ObjectTypeV2list_outgoing_link_typesGET /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
OntologiesV2ObjectTypeV2pageGET /v2/ontologies/{ontology}/objectTypes
OntologiesV2ObjectTypeV2page_outgoing_link_typesGET /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes
OntologiesV2OntologyObjectSetaggregatePOST /v2/ontologies/{ontology}/objectSets/aggregate
OntologiesV2OntologyObjectSetloadPOST /v2/ontologies/{ontology}/objectSets/loadObjects
OntologiesV2OntologyObjectV2aggregatePOST /v2/ontologies/{ontology}/objects/{objectType}/aggregate
OntologiesV2OntologyObjectV2getGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}
OntologiesV2OntologyObjectV2listGET /v2/ontologies/{ontology}/objects/{objectType}
OntologiesV2OntologyObjectV2pageGET /v2/ontologies/{ontology}/objects/{objectType}
OntologiesV2OntologyObjectV2searchPOST /v2/ontologies/{ontology}/objects/{objectType}/search
OntologiesV2OntologyV2getGET /v2/ontologies/{ontology}
OntologiesV2QueryexecutePOST /v2/ontologies/{ontology}/queries/{queryApiName}/execute
OntologiesV2QueryTypegetGET /v2/ontologies/{ontology}/queryTypes/{queryApiName}
OntologiesV2QueryTypelistGET /v2/ontologies/{ontology}/queryTypes
OntologiesV2QueryTypepageGET /v2/ontologies/{ontology}/queryTypes
OntologiesV2TimeSeriesPropertyV2get_first_pointGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/firstPoint
OntologiesV2TimeSeriesPropertyV2get_last_pointGET /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/lastPoint
OntologiesV2TimeSeriesPropertyV2stream_pointsPOST /v2/ontologies/{ontology}/objects/{objectType}/{primaryKey}/timeseries/{property}/streamPoints
OrchestrationBuildcancelPOST /v2/orchestration/builds/{buildRid}/cancel
OrchestrationBuildcreatePOST /v2/orchestration/builds/create
OrchestrationBuildgetGET /v2/orchestration/builds/{buildRid}
OrchestrationSchedulecreatePOST /v2/orchestration/schedules
OrchestrationScheduledeleteDELETE /v2/orchestration/schedules/{scheduleRid}
OrchestrationSchedulegetGET /v2/orchestration/schedules/{scheduleRid}
OrchestrationSchedulepausePOST /v2/orchestration/schedules/{scheduleRid}/pause
OrchestrationSchedulereplacePUT /v2/orchestration/schedules/{scheduleRid}
OrchestrationSchedulerunPOST /v2/orchestration/schedules/{scheduleRid}/run
OrchestrationSchedulerunsGET /v2/orchestration/schedules/{scheduleRid}/runs
OrchestrationScheduleruns_pageGET /v2/orchestration/schedules/{scheduleRid}/runs
OrchestrationScheduleunpausePOST /v2/orchestration/schedules/{scheduleRid}/unpause
OrchestrationScheduleVersiongetGET /v2/orchestration/scheduleVersions/{scheduleVersionRid}
OrchestrationScheduleVersionscheduleGET /v2/orchestration/scheduleVersions/{scheduleVersionRid}/schedule
StreamsDatasetcreatePOST /v2/streams/datasets/create
StreamsStreamcreatePOST /v2/streams/datasets/{datasetRid}/streams
StreamsStreamgetGET /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
StreamsStreampublish_binary_recordPOST /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord
StreamsStreampublish_recordPOST /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord
StreamsStreampublish_recordsPOST /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords
StreamsStreamresetPOST /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset
ThirdPartyApplicationsVersiondeleteDELETE /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
ThirdPartyApplicationsVersiongetGET /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/{versionVersion}
ThirdPartyApplicationsVersionlistGET /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions
ThirdPartyApplicationsVersionpageGET /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions
ThirdPartyApplicationsVersionuploadPOST /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/versions/upload
ThirdPartyApplicationsWebsitedeployPOST /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/deploy
ThirdPartyApplicationsWebsitegetGET /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website
ThirdPartyApplicationsWebsiteundeployPOST /v2/thirdPartyApplications/{thirdPartyApplicationRid}/website/undeploy

Documentation for V1 API endpoints

NamespaceResourceOperationHTTP request
DatasetsBranchcreatePOST /v1/datasets/{datasetRid}/branches
DatasetsBranchdeleteDELETE /v1/datasets/{datasetRid}/branches/{branchId}
DatasetsBranchgetGET /v1/datasets/{datasetRid}/branches/{branchId}
DatasetsBranchlistGET /v1/datasets/{datasetRid}/branches
DatasetsBranchpageGET /v1/datasets/{datasetRid}/branches
DatasetsDatasetcreatePOST /v1/datasets
DatasetsDatasetgetGET /v1/datasets/{datasetRid}
DatasetsDatasetreadGET /v1/datasets/{datasetRid}/readTable
DatasetsFiledeleteDELETE /v1/datasets/{datasetRid}/files/{filePath}
DatasetsFilegetGET /v1/datasets/{datasetRid}/files/{filePath}
DatasetsFilelistGET /v1/datasets/{datasetRid}/files
DatasetsFilepageGET /v1/datasets/{datasetRid}/files
DatasetsFilereadGET /v1/datasets/{datasetRid}/files/{filePath}/content
DatasetsFileuploadPOST /v1/datasets/{datasetRid}/files:upload
DatasetsTransactionabortPOST /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort
DatasetsTransactioncommitPOST /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit
DatasetsTransactioncreatePOST /v1/datasets/{datasetRid}/transactions
DatasetsTransactiongetGET /v1/datasets/{datasetRid}/transactions/{transactionRid}
OntologiesActionapplyPOST /v1/ontologies/{ontologyRid}/actions/{actionType}/apply
OntologiesActionapply_batchPOST /v1/ontologies/{ontologyRid}/actions/{actionType}/applyBatch
OntologiesActionvalidatePOST /v1/ontologies/{ontologyRid}/actions/{actionType}/validate
OntologiesActionTypegetGET /v1/ontologies/{ontologyRid}/actionTypes/{actionTypeApiName}
OntologiesActionTypelistGET /v1/ontologies/{ontologyRid}/actionTypes
OntologiesActionTypepageGET /v1/ontologies/{ontologyRid}/actionTypes
OntologiesObjectTypegetGET /v1/ontologies/{ontologyRid}/objectTypes/{objectType}
OntologiesObjectTypeget_outgoing_link_typeGET /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes/{linkType}
OntologiesObjectTypelistGET /v1/ontologies/{ontologyRid}/objectTypes
OntologiesObjectTypelist_outgoing_link_typesGET /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
OntologiesObjectTypepageGET /v1/ontologies/{ontologyRid}/objectTypes
OntologiesObjectTypepage_outgoing_link_typesGET /v1/ontologies/{ontologyRid}/objectTypes/{objectType}/outgoingLinkTypes
OntologiesOntologygetGET /v1/ontologies/{ontologyRid}
OntologiesOntologylistGET /v1/ontologies
OntologiesOntologyObjectaggregatePOST /v1/ontologies/{ontologyRid}/objects/{objectType}/aggregate
OntologiesOntologyObjectgetGET /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}
OntologiesOntologyObjectget_linked_objectGET /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}/{linkedObjectPrimaryKey}
OntologiesOntologyObjectlistGET /v1/ontologies/{ontologyRid}/objects/{objectType}
OntologiesOntologyObjectlist_linked_objectsGET /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
OntologiesOntologyObjectpageGET /v1/ontologies/{ontologyRid}/objects/{objectType}
OntologiesOntologyObjectpage_linked_objectsGET /v1/ontologies/{ontologyRid}/objects/{objectType}/{primaryKey}/links/{linkType}
OntologiesOntologyObjectsearchPOST /v1/ontologies/{ontologyRid}/objects/{objectType}/search
OntologiesQueryexecutePOST /v1/ontologies/{ontologyRid}/queries/{queryApiName}/execute
OntologiesQueryTypegetGET /v1/ontologies/{ontologyRid}/queryTypes/{queryApiName}
OntologiesQueryTypelistGET /v1/ontologies/{ontologyRid}/queryTypes
OntologiesQueryTypepageGET /v1/ontologies/{ontologyRid}/queryTypes

Documentation for V2 models

Documentation for V1 models

Contributions

This repository does not accept code contributions.

If you have any questions, concerns, or ideas for improvements, create an issue with Palantir Support.

License

This project is made available under the Apache 2.0 License.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc