Data Reference M-P
Last updated
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
Kind: Object
A single moment definition.
Property | Type | Description | Nullable |
---|---|---|---|
Kind: Object
Implements: IFeedback, IMomentFeedback
Kind: Object
Kind: ENUM
GenericMoment
CityMoment
CountryMoment
Kind: Object
Implements: IAnomaly, IOccurrenceCountAnomaly, IAggregatedAnomaly, IStationaryAnomaly, ITransportAnomaly, IMomentAnomaly
Kind: Object
Name of the models that were used to detect the crash. Mainly used as internal reference.
Kind: ENUM
android
ios
Kind: ENUM
asc
desc
Kind: Object
The paging information that allows you to paginate through a large response list.
Kind: Object
The paging cursors that you use to paginate through a large response set.
Kind: Object
Kind: Object
Multiple possible events that might occur for a user.
Kind: ENUM
StationaryIntervalPrediction: Prediction of a Stationary event.
TransportIntervalPrediction: Prediction of a Transport event.
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
Property | Type | Description | Nullable |
---|---|---|---|
type
String
'MomentDefinition'
True
id
String
Identifier of this MomentDefinition. Possible values: working_at_work,working_remote,home,morning,lunch,afternoon,evening,night,commute_from_work,commute_from_home,business_trip,holiday,city_name,country,children_drop_off,sport_routine,shopping_routine,evening_entertainment,night_out,afternoon_drinks,evening_drinks,breakfast_out,lunch_out,dinner_out,about_to_working,about_to_commute_from_home,about_to_commute_from_work,about_to_children_drop_off,about_to_sport,about_to_shopping
True
category
String
Category ID of this MomentDefinition, if any. Possible values: activity,semantic_time,travel,location,about_to_routine
True
display_name
String
A displayable name for this MomentDefinition.
True
description
String
A short description about this MomentDefinition.
True
type
'MomentFeedback'
True
start
String
Start time the feedback relates to, sourced by the event, moment or user-provided.
False
end
String
End time the feedback relates to, sourced by the event, moment or user-provided.
True
created
String
Time when this feedback entry was created.
True
projection_time
String
Time to provide when the feedback data was read from the API. ISO8601. Optional.
True
moment_feedback
True
moment
The Moment this feedback refers to.
True
moment_definition_id_assessment
If the user thinks our detected moment is correct.
True
moment_definition_id_feedback
String
Correction by the user in case our detection was incorrect.
True
type
'OccurrenceCountAnomaly'
True
start
String
True
end
String
True
analysis_type
Deprecation notice
analysis_type is deprecated.
After significantly improving our platform's real-timeliness, we now don't need the analysis of a trip to go through multiple phases. This means you no longer need to filter our Firehose or API output by AnalysisType. Previously, trips had three analysis types based on processing latency. They were, namely, 'processed,' 'indepth,' and 'preliminary.' Based on your use cases, you may have filtered out certain types. As we will deprecate this field on Dec 10, 2021, you will need to change your backend if you use the AnalysisType field.
True
anomaly
True
sigma
Float
The observed standard deviation from expected behavior for this anomaly. If the standard deviation is high, the anomaly confidence will be low.
True
probability
Float
The larger the probability, the more anomaly. Value is between 0.0 and 1.0.
True
period
Aggregation period over which the data is calculated.
True
day_part
Optional additional aggregation over which the data is calculated.
True
observed_occurrences
Float
Observed amount of occurrences.
True
expected_occurrences
Float
Expected amount of occurrences.
True
place_category
String
True
location_significance
True
transport_mode
True
transport_mode_category
True
moment_definition_id
String
True
version
String
True
name
String
True
flavor
String
True
type
String
'Paging'
True
cursors
The offset cursors to use when paging through results.
True
type
String
'PagingCursors'
True
before
String
This is the cursor that points to the start of the page of data that has been returned.
True
after
String
This is the cursor that points to the end of the page of data that has been returned.
True
start
String
True
end
String
True
is_updated
Boolean
True
probability
Float
Percentage probability of these events taking place.
Deprecation notice
probability is deprecated.
No longer relevant.
True
events
The list of events predicted to occur.
True
branches
Deprecation notice
branches is deprecated.
Going forward only one prediction will be valid instead of multiple branching predictions. Please check the events
field.
True