SearchParameters
Filtering and range parameters when searching for images
filter object
The filter which will be used to narrow down the returned items
criteria object
The criteria that will be applied when applying filter
A filter used by the search which will limit the result entities to those having one of the provided image formats
Possible values: [PNG, JPEG, WEBP, GIF, AVIF, HEIF]
["PNG","JPEG","WEBP","GIF","AVIF","HEIF"]["PNG","JPEG"]keyword object
A filter which limits the result entities with the provided text specifications
The text to search for
comfyWhether the text should be searched in the image name
Whether the text should be searched in the image metadata
Whether the text should be searched in the image features
tags object
A filter which limits the result entities with the provided tags specifications
The tags to search for, i.e. images matching at least of the tags will be included in the result
Possible values: non-empty and <= 64 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,64}$
["nature"]features object
A filter which limits the result entities with the provided features specifications
The logical operator
Possible values: [or, and, not]
orconditions object[]required
The search conditions
The extension identifier
Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$
extension-idThe image feature type
Possible values: [caption, description, comment, annotation, metadata, recipe, identity, physics, other]
othernatureThe image feature format
Possible values: [string, integer, float, boolean, json, yaml, xml, markdown, html, binary, ui]
stringThe image feature name
Possible values: non-empty and <= 64 characters
fieldThe image feature comparison operator
Possible values: [equals, different, contains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual]
value objectrequired
The image feature value
- string
- integer<int64>
- number<double>
- boolean
Possible values: <= 524288 characters
Other nested search features
properties object
A filter which limits the result entities with the provided technical properties
width object
The range of the image width
The minimal value
Possible values: >= 0
0The maximal value
100height object
The range of the image height
The minimal value
Possible values: >= 0
0The maximal value
100weightInBytes object
The range of the image binary weight
The minimal value
Possible values: >= 0
0The maximal value
100creationDate object
The range of the image creation dates, expressed in milliseconds from 1970, January 1st
The minimal value
Possible values: >= 0
0The maximal value
100modificationDate object
The range of the image modification dates, expressed in milliseconds from 1970, January 1st
The minimal value
Possible values: >= 0
0The maximal value
100origin object
The origin of the images to search in
The origin of the images to search in
Possible values: [repositories, images]
- repositories
- images
A repositories-based search origin, involving that the images should belong to the designed repositories
The repository identifiers
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
["9aa0820f-6405-4b54-a01a-a6b56489a77f"]A images-based search origin, involving that the images should be part of the designed image identifiers
The image identifiers
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
["fb6af249-1061-48a0-9e47-026d7428d709"]sorting object
Indicates how the images should be sorted
Indicates how the search result entities should be sorted
Possible values: [name, creationDate, modificationDate, importDate, updateDate, binarySize, width, height]
namenameWhether the returned entities should be sorted in ascending or descending order in respect of the property
The collection identifier to filter with to narrow down the returned items
Possible values: >= 0
123range object
The range of items to consider following the search
The number of items to return
Possible values: >= 1 and <= 1000
2020The number of items to skip
Possible values: >= 0
00{
"filter": {
"criteria": {
"formats": [
"PNG",
"JPEG"
],
"keyword": {
"text": "comfy",
"inName": true,
"inMetadata": true,
"inFeatures": true
},
"tags": {
"values": [
"nature"
]
},
"features": {
"operator": "or",
"conditions": [
{
"extensionId": "extension-id",
"type": "nature",
"format": "string",
"name": "field",
"operator": "equals",
"value": "Three women in a flower arrangement"
}
]
},
"properties": {
"width": {
"minimum": 0,
"maximum": 100
},
"height": {
"minimum": 0,
"maximum": 100
},
"weightInBytes": {
"minimum": 0,
"maximum": 100
},
"creationDate": {
"minimum": 0,
"maximum": 100
},
"modificationDate": {
"minimum": 0,
"maximum": 100
}
}
},
"origin": {
"kind": "repositories",
"ids": [
"9aa0820f-6405-4b54-a01a-a6b56489a77f"
]
},
"sorting": {
"property": "name",
"isAscending": true
}
},
"collectionId": 123,
"range": {
"take": 20,
"skip": 0
}
}