API to get writeback / materialized dataset of Object Type

Hello,

What is the API I can use to get the writeback or materialized dataset RID of an Object Type?

The official Get Object Type endpoint unfortunately doesn’t return that. Reverse engineering the front-end I see endpoint /objects-writeback/api/writeback/getDatasetsForObjectType/{object_type_rid}, but I’m not sure if that’s the best one?

Thank you,
Lukas

/objects-writeback/api/writeback/getDatasetsForObjectType/{object_type_rid} is the correct endpoint to use. Unfortunately, I don’t think we have a documented API in https://www.palantir.com/docs/foundry/api for this yet.

Thank you Simon.

For reference I’m adding here that it’s request POST /objects-writeback/api/writeback/getDatasetsForObjectType/{object_type_rid} with payload {pageSize: int}

There is also batch version with POST /objects-writeback/api/writeback/batchGetDatasetsForObjectType with payload {objectTypes: [objectTypeRids], pageSize: int}

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.