Specifying a date range
date_range
parameter allows you to limit your query to postings that were live in a certain time period.Absolute date range
date_range
parameter.AbsoluteDateRange
type
enum<string>
required
Allowed value:
absolute
start
string <date>
required
Example:
2023-07-19
Match pattern:
^([0-9]{4})(-?)(1[0-2]|0[1-9])\2(3[01]|0[1-9]|[12][0-9])$
end
string <date>
required
Example:
2024-07-22
Match pattern:
^([0-9]{4})(-?)(1[0-2]|0[1-9])\2(3[01]|0[1-9]|[12][0-9])$
Example
"date_range": {
"type": "absolute",
"start": "2024-03-01",
"end": "2024-03-31"
}
Relative date range
date_range
parameter.RelativeDateRange
type
enum<string>
required
Allowed value:
relative
last_n_days
integer
required
Example:
30
Example
"date_range": {
"type": "relative",
"last_n_days": 30
}
Modified at 2024-07-24 11:40:16