Manage Annotation Workflow
Use the Python SDK to list upload batches and annotation jobs and assign images to labelers and reviewers.
Python SDK
List image batches
import roboflow
rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
project = rf.workspace().project("my-detector")
batches = project.get_batches()
for b in batches.get("batches", []):
print(b["id"], b["name"], b["images"], "images")batch = project.get_batch("<batch-id>")
print(batch)List annotation jobs
jobs = project.get_annotation_jobs()
for job in jobs.get("jobs", []):
print(job["id"], job["name"], job["status"], job["annotated"], "/", job["numImages"])Create an annotation job
Parameters
Save an annotation programmatically
CLI
Annotation Batches
List Batches
Get Batch Details
Annotation Jobs
List Jobs
Get Job Details
Create a Job
Flag
Description
JSON Output
Last updated
Was this helpful?