TECHNOLOGY

Labelbox global keys: stable asset identity does not turn every upload into an upsert

In this article
THE QUICK TAKE

A stable key identifies a data row; retry behavior still depends on the chosen upload operation and its individual results.

Choose an identity that survives another upload attempt

An ingestion job uploads images, loses its connection and cannot tell which rows were created. The Labelbox global-key guide describes user-defined keys and case-insensitive matching. Derive a stable identity from the asset naming policy instead of generating a new unrelated key on each retry. Decide whether source namespace and content revision belong in that identity before combining data from multiple storage locations.

Separate identity from the operation performed

A repeated key does not imply that every upload function updates the existing row. The global-key guide documents duplicate-key failures, while the data-row guide distinguishes creation and upsert workflows. Select the operation intentionally. A retry meant to recover missing rows should not silently replace reviewed media or metadata. Conversely, a deliberate update needs a defined policy for which existing row and fields the new information is allowed to change.

Treat partial results as a reconciliation problem

The task-object guide exposes task status, results and errors for asynchronous operations. Reconcile these against the intended global keys rather than treating a completed background task as an all-or-nothing transaction. Preserve the successful row identities and identify failed inputs before retrying. A batch containing a mixture of valid and conflicting keys needs per-row accounting even if the job-level request itself was accepted successfully.

Keep mutable URLs outside the identity assumption

A global key pointing to an asset does not freeze the bytes served by its URL. If a source object can be overwritten, retain an appropriate version reference or content fingerprint in the release record. Changing the image beneath an existing reviewed data row can invalidate its annotation coordinates or semantic labels. A stable key is useful for lineage, but it cannot make an uncontrolled mutable source behave like an immutable dataset snapshot.

Test recovery with distinguishable source records

Use a pilot with a known existing row, a genuinely new asset and a deliberately conflicting key. Inspect exact outcomes and verify that recovery leaves intended media and metadata intact. The guides on annotation object identities and dataset removal lineage provide related identity concepts. A reliable ingestion path can explain which asset every row represents and what happened during each retry, rather than only reporting that a bulk upload finished.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles