Deployment region of the Query function

I am using code repository to create Typescript functions. I tag and release these functions and use @Queries decorator to expose them for testing via Postman and outside of Palantir.

  • When I deploy the test function, what region does it get deployed?
  • Is there a dashboard to check this query regional information?
  • My understanding is that the queries are serverless functions, and hence it will always be executed in the closest location from where the call was triggered. Is this understanding correct?

My query looks like the following:

@Query({apiName: "testFunction"})
    async getTestFunction(x: string[]): Promise<string>
{
     console.log("test function");
}

Thanks!

Hi @smitshahngra,
Typescript functions are indeed serverless and are spun up on demand. This however happens in a dedicated Foundry microservice which is deployed along with and in the same region as the entire Foundry instance that you have access to. The entire Foundry architecture is installed in one cloud region (for a specific given Foundry instance of course), Typescript functions don’t have a concept of deploying to different regions.