Search for an Image
https://api.roboflow.com/:workspace/:project/searchcurl -X POST "https://api.roboflow.com/my-workspace/my-project-name/search?api_key=$ROBOFLOW_API_KEY" \
-H 'Content-Type: application/json' \
--data \
'{
"like_image": "image_id",
"in_dataset": true,
"limit": 125,
}'{
// when provided, provides results sorted by semantic similarity
"like_image": string,
// when provided, provides results sorted by semantic similarity
"prompt": string,
// defaults to 0
"offset": int,
// default to 50 (max: 250)
"limit": int,
// when present, filters images that have the provided tag
"tag": string,
// when present, filters images that have the provided class name
"class_name": string,
// when present, filters images that are in the provided project
"in_dataset": string,
// when present, returns only images that are in any batch
"batch": boolean,
// when present, returns only images present in the provided batch
"batch_id": string,
// when present, returns only images that are in any annotation job
"annotation_job": boolean,
// when present, returns only images present in the provided annotation job
"annotation_job_id": string,
// specify the fields to return, defaults to ["id", "created"]
// options are ["id", "name", "annotations", "labels", "split", "tags", "owner", "embedding", "created"]
"fields": string[]
}Last updated
Was this helpful?