Update Image Metadata and Tags
Request Body
- imageId (string) - required for batch update in body, inferred ffrom the path in single update
- metadata (object) - Key-value pairs to set on the image's user metadata.
- removeMetadata (string[]) - Metadata keys to delete from the image.
- addTags (string[]) - Tags to add to the image.
- removeTags (string[]) - Tags to remove from the image.Single Image
POST https://api.roboflow.com/:workspace/images/:image/metadata?api_key=API_KEYExample
curl -X POST "https://api.roboflow.com/my-workspace/images/abc123/metadata?api_key=$ROBOFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"metadata": { "camera": "front", "blur_score": 0.8 },
"addTags": ["reviewed"]
}'Response
Batch Update
Example
Response
Errors
Last updated
Was this helpful?