This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Creates a temporary ObjectSet from the given definition. This ObjectSet expires after one hour.
Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read api:ontologies-write.
stringThe API name or RID of the Ontology. To find the API name or RID, use the List Ontologies endpoint or check the Ontology Manager.
stringThe package rid of the generated SDK.
stringThe package version of the generated SDK.
objectunionRepresents the definition of an ObjectSet in the Ontology.
objectSuccess response.
string1
2
3
4
5
curl -X POST \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/objectSets/createTemporary" \
-d '{"objectSet":{"type":"base","objectType":"Employee"}}'1
2
3
{
"objectSetRid": "ri.object-set.main.object-set.c32ccba5-1a55-4cfe-ad71-160c4c77a053"
}