Filter all content by date range in your Graphlit project.
By specifying the originalDateRangefield in the GraphQL filter object, you can filter your content by a range of dates (in ISO 8601 date format).
You can assign either the from, the to, or both the from and the to dates in your date range.
The original date is the date a piece of content was created or authored, such as the date a document was created, audio was recorded, or an image was taken. It is not the date the file was ingested into Graphlit.
For example, here we are filtering on files authored between January 1, 2023 and July 1, 2023, inclusive.
query QueryContents($filter: ContentFilter!) {
contents(filter: $filter) {
results {
id
name
creationDate
state
owner {
id
}
originalDate
finishedDate
workflowDuration
uri
text
type
fileType
mimeType
fileName
fileSize
masterUri
mezzanineUri
transcriptUri
feed {
id
name
}
collections {
id
name
}
}
}
}