Skip to navigation

✨ Sync Databricks import storage

Authentication

AuthorizationToken

The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:

curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Path parameters

idintegerRequired

Response

catalogstring
UC catalog name
created_atdatetimeRead-only
Creation time
hoststring

Databricks workspace base URL (https://…)

idintegerRead-only
projectinteger
A unique integer value identifying this project.
schemastring
UC schema name
typestringRead-onlyDefaults to databricks
volumestring
UC volume name
auth_typeenumOptionalDefaults to pat

Authentication method: PAT, Databricks SP, or Azure AD SP

  • pat - Personal Access Token
  • dbx_sp - Databricks Service Principal
  • azure_ad_sp - Azure AD Service Principal
Allowed values:
client_idstringOptional

Service principal client/application ID (required for SP modes)

descriptionstring or nullOptional
Cloud storage description
last_syncdatetime or nullOptional
Last sync finished time
last_sync_countinteger or nullOptional0-2147483647
Count of tasks synced last time
last_sync_jobstring or nullOptional<=256 characters
Last sync job ID
metaany or nullOptional
Meta and debug information about storage processes
prefixstring or nullOptional
Path under the volume
presignbooleanOptional

Presign not supported; always proxied

presign_ttlintegerOptional0-32767

Unused for Databricks; kept for compatibility

recursive_scanbooleanOptional
Perform recursive scan
regex_filterstring or nullOptional
Regex for filtering objects
request_timeout_sintegerOptional0-2147483647
statusenumOptional
  • initialized - Initialized
  • queued - Queued
  • in_progress - In progress
  • failed - Failed
  • completed - Completed
  • completed_with_errors - Completed with errors
stream_chunk_bytesintegerOptional0-2147483647
synchronizablebooleanOptionalDefaults to true
tenant_idstringOptional

Azure AD tenant ID (required for Azure AD SP mode)

titlestring or nullOptional<=256 characters
Cloud storage title
tracebackstring or nullOptional
Traceback report for the last failed sync
use_blob_urlsbooleanOptional
Generate blob URLs in tasks
verify_tlsbooleanOptional
Verify TLS certificates