Skip to main content
POST
Store a cloud-storage credential for dataset import

Authorizations

Authorization
string
header
required

Either a Supabase user access token (from a password login, or the passwordless magic-link flow) or a long-lived forge_sk_… API key. Both are sent as Authorization: Bearer <value> and resolve to the same owner, so every endpoint accepts either. Session tokens expire in ~1h; API keys do not expire and are the credential for MCP clients, CI, and partner integrations.

Body

application/json
provider
enum<string>
required
Available options:
s3,
gcs,
azure,
hf
name
string
required
payload
object
required

Provider fields: s3 = access_key_id/secret_access_key/region?/endpoint_url?; gcs = service_account_json; azure = account_name + sas_token|account_key; hf = hf_token. Max 16KB.

Response

Stored (masked)

id
string
provider
string
name
string
created_at
string