Projects API
Create, list, retrieve, update, and delete Projects with explicit state checks.
Endpoints
Method
Endpoint
Purpose
Create a Project
curl --fail-with-body --silent --show-error \
-X POST "$UNITLAB_API_URL/api/sdk/projects/" \
-H "Authorization: Api-Key $UNITLAB_API_KEY" \
-H "Content-Type: application/json" \
--data '{"name":"Road-scene review","ontology_hash":"ONTOLOGY_HASH"}'Retrieve and update
curl --fail-with-body --silent --show-error \
"$UNITLAB_API_URL/api/sdk/projects/PROJECT_ID/" \
-H "Authorization: Api-Key $UNITLAB_API_KEY"
curl --fail-with-body --silent --show-error \
-X PATCH "$UNITLAB_API_URL/api/sdk/projects/PROJECT_ID/" \
-H "Authorization: Api-Key $UNITLAB_API_KEY" \
-H "Content-Type: application/json" \
--data '{"name":"Road-scene review v2","description":"Night and rain cohort"}'Delete boundary
Request operating contract
Concern
Required behavior