For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cloud storage API

List approved integrations, browse provider content, and import selected paths into a Project.

Outcome: List approved integrations, browse provider content, and import selected paths into a Project.

Cloud credentials are configured in Unitlab and are never returned by the API.

Add Cloud Storage dialog

Create and validate the provider connection in Workspace Settings before using these endpoints.

Method
Endpoint
Purpose

GET

/api/sdk/cloud-storages/

List safe integration metadata

GET

/api/sdk/cloud-storages/{storage_id}/browse/

Browse a provider prefix

POST

/api/sdk/projects/{project_id}/cloud-storages/{storage_id}/import/

Import selected paths

Browse every page

The response contains safe object metadata in content and a provider cursor in next. Repeat with that cursor as next_token until empty. Folder paths end in a slash.

Import approved paths

Preserve upload_session_id and monitor the Project Batch Queue. Browse is a preflight; the queue is the authoritative ingestion result.

Request operating contract

Concern
Required behavior

Execution surface

TLS-verified client using the reviewed current public /api/sdk/... route contract.

Identity

Least-privilege workspace service identity; secrets remain outside code and logs.

Request boundary

URL-encoded stable IDs, explicit deadlines, structured errors, and complete pagination.

Success evidence

Response identifiers, read-after-write verification, and separate processing status for Batch Queues.


Explore related Unitlab capabilities: training-data curation workflows