Time Series
This endpoint gives a defined time series response for a given input email.
curl -X POST \
https://api.fideo.ai/beta/signals/patterns/timeseries \
-H 'Authorization: Bearer {Your API Key}' \
-H "Content-Type: application/json" \
-d '{
"email" : "[email protected]"
"interval" : "month",
"count" : 6
}'
{
"2024-09-01": {
"observations": 6,
"sources": 3,
"events": [
{
"type": "visitor",
"observations": 6,
"sources": 3
}
]
},
"2024-08-01": {
"observations": 1,
"sources": 1,
"events": [
{
"type": "id_resolution",
"observations": 1,
"sources": 1
}
]
},
"2024-07-01": {
"observations": 1,
"sources": 1,
"events": [
{
"type": "signup",
"observations": 1,
"sources": 1
}
]
},
"2024-06-01": {
"observations": 19,
"sources": 3,
"events": [
{
"type": "visitor",
"observations": 16,
"sources": 3
},
{
"type": "id_resolution",
"observations": 3,
"sources": 1
}
]
},
"2024-05-01": {
"observations": 1,
"sources": 1,
"events": [
{
"type": "signup",
"observations": 1,
"sources": 1
}
]
},
"2024-04-01": {
"observations": 1,
"sources": 1,
"events": [
{
"type": "click",
"observations": 1,
"sources": 1
}
]
}
}
The above request will give the number of times and number of sources Fideo has seen the email [email protected] in the last 6 months.
A request will three attributes in the request:
- An input plaintext
email
(Note: email hashes are NOT supported) - A desired
interval
. Se the interval table below for valid intervals. - The
count
of how many data points. This value willl be the most recent data points for that interval.
All dates and times are returned in the UTC time zone.
Supported Interval and Counts
Interval Type | Minimum Count | Maximum Count | Output Key Format |
---|---|---|---|
minute | 1 | 360 | yyyy-MM-dd HH:mm:00 |
hour | 1 | 36 | yyyy-MM-dd HH:00:00 |
day | 1 | 60 | yyyy-MM-dd 00:00:00 |
month | 1 | 24 | yyyy-MM-01 |
Note -- the zeros ("00") above in the output key format reflect that these values are always zero. Similarly for the month, the day will always be "01". This was done to minimize the need to parse different key format.
Response Details and Event Types
For each interval in the response, two counts will be returned:
-
observations
- the total number of times the particular email was seen in that pattern interval, across all sources -
sources
- the count of unique sources making these sources -
events
- details on each type of event as an array of objects. Possible values and details are below. For each event, a type, observation count, and source count is provided.Event Type Event Description verification Email was used in Fideo Verify API to verify the input visitor Email was seen tied to a website visit event signup Email was used to sign up for an account click Email was seen through someone clicking a link, likely in an email signals Email was used to retrieve signals of the given email data id_resolution Email was used as Identity Resolution to tie the email to other identifiers
Have suggestions or feedback on this Beta API? Please let us know!
Updated 2 days ago