Questions tagged [palantir-foundry-api]
35 questions
2
votes
1 answer
Why can’t functions call internal Foundry APIs?
I am trying to write a Function on an Object that makes Foundry REST API calls. Is there an example or recommended internal Typescript API that I can import to make Foundry REST API calls?

Max Magid
- 245
- 1
- 8
2
votes
1 answer
Foundry Slate - append new row using fusion query
I have slate dashboard which uses fusion sheet for backend data and fusion service api/fusion queries to retrieve data from fusion sheets.
I want write data into fusion sheet with one of the column having array type of data.
Does anyone knows how to…

harsh2702
- 27
- 3
2
votes
1 answer
Foundry writebacks - is it possible to restore an edited record to it's unedited version (BaseVersion)
Palantir-Foundry - We have a workflow that needs updates from the backing dataset of an object with a writeback to persist in the writeback, but this fails on rows that have previously been edited. Due to the "Edits-win" model the writeback it will…

tessa
- 734
- 1
- 8
- 22
2
votes
1 answer
How to manually change job specs of a dataset?
Noticed a new artefact in the Foundry system: Dataset View, and after some testing noticed it can be changed to a regular dataset by deleting its job spec and refering to it as an output in a transformation. The jobspec is then rebuilt during the…

dm2
- 4,053
- 3
- 17
- 28
2
votes
1 answer
HTML Request in Typescript repository
I am using Functions in Foundry and using for this purpose Typescript. I am wondering if it is possible to make a HTML Request inside a specific function.
I have already checked every HTML request method I know for JS…

Pablo Cosio
- 71
- 5
2
votes
2 answers
Utilizing Foundry APIs, how do you get the number or rows and columns for a dataset?
I'm looking to retrieve the number of records and columns within a dataset utilizing the APIs within Foundry. One of the APIs that I found that seems to display the number of records is
".../monocle/api/table/stats", however I don't see how to pass…

Robert F
- 187
- 5
1
vote
1 answer
Creating custom three dimensional aggregation
I am struggling to create custom three dimensional aggregation for use in workshop application charts.
I tried to calculate trs = trs_time/(ntrs_time + trs_time) over time for the use in workshop chart. Below is the code that I used to do it. In the…

25th_kania
- 21
- 2
1
vote
1 answer
Compass Search request through slate - Palantir Foundry
I'm trying to create a Slate application which uses the compass search endpoint.
I've managed to connect to the endpoint trough postman just fine using /foundry-search/api/compass/v0/search, and get the desired results.
However in Slate I'm…

igyate
- 68
- 6
1
vote
1 answer
Slate TypeScript - return largest number - BEFORE build
related to question: Slate - TypeScript - return the required info out of a promise
Edits and Object search
Changes to objects and links are propagated to the Objects.search() APIs after your function has finished executing. This means that…

Marco
- 91
- 4
1
vote
1 answer
Accessing Slate application Logs (Hits, metrics, user retention rate)
I am wondering if there are ways to see how many people in your organization are accessing your Slate or workshop application? On conventional websites this can be achieved by google analytics, I wonder if there something like Google Analytics can…

Hassaan Anwar
- 91
- 7
0
votes
1 answer
How to process .csv files by filtering their titles
I've got a list of plenty of .csv files in a dataset, but for the simplicity let's assume there are three files in the dataset:
ASGK_2022.csv
ASGK_2023.csv
PRAS_2022.csv
I need to process only files with 'ASGK' in their titles. In other words, I…

Folkas
- 29
- 2
0
votes
1 answer
Is there a way for foundry function-backed actions to return a value when called via the API?
Based on the API documentation here, I know I can make an HTTP call to Foundry to apply an action: https://www.palantir.com/docs/foundry/api/ontology-resources/actions/apply-action/. I also know that action can be function-backed:…

stevenc
- 5
- 3
0
votes
1 answer
Is there an option to export data from Palantir Foundry to Salesforce without using third party connectors
How can we export data from Palantir Foundry to Salesforce ? We would like to avoid third party connectors, so please suggest any viable solution using the inbuilt connectors in Foundry.
Thanks
The current Salesforce connector in Foundry provides…

DKS
- 1
0
votes
1 answer
Unable to post to Phonograph , getting readonly error
When i am trying to update a row in Phonograph i am getting the following error.
q_update_phonograph threw the following error: {
"errorCode": "INVALID_ARGUMENT",
"errorName": "Phonograph2:ReadOnlyTables",
"errorInstanceId": "instanceId",
…

Asher
- 175
- 11
0
votes
1 answer
How can I set the layout and the filters for an object exploration through the URL?
Is there a way to open an object exploration of a certain object type and simultaneously set the layout of the exploration and add filters? I was looking at this page in the docs that explains how to define the filter values but I am not sure how to…

Max Magid
- 245
- 1
- 8