Stream all of the points of a time series property.
Third-party applications using this endpoint via OAuth2 must request the
following operation scopes: api:ontologies-read
.
string
The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.
string
The API name of the object type. To find the API name, use the List object types endpoint or check the Ontology Manager.
string
The primary key of the object with the time series property.
string
The API name of the time series property. To find the API name for your time series property, check the Ontology Manager or use the Get object type endpoint.
string
The repository associated with a marketplace installation.
string
The package name of the generated SDK.
object
union
An absolute or relative range for a time series query.
object
ISO 8601 timestamps forming a range for a time series query. Start is inclusive and end is exclusive.
string
string
object
A relative time range for a time series query.
object
A relative time, such as "3 days before" or "2 hours after" the current moment.
string
(enum)Enum values: BEFORE
, AFTER
integer
string
(enum)Enum values: MILLISECONDS
, SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, YEARS
object
A relative time, such as "3 days before" or "2 hours after" the current moment.
string
(enum)Enum values: BEFORE
, AFTER
integer
string
(enum)Enum values: MILLISECONDS
, SECONDS
, MINUTES
, HOURS
, DAYS
, WEEKS
, MONTHS
, YEARS
1
2
3
4
5
curl -X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/objects/employee/50030/timeseries/{property}/streamPoints" \
-d '{"range":{"type":"relative","startTime":{"when":"BEFORE","value":5,"unit":"MONTHS"},"endTime":{"when":"BEFORE","value":1,"unit":"MONTHS"}}}'