Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

Idempotency-Key
string
required
Minimum string length: 1
X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json
name
string
required
Required string length: 1 - 128
data
object[]

Repositories downloaded into the volume once, before it becomes ready. Each entry needs its own path. Entries on the organization's repositories are read with a short-lived token for the creating credential, which must carry read:repos; other sources are fetched anonymously. A failed download fails the volume, naming the entry; create a new volume to retry.

Maximum array length: 32

Response

Equivalent idempotent replay

accrued_cost_usd
number<double>
required
Required range: x >= 0
attachment_count
integer
required
Required range: x >= 0
cleanup_failure
object | null
required
created_at
string<date-time>
required
current_storage_price_usd_hr
number<double>
required
Required range: x >= 0
data
object[]
required

The volume's downloaded repositories; resolved_revision is set once the volume is ready.

deleted_at
string<date-time> | null
required
failure
object | null
required
id
string
required
name
string
required
provisioned_at
string<date-time> | null
required
status
enum<string>
required
Available options:
creating,
ready,
deleting,
deleted,
failed
storage_rate_usd_per_gib_hour
number<double>
required
Required range: x >= 0
stored_bytes
integer<int64>
required
Required range: x >= 0
stored_bytes_observed_at
string<date-time> | null
required
updated_at
string<date-time>
required