Authenticate a client
Copy-and-run auth recipes: PAT (recommended), saved profiles, and the CLI-compatible argument set
Every example in this section is a complete script that uses argparse.
Pass --help to any script to see all options. The same files live in
cvat-sdk/examples/.
Shared conventions:
--host and --token. Create a token in the CVAT UI under
Profile -> Security. Wrap values that contain URL punctuation in single quotes,
e.g. --host 'https://app.cvat.ai'. auth_profile.py and auth_cli.py show
alternative sign-in flows.--cleanup to delete what the script created (never the sources it read).--project-id, --task-id), so they work directly against your data.--labels car person.All examples are tested in the latest SDK version.
auth_token.py, auth_profile.py, auth_cli.pyCopy-and-run auth recipes: PAT (recommended), saved profiles, and the CLI-compatible argument set
Create/list, backup, restore, dataset export — one recipe per file
Create one task or a batch of tasks from a bucket; inspect and export existing tasks
List a task’s or project’s jobs, round-robin unassigned jobs, batch-advance completed jobs
Attach an S3-compatible bucket to CVAT via the low-level cloud storages API