Contract reference
Models and schemas
Field types, required values and constraints from the OpenAPI contract. SDKs may wrap or unwrap endpoint envelopes; consult each method’s return type.
References link to named schemas below. Nullable values are distinct from omitted optional fields. Audit IDs preserve decimal-string precision. Binary byte results are not JSON model objects.
65 schemas
AdminSubscriptionTermsValues for subscriptions administration. edit-allowances sets storage_bytes and seats while keeping price and plan. change-plan selects a published immutable plan_version_id (or plan_id with plan_revision). custom-subscription sets storage_bytes, seats and monthly_total_minor, including zero. These use timing now or next-cycle. adjust-validity uses access_until (an RFC 3339 future timestamp) to move validity earlier or later without changing billing terms. Automatic renewal is controlled separately by cancel-renewal and resume-renewal; changing validity does not enable renewal.+
| Field | Type | Meaning and constraints |
|---|---|---|
storage_bytesOptional | integer | minimum: 1000000000 · maximum: 1000000000000000 |
seatsOptional | integer | minimum: 1 · maximum: 100000 |
monthly_total_minorOptional | integer | Recurring monthly USD price in cents, independent of allowances. minimum: 0 · maximum: 1000000000000 |
plan_version_idOptional | string | |
plan_idOptional | string | |
plan_revisionOptional | string | |
timingOptional | "now" | "next-cycle" | |
cyclesOptional | integer | minimum: 1 · maximum: 120 |
Full schema
{
"type": "object",
"description": "Values for subscriptions administration. edit-allowances sets storage_bytes and seats while keeping price and plan. change-plan selects a published immutable plan_version_id (or plan_id with plan_revision). custom-subscription sets storage_bytes, seats and monthly_total_minor, including zero. These use timing now or next-cycle. adjust-validity uses access_until (an RFC 3339 future timestamp) to move validity earlier or later without changing billing terms. Automatic renewal is controlled separately by cancel-renewal and resume-renewal; changing validity does not enable renewal.",
"properties": {
"storage_bytes": {
"type": "integer",
"minimum": 1000000000,
"maximum": 1000000000000000
},
"seats": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"monthly_total_minor": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000000,
"description": "Recurring monthly USD price in cents, independent of allowances."
},
"plan_version_id": {
"type": "string"
},
"plan_id": {
"type": "string"
},
"plan_revision": {
"type": "string"
},
"timing": {
"type": "string",
"enum": [
"now",
"next-cycle"
]
},
"cycles": {
"type": "integer",
"minimum": 1,
"maximum": 120
}
}
}DriveSubscriptionobject+
| Field | Type | Meaning and constraints |
|---|---|---|
drive_idRequired | string | |
billing_user_idRequired | string | |
statusRequired | string | |
currencyRequired | string | |
revisionRequired | string | |
current_period_startRequired | string | Start of the current monthly cycle in UTC. format: "date-time" |
billing_anchorRequired | string | UTC day and time used to calculate calendar-month boundaries. Reset to the new date when an administrator adjusts validity. format: "date-time" |
cycle_numberRequired | integer | minimum: 1 |
access_untilRequired | string | Authoritative validity date and next renewal boundary. Free subscriptions renew when automatic renewal is enabled. format: "date-time" |
pending_monthly_total_minorRequired | integer | null | minimum: 0 |
current_period_endRequired | string | |
storage_bytesRequired | integer | minimum: 0 |
seatsRequired | integer | minimum: 0 |
membersRequired | integer | minimum: 0 |
reserved_invitationsRequired | integer | minimum: 0 |
used_bytesRequired | integer | minimum: 0 |
monthly_total_minorRequired | integer | minimum: 0 |
cancel_at_period_endRequired | boolean | |
pending_storage_bytesRequired | integer | null | minimum: 1 |
pending_seatsRequired | integer | null | minimum: 1 |
plan_version_idOptional | string | null | format: "uuid" |
pending_plan_version_idOptional | string | null | format: "uuid" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"drive_id",
"billing_user_id",
"status",
"storage_bytes",
"seats",
"members",
"reserved_invitations",
"used_bytes",
"currency",
"monthly_total_minor",
"revision",
"current_period_end",
"current_period_start",
"billing_anchor",
"cycle_number",
"access_until",
"pending_monthly_total_minor",
"cancel_at_period_end",
"pending_storage_bytes",
"pending_seats"
],
"properties": {
"drive_id": {
"type": "string"
},
"billing_user_id": {
"type": "string"
},
"status": {
"type": "string"
},
"currency": {
"type": "string"
},
"revision": {
"type": "string"
},
"current_period_start": {
"type": "string",
"format": "date-time",
"description": "Start of the current monthly cycle in UTC."
},
"billing_anchor": {
"type": "string",
"format": "date-time",
"description": "UTC day and time used to calculate calendar-month boundaries. Reset to the new date when an administrator adjusts validity."
},
"cycle_number": {
"type": "integer",
"minimum": 1
},
"access_until": {
"type": "string",
"format": "date-time",
"description": "Authoritative validity date and next renewal boundary. Free subscriptions renew when automatic renewal is enabled."
},
"pending_monthly_total_minor": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"current_period_end": {
"type": "string"
},
"storage_bytes": {
"type": "integer",
"minimum": 0
},
"seats": {
"type": "integer",
"minimum": 0
},
"members": {
"type": "integer",
"minimum": 0
},
"reserved_invitations": {
"type": "integer",
"minimum": 0
},
"used_bytes": {
"type": "integer",
"minimum": 0
},
"monthly_total_minor": {
"type": "integer",
"minimum": 0
},
"cancel_at_period_end": {
"type": "boolean"
},
"pending_storage_bytes": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"pending_seats": {
"type": [
"integer",
"null"
],
"minimum": 1
},
"plan_version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"pending_plan_version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}DrivePlanSelectionStorage and member allowances are validated against the published plan catalog. Retrieve /plans before selecting a plan; prices and add-on increments can change.+
| Field | Type | Meaning and constraints |
|---|---|---|
nameRequired | string | minLength: 1 · maxLength: 100 |
storage_bytesRequired | integer | minimum: 1 · maximum: 1000000000000000 |
seatsRequired | integer | minimum: 1 · maximum: 100000 |
plan_version_idOptional | string | Version returned by GET /plans. Rejects stale terms with 409; omit when cancelling an existing subscription. format: "uuid" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"name",
"storage_bytes",
"seats"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"storage_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000000000
},
"seats": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"plan_version_id": {
"type": "string",
"format": "uuid",
"description": "Version returned by GET /plans. Rejects stale terms with 409; omit when cancelling an existing subscription."
}
},
"description": "Storage and member allowances are validated against the published plan catalog. Retrieve /plans before selecting a plan; prices and add-on increments can change."
}SubscriptionChangeStorage and member allowances are validated against the published plan catalog. Retrieve /plans before selecting a plan; prices and add-on increments can change.+
| Field | Type | Meaning and constraints |
|---|---|---|
storage_bytesRequired | integer | minimum: 1 · maximum: 1000000000000000 |
seatsRequired | integer | minimum: 1 · maximum: 100000 |
expected_revisionRequired | string | pattern: "^[1-9][0-9]*$" |
cancel_at_period_endRequired | boolean | |
plan_version_idOptional | string | Version returned by GET /plans. Rejects stale terms with 409; omit when cancelling an existing subscription. format: "uuid" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"storage_bytes",
"seats",
"expected_revision",
"cancel_at_period_end"
],
"properties": {
"storage_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000000000
},
"seats": {
"type": "integer",
"minimum": 1,
"maximum": 100000
},
"expected_revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
},
"cancel_at_period_end": {
"type": "boolean"
},
"plan_version_id": {
"type": "string",
"format": "uuid",
"description": "Version returned by GET /plans. Rejects stale terms with 409; omit when cancelling an existing subscription."
}
},
"description": "Storage and member allowances are validated against the published plan catalog. Retrieve /plans before selecting a plan; prices and add-on increments can change."
}DriveMemberPolicyobject+
| Field | Type | Meaning and constraints |
|---|---|---|
drive_idRequired | string | format: "uuid" |
max_membersRequired | integer | null | minimum: 1 · maximum: 100000 |
membersRequired | integer | minimum: 1 |
reserved_invitationsRequired | integer | minimum: 0 |
revisionRequired | string | pattern: "^[1-9][0-9]*$" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"drive_id",
"max_members",
"members",
"reserved_invitations",
"revision"
],
"properties": {
"drive_id": {
"type": "string",
"format": "uuid"
},
"max_members": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 100000
},
"members": {
"type": "integer",
"minimum": 1
},
"reserved_invitations": {
"type": "integer",
"minimum": 0
},
"revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
}
}
}AuditExportEventobject+
| Field | Type | Meaning and constraints |
|---|---|---|
kindRequired | "event" | |
eventRequired | AuditEvent |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"event"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"event"
]
},
"event": {
"$ref": "#/components/schemas/AuditEvent"
}
}
}AuditExportCompleteobject+
| Field | Type | Meaning and constraints |
|---|---|---|
kindRequired | "complete" | |
eventsRequired | string | Count of events written by this successful export pattern: "^(0|[1-9][0-9]*)$" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"events"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"complete"
]
},
"events": {
"type": "string",
"pattern": "^(0|[1-9][0-9]*)$",
"description": "Count of events written by this successful export"
}
}
}AccountAuditRetentionPolicyobject+
| Field | Type | Meaning and constraints |
|---|---|---|
user_idRequired | string | format: "uuid" |
keep_daysRequired | integer | null | Null retains account audit history indefinitely minimum: 7 · maximum: 36500 |
legal_holdRequired | boolean | Account legal hold blocks cleanup and cannot be changed by this endpoint |
revisionRequired | string | pattern: "^[1-9][0-9]*$" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"user_id",
"keep_days",
"legal_hold",
"revision"
],
"properties": {
"user_id": {
"type": "string",
"format": "uuid"
},
"keep_days": {
"type": [
"integer",
"null"
],
"minimum": 7,
"maximum": 36500,
"description": "Null retains account audit history indefinitely"
},
"legal_hold": {
"type": "boolean",
"description": "Account legal hold blocks cleanup and cannot be changed by this endpoint"
},
"revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
}
}
}AuditRetentionPolicyobject+
| Field | Type | Meaning and constraints |
|---|---|---|
drive_idRequired | string | format: "uuid" |
keep_daysRequired | integer | null | Null retains audit history indefinitely minimum: 7 · maximum: 36500 |
legal_holdRequired | boolean | Shared drive legal hold blocks audit cleanup |
revisionRequired | string | pattern: "^[1-9][0-9]*$" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"drive_id",
"keep_days",
"legal_hold",
"revision"
],
"properties": {
"drive_id": {
"type": "string",
"format": "uuid"
},
"keep_days": {
"type": [
"integer",
"null"
],
"minimum": 7,
"maximum": 36500,
"description": "Null retains audit history indefinitely"
},
"legal_hold": {
"type": "boolean",
"description": "Shared drive legal hold blocks audit cleanup"
},
"revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
}
}
}AuditRetentionUpdateobject+
| Field | Type | Meaning and constraints |
|---|---|---|
keep_daysRequired | integer | null | minimum: 7 · maximum: 36500 |
expected_revisionRequired | string | Displayed audit policy revision pattern: "^[1-9][0-9]*$" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"keep_days",
"expected_revision"
],
"properties": {
"keep_days": {
"type": [
"integer",
"null"
],
"minimum": 7,
"maximum": 36500
},
"expected_revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$",
"description": "Displayed audit policy revision"
}
}
}AuditEventobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | Decimal bigint identity preserved without numeric rounding pattern: "^[1-9][0-9]*$" |
actor_user_idRequired | string | null | format: "uuid" |
actor_key_idRequired | string | null | format: "uuid" |
actionRequired | string | |
target_typeRequired | string | |
target_idRequired | string | null | |
outcomeRequired | "success" | "denied" | "failed" | |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"id",
"actor_user_id",
"actor_key_id",
"action",
"target_type",
"target_id",
"outcome",
"created_at"
],
"properties": {
"id": {
"type": "string",
"pattern": "^[1-9][0-9]*$",
"description": "Decimal bigint identity preserved without numeric rounding"
},
"actor_user_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"actor_key_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"action": {
"type": "string"
},
"target_type": {
"type": "string"
},
"target_id": {
"type": [
"string",
"null"
]
},
"outcome": {
"type": "string",
"enum": [
"success",
"denied",
"failed"
]
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}AuditPageobject+
| Field | Type | Meaning and constraints |
|---|---|---|
eventsRequired | array<AuditEvent> | maxItems: 200 |
next_cursorRequired | string | null | maxLength: 256 |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"events",
"next_cursor"
],
"properties": {
"events": {
"type": "array",
"maxItems": 200,
"items": {
"$ref": "#/components/schemas/AuditEvent"
}
},
"next_cursor": {
"type": [
"string",
"null"
],
"maxLength": 256
}
}
}Userobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
emailRequired | string | format: "email" |
Full schema
{
"type": "object",
"required": [
"id",
"email"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"email": {
"type": "string",
"format": "email"
}
}
}DriveMemberobject+
| Field | Type | Meaning and constraints |
|---|---|---|
user_idRequired | string | format: "uuid" |
emailRequired | string | format: "email" |
roleRequired | "owner" | "admin" | "editor" | "viewer" | |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"user_id",
"email",
"role",
"created_at"
],
"additionalProperties": false,
"properties": {
"user_id": {
"type": "string",
"format": "uuid"
},
"email": {
"type": "string",
"format": "email"
},
"role": {
"type": "string",
"enum": [
"owner",
"admin",
"editor",
"viewer"
]
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}DriveInvitationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
drive_idRequired | string | format: "uuid" |
emailRequired | string | format: "email" |
roleRequired | "viewer" | "editor" | "admin" | |
expires_atRequired | string | format: "date-time" |
accepted_atOptional | string | null | format: "date-time" |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"drive_id",
"email",
"role",
"expires_at",
"created_at"
],
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"email": {
"type": "string",
"format": "email"
},
"role": {
"type": "string",
"enum": [
"viewer",
"editor",
"admin"
]
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"accepted_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}InvitationResultobject+
| Field | Type | Meaning and constraints |
|---|---|---|
invitationRequired | DriveInvitation | |
tokenOptional | string | One-time token exposed only by configured local development delivery minLength: 1 |
Full schema
{
"type": "object",
"required": [
"invitation"
],
"additionalProperties": false,
"properties": {
"invitation": {
"$ref": "#/components/schemas/DriveInvitation"
},
"token": {
"type": "string",
"minLength": 1,
"description": "One-time token exposed only by configured local development delivery"
}
}
}DriveMemberChangeobject+
| Field | Type | Meaning and constraints |
|---|---|---|
roleRequired | "viewer" | "editor" | "admin" | |
expected_roleRequired | "viewer" | "editor" | "admin" | "owner" |
Full schema
{
"type": "object",
"required": [
"role",
"expected_role"
],
"additionalProperties": false,
"properties": {
"role": {
"type": "string",
"enum": [
"viewer",
"editor",
"admin"
]
},
"expected_role": {
"type": "string",
"enum": [
"viewer",
"editor",
"admin",
"owner"
]
}
}
}BrowserDownloadGrantobject+
| Field | Type | Meaning and constraints |
|---|---|---|
download_pathRequired | string | pattern: "^/v1/files/[0-9a-f-]{36}/versions/[0-9a-f-]{36}/browser-download$" |
expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"download_path",
"expires_at"
],
"additionalProperties": false,
"properties": {
"download_path": {
"type": "string",
"pattern": "^/v1/files/[0-9a-f-]{36}/versions/[0-9a-f-]{36}/browser-download$"
},
"expires_at": {
"type": "string",
"format": "date-time"
}
}
}AuthSessionobject+
| Field | Type | Meaning and constraints |
|---|---|---|
userRequired | User | |
access_tokenRequired | string | minLength: 1 |
access_expires_atRequired | string | format: "date-time" |
refresh_tokenRequired | string | minLength: 1 |
refresh_expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"user",
"access_token",
"access_expires_at",
"refresh_token",
"refresh_expires_at"
],
"properties": {
"user": {
"$ref": "#/components/schemas/User"
},
"access_token": {
"type": "string",
"minLength": 1
},
"access_expires_at": {
"type": "string",
"format": "date-time"
},
"refresh_token": {
"type": "string",
"minLength": 1
},
"refresh_expires_at": {
"type": "string",
"format": "date-time"
}
}
}RefreshedSessionobject+
| Field | Type | Meaning and constraints |
|---|---|---|
access_tokenRequired | string | minLength: 1 |
access_expires_atRequired | string | format: "date-time" |
refresh_tokenRequired | string | minLength: 1 |
refresh_expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"access_token",
"access_expires_at",
"refresh_token",
"refresh_expires_at"
],
"properties": {
"access_token": {
"type": "string",
"minLength": 1
},
"access_expires_at": {
"type": "string",
"format": "date-time"
},
"refresh_token": {
"type": "string",
"minLength": 1
},
"refresh_expires_at": {
"type": "string",
"format": "date-time"
}
}
}ContentMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
dataRequired | string | Exact replacement bytes; empty replaces with an empty file |
Full schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "string",
"contentEncoding": "base64",
"description": "Exact replacement bytes; empty replaces with an empty file"
}
}
}WriteAtMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
offsetRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
dataRequired | string | minLength: 1 |
Full schema
{
"type": "object",
"required": [
"offset",
"data"
],
"properties": {
"offset": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
},
"data": {
"type": "string",
"contentEncoding": "base64",
"minLength": 1
}
}
}PatchMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
changesRequired | array<WriteAtMutation> | Non-overlapping overwrites; all edits are validated before publication minItems: 1 · maxItems: 10000 |
Full schema
{
"type": "object",
"required": [
"changes"
],
"properties": {
"changes": {
"type": "array",
"minItems": 1,
"maxItems": 10000,
"items": {
"$ref": "#/components/schemas/WriteAtMutation"
},
"description": "Non-overlapping overwrites; all edits are validated before publication"
}
}
}InsertMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
offsetRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
dataRequired | string | minLength: 1 |
Full schema
{
"type": "object",
"required": [
"offset",
"data"
],
"properties": {
"offset": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
},
"data": {
"type": "string",
"contentEncoding": "base64",
"minLength": 1
}
}
}RemoveMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
offsetRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
delete_lengthRequired | integer | format: "int64" · minimum: 1 · maximum: 9223372036854776000 |
Full schema
{
"type": "object",
"required": [
"offset",
"delete_length"
],
"properties": {
"offset": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
},
"delete_length": {
"type": "integer",
"format": "int64",
"minimum": 1,
"maximum": 9223372036854776000
}
}
}SpliceMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
offsetRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
delete_lengthRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
dataRequired | string |
Full schema
{
"type": "object",
"required": [
"offset",
"delete_length",
"data"
],
"properties": {
"offset": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
},
"delete_length": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
},
"data": {
"type": "string",
"contentEncoding": "base64"
}
},
"anyOf": [
{
"properties": {
"delete_length": {
"minimum": 1
}
}
},
{
"properties": {
"data": {
"minLength": 1
}
}
}
]
}TruncateMutationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
sizeRequired | integer | format: "int64" · minimum: 0 · maximum: 9223372036854776000 |
Full schema
{
"type": "object",
"required": [
"size"
],
"properties": {
"size": {
"type": "integer",
"format": "int64",
"minimum": 0,
"maximum": 9223372036854776000
}
}
}Entryobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
drive_idRequired | string | format: "uuid" |
parent_idOptional | string | null | format: "uuid" |
nameRequired | string | |
kindRequired | "file" | "folder" | |
current_version_idOptional | string | null | format: "uuid" |
logical_sizeRequired | integer | format: "int64" |
checksum_sha256Optional | string | null | |
revisionRequired | integer | format: "int64" |
created_atRequired | string | format: "date-time" |
modified_atRequired | string | format: "date-time" |
deletedRequired | boolean |
Full schema
{
"type": "object",
"required": [
"id",
"drive_id",
"name",
"kind",
"logical_size",
"revision",
"created_at",
"modified_at",
"deleted"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"parent_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"name": {
"type": "string"
},
"kind": {
"enum": [
"file",
"folder"
]
},
"current_version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"logical_size": {
"type": "integer",
"format": "int64"
},
"checksum_sha256": {
"type": [
"string",
"null"
]
},
"revision": {
"type": "integer",
"format": "int64"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"modified_at": {
"type": "string",
"format": "date-time"
},
"deleted": {
"type": "boolean"
}
}
}Versionobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
file_idRequired | string | format: "uuid" |
logical_sizeRequired | integer | format: "int64" |
checksum_sha256Required | string | |
manifest_sha256Optional | string | |
storage_formatRequired | "blob" | "chunked_v1" | "extent_v2" | |
created_atRequired | string | format: "date-time" |
operationOptional | "write" | "write_at" | "patch" | "insert" | "remove" | "splice" | "truncate" | "restore" | "conflict_preserved" | |
drive_sequenceOptional | integer | format: "int64" |
Full schema
{
"type": "object",
"required": [
"id",
"file_id",
"logical_size",
"checksum_sha256",
"storage_format",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"file_id": {
"type": "string",
"format": "uuid"
},
"logical_size": {
"type": "integer",
"format": "int64"
},
"checksum_sha256": {
"type": "string"
},
"manifest_sha256": {
"type": "string"
},
"storage_format": {
"enum": [
"blob",
"chunked_v1",
"extent_v2"
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"operation": {
"enum": [
"write",
"write_at",
"patch",
"insert",
"remove",
"splice",
"truncate",
"restore",
"conflict_preserved"
]
},
"drive_sequence": {
"type": "integer",
"format": "int64"
}
}
}MutationResultobject+
| Field | Type | Meaning and constraints |
|---|---|---|
entryRequired | Entry | |
versionRequired | Version | |
idempotent_replayOptional | boolean |
Full schema
{
"type": "object",
"required": [
"entry",
"version"
],
"properties": {
"entry": {
"$ref": "#/components/schemas/Entry"
},
"version": {
"$ref": "#/components/schemas/Version"
},
"idempotent_replay": {
"type": "boolean",
"default": false
}
}
}CursorBoundaryobject+
| Field | Type | Meaning and constraints |
|---|---|---|
epochRequired | string | format: "uuid" |
sequenceRequired | integer | format: "int64" · minimum: 0 |
Full schema
{
"type": "object",
"required": [
"epoch",
"sequence"
],
"properties": {
"epoch": {
"type": "string",
"format": "uuid"
},
"sequence": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}ChangePageobject+
| Field | Type | Meaning and constraints |
|---|---|---|
cursorRequired | integer | format: "int64" · minimum: 0 |
epochRequired | string | format: "uuid" |
changesRequired | array<object> |
Full schema
{
"type": "object",
"required": [
"cursor",
"epoch",
"changes"
],
"properties": {
"cursor": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"epoch": {
"type": "string",
"format": "uuid"
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"sequence",
"drive_id",
"entry_id",
"operation",
"revision",
"created_at"
],
"properties": {
"sequence": {
"type": "integer",
"format": "int64"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"entry_id": {
"type": "string",
"format": "uuid"
},
"operation": {
"type": "string"
},
"revision": {
"type": "integer",
"format": "int64"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}CursorResetobject+
| Field | Type | Meaning and constraints |
|---|---|---|
errorRequired | object | |
resetRequired | CursorBoundary |
Full schema
{
"type": "object",
"required": [
"error",
"reset"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"const": "cursor_reset_required"
},
"message": {
"type": "string"
}
}
},
"reset": {
"$ref": "#/components/schemas/CursorBoundary"
}
}
}ReconcilePageobject+
| Field | Type | Meaning and constraints |
|---|---|---|
boundaryRequired | CursorBoundary | |
entriesRequired | array<Entry> | maxItems: 500 |
next_entry_idRequired | string | null | format: "uuid" |
Full schema
{
"type": "object",
"required": [
"boundary",
"entries",
"next_entry_id"
],
"properties": {
"boundary": {
"$ref": "#/components/schemas/CursorBoundary"
},
"entries": {
"type": "array",
"maxItems": 500,
"items": {
"$ref": "#/components/schemas/Entry"
}
},
"next_entry_id": {
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Problemobject+
| Field | Type | Meaning and constraints |
|---|---|---|
errorRequired | object |
Full schema
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}AccessKeyobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
key_idRequired | string | Non-secret public key identifier |
labelRequired | string | |
accessRequired | "read" | "write" | "admin" | |
scope_typeRequired | "account" | "drive" | |
scope_idOptional | string | null | format: "uuid" |
parent_key_idOptional | string | null | format: "uuid" |
drive_idOptional | string | null | format: "uuid" |
expires_atOptional | string | null | format: "date-time" |
last_used_atOptional | string | null | format: "date-time" |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"key_id",
"label",
"access",
"scope_type",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"key_id": {
"type": "string",
"description": "Non-secret public key identifier"
},
"label": {
"type": "string"
},
"access": {
"enum": [
"read",
"write",
"admin"
]
},
"scope_type": {
"enum": [
"account",
"drive"
]
},
"scope_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"parent_key_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"drive_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"last_used_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}ChunkRefobject+
| Field | Type | Meaning and constraints |
|---|---|---|
sha256Required | string | Empty for a zero extent or immutable base reference pattern: "^([0-9a-f]{64})?$" |
sizeRequired | integer | format: "int64" · minimum: 1 |
zeroOptional | boolean | True means this extent represents zero bytes without an object |
base_offsetOptional | integer | Reuse this range from base_version_id; excludes zero and a content hash format: "int64" · minimum: 0 |
Full schema
{
"type": "object",
"required": [
"sha256",
"size"
],
"properties": {
"sha256": {
"type": "string",
"pattern": "^([0-9a-f]{64})?$",
"description": "Empty for a zero extent or immutable base reference"
},
"size": {
"type": "integer",
"format": "int64",
"minimum": 1
},
"zero": {
"type": "boolean",
"default": false,
"description": "True means this extent represents zero bytes without an object"
},
"base_offset": {
"type": "integer",
"format": "int64",
"minimum": 0,
"description": "Reuse this range from base_version_id; excludes zero and a content hash"
}
}
}ChunkManifestobject+
| Field | Type | Meaning and constraints |
|---|---|---|
logical_sizeRequired | integer | format: "int64" · minimum: 0 |
chunksRequired | array<ChunkRef> | maxItems: 1000000 |
base_version_idOptional | string | Immutable current version selected at upload creation and pinned through completion format: "uuid" |
Full schema
{
"type": "object",
"required": [
"logical_size",
"chunks"
],
"properties": {
"logical_size": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"chunks": {
"type": "array",
"maxItems": 1000000,
"items": {
"$ref": "#/components/schemas/ChunkRef"
}
},
"base_version_id": {
"type": "string",
"format": "uuid",
"description": "Immutable current version selected at upload creation and pinned through completion"
}
}
}Driveobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
nameRequired | string | |
quota_bytesRequired | integer | format: "int64" |
used_bytesRequired | integer | format: "int64" |
stateRequired | "active" | "deleting" | "deleted" | |
source_drive_idOptional | string | null | format: "uuid" |
source_sequenceOptional | integer | null | format: "int64" |
planRequired | "individual" | "team" | "enterprise" | |
roleRequired | "viewer" | "editor" | "admin" | "owner" | |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"name",
"quota_bytes",
"used_bytes",
"state",
"plan",
"role",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"quota_bytes": {
"type": "integer",
"format": "int64"
},
"used_bytes": {
"type": "integer",
"format": "int64"
},
"state": {
"enum": [
"active",
"deleting",
"deleted"
]
},
"source_drive_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"source_sequence": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"plan": {
"enum": [
"individual",
"team",
"enterprise"
]
},
"role": {
"enum": [
"viewer",
"editor",
"admin",
"owner"
]
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}Snapshotobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
drive_idRequired | string | format: "uuid" |
created_byRequired | string | format: "uuid" |
created_atRequired | string | format: "date-time" |
entry_countRequired | integer | format: "int64" |
Full schema
{
"type": "object",
"required": [
"id",
"drive_id",
"created_by",
"created_at",
"entry_count"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"created_by": {
"type": "string",
"format": "uuid"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"entry_count": {
"type": "integer",
"format": "int64"
}
}
}Branchobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
source_drive_idRequired | string | format: "uuid" |
base_snapshot_idRequired | string | format: "uuid" |
drive_idRequired | string | Filesystem scope to mount through nufs-engine format: "uuid" |
nameRequired | string | |
task_idOptional | string | null | |
statusRequired | "active" | "integrated" | "discarded" | |
created_byRequired | string | format: "uuid" |
created_atRequired | string | format: "date-time" |
updated_atRequired | string | format: "date-time" |
integrated_atOptional | string | null | format: "date-time" |
discarded_atOptional | string | null | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"source_drive_id",
"base_snapshot_id",
"drive_id",
"name",
"status",
"created_by",
"created_at",
"updated_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"source_drive_id": {
"type": "string",
"format": "uuid"
},
"base_snapshot_id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid",
"description": "Filesystem scope to mount through nufs-engine"
},
"name": {
"type": "string"
},
"task_id": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"active",
"integrated",
"discarded"
]
},
"created_by": {
"type": "string",
"format": "uuid"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"integrated_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"discarded_at": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}BranchChangeobject+
| Field | Type | Meaning and constraints |
|---|---|---|
statusRequired | "added" | "modified" | "deleted" | |
base_entry_idOptional | string | null | format: "uuid" |
branch_entry_idRequired | string | format: "uuid" |
nameRequired | string | |
pathRequired | string | Current path in the branch |
base_pathOptional | string | null | Path in the immutable base snapshot |
kindRequired | "file" | "folder" | |
base_version_idOptional | string | null | format: "uuid" |
version_idOptional | string | null | format: "uuid" |
logical_sizeRequired | integer | format: "int64" |
actor_idOptional | string | null | Latest authenticated actor for this branch entry when available format: "uuid" |
Full schema
{
"type": "object",
"required": [
"status",
"branch_entry_id",
"name",
"path",
"kind",
"logical_size"
],
"properties": {
"status": {
"enum": [
"added",
"modified",
"deleted"
]
},
"base_entry_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"branch_entry_id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"path": {
"type": "string",
"description": "Current path in the branch"
},
"base_path": {
"type": [
"string",
"null"
],
"description": "Path in the immutable base snapshot"
},
"kind": {
"enum": [
"file",
"folder"
]
},
"base_version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"logical_size": {
"type": "integer",
"format": "int64"
},
"actor_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Latest authenticated actor for this branch entry when available"
}
}
}PublicFileLinkobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
file_idRequired | string | format: "uuid" |
version_idRequired | string | null | format: "uuid" |
file_nameRequired | string | |
expires_atRequired | string | format: "date-time" |
revoked_atOptional | string | null | format: "date-time" |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"file_id",
"version_id",
"file_name",
"expires_at",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"file_id": {
"type": "string",
"format": "uuid"
},
"version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"file_name": {
"type": "string"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"revoked_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}PublicFileLinkResultobject+
| Field | Type | Meaning and constraints |
|---|---|---|
file_linkRequired | PublicFileLink | |
secretRequired | string |
Full schema
{
"type": "object",
"required": [
"file_link",
"secret"
],
"properties": {
"file_link": {
"$ref": "#/components/schemas/PublicFileLink"
},
"secret": {
"type": "string"
}
}
}PublicFileReadobject+
| Field | Type | Meaning and constraints |
|---|---|---|
file_nameRequired | string | |
version_idRequired | string | format: "uuid" |
logical_sizeRequired | integer | minimum: 0 · maximum: 9223372036854776000 |
checksum_sha256Required | string | null | Whole-file checksum when available; null for extent versions without a computed whole-file digest. pattern: "^[0-9a-f]{64}$" |
expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"file_name",
"version_id",
"logical_size",
"checksum_sha256",
"expires_at"
],
"properties": {
"file_name": {
"type": "string"
},
"version_id": {
"type": "string",
"format": "uuid"
},
"logical_size": {
"type": "integer",
"minimum": 0,
"maximum": 9223372036854776000
},
"checksum_sha256": {
"type": [
"string",
"null"
],
"pattern": "^[0-9a-f]{64}$",
"description": "Whole-file checksum when available; null for extent versions without a computed whole-file digest."
},
"expires_at": {
"type": "string",
"format": "date-time"
}
}
}UploadRequestInputobject+
| Field | Type | Meaning and constraints |
|---|---|---|
parent_idOptional | string | null | format: "uuid" |
titleRequired | string | minLength: 1 · maxLength: 100 |
max_filesRequired | integer | minimum: 1 · maximum: 100 |
max_file_bytesRequired | integer | minimum: 1 · maximum: 104857600 |
max_total_bytesRequired | integer | minimum: 1 · maximum: 1073741824 |
allowed_extensionsOptional | array<string> | maxItems: 20 |
expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"title",
"max_files",
"max_file_bytes",
"max_total_bytes",
"expires_at"
],
"properties": {
"parent_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"max_files": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"max_file_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"max_total_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1073741824
},
"allowed_extensions": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"pattern": "^\\.[a-z0-9]{1,15}$"
}
},
"expires_at": {
"type": "string",
"format": "date-time"
}
}
}UploadRequestobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | format: "uuid" |
drive_idRequired | string | format: "uuid" |
parent_idRequired | string | null | format: "uuid" |
titleRequired | string | minLength: 1 · maxLength: 100 |
max_filesRequired | integer | minimum: 1 · maximum: 100 |
max_file_bytesRequired | integer | minimum: 1 · maximum: 104857600 |
max_total_bytesRequired | integer | minimum: 1 · maximum: 1073741824 |
allowed_extensionsRequired | array<string> | maxItems: 20 |
expires_atRequired | string | format: "date-time" |
received_filesRequired | integer | minimum: 0 |
received_bytesRequired | integer | minimum: 0 |
revoked_atOptional | string | null | format: "date-time" |
created_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"required": [
"id",
"drive_id",
"parent_id",
"title",
"max_files",
"max_file_bytes",
"max_total_bytes",
"allowed_extensions",
"expires_at",
"received_files",
"received_bytes",
"created_at"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"parent_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"max_files": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"max_file_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"max_total_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1073741824
},
"allowed_extensions": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"pattern": "^\\.[a-z0-9]{1,15}$"
}
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"received_files": {
"type": "integer",
"minimum": 0
},
"received_bytes": {
"type": "integer",
"minimum": 0
},
"revoked_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": "string",
"format": "date-time"
}
}
}PublicUploadRequestobject+
| Field | Type | Meaning and constraints |
|---|---|---|
titleRequired | string | minLength: 1 · maxLength: 100 |
max_filesRequired | integer | minimum: 1 · maximum: 100 |
max_file_bytesRequired | integer | minimum: 1 · maximum: 104857600 |
max_total_bytesRequired | integer | minimum: 1 · maximum: 1073741824 |
allowed_extensionsRequired | array<string> | maxItems: 20 |
expires_atRequired | string | format: "date-time" |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"title",
"max_files",
"max_file_bytes",
"max_total_bytes",
"allowed_extensions",
"expires_at"
],
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"max_files": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"max_file_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"max_total_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 1073741824
},
"allowed_extensions": {
"type": "array",
"maxItems": 20,
"items": {
"type": "string",
"pattern": "^\\.[a-z0-9]{1,15}$"
}
},
"expires_at": {
"type": "string",
"format": "date-time"
}
}
}UploadRequestResultobject+
| Field | Type | Meaning and constraints |
|---|---|---|
upload_requestRequired | UploadRequest | |
secretRequired | string |
Full schema
{
"type": "object",
"required": [
"upload_request",
"secret"
],
"properties": {
"upload_request": {
"$ref": "#/components/schemas/UploadRequest"
},
"secret": {
"type": "string"
}
}
}UploadReceiptobject+
| Field | Type | Meaning and constraints |
|---|---|---|
receipt_idRequired | string | format: "uuid" |
file_nameRequired | string | |
size_bytesRequired | integer | minimum: 0 · maximum: 104857600 |
sha256Required | string | pattern: "^[0-9a-f]{64}$" |
idempotent_replayRequired | boolean |
Full schema
{
"type": "object",
"additionalProperties": false,
"required": [
"receipt_id",
"file_name",
"size_bytes",
"sha256",
"idempotent_replay"
],
"properties": {
"receipt_id": {
"type": "string",
"format": "uuid"
},
"file_name": {
"type": "string"
},
"size_bytes": {
"type": "integer",
"minimum": 0,
"maximum": 104857600
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"idempotent_replay": {
"type": "boolean"
}
}
}SearchHitobject+
| Field | Type | Meaning and constraints |
|---|---|---|
file_idRequired | string | format: "uuid" |
drive_idRequired | string | format: "uuid" |
version_idRequired | string | null | format: "uuid" |
nameRequired | string | |
pathRequired | string | |
kindRequired | "file" | "folder" | |
logical_sizeRequired | integer | Byte length of the matched current version in the same search snapshot format: "int64" · minimum: 0 |
excerptRequired | string | Plain text prefix of indexed UTF-8 content |
content_stateRequired | "pending" | "processing" | "indexed" | "unsupported" |
Full schema
{
"type": "object",
"required": [
"file_id",
"drive_id",
"version_id",
"name",
"path",
"kind",
"logical_size",
"excerpt",
"content_state"
],
"properties": {
"file_id": {
"type": "string",
"format": "uuid"
},
"drive_id": {
"type": "string",
"format": "uuid"
},
"version_id": {
"type": [
"string",
"null"
],
"format": "uuid"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"file",
"folder"
]
},
"logical_size": {
"type": "integer",
"format": "int64",
"minimum": 0,
"description": "Byte length of the matched current version in the same search snapshot"
},
"excerpt": {
"type": "string",
"description": "Plain text prefix of indexed UTF-8 content"
},
"content_state": {
"type": "string",
"enum": [
"pending",
"processing",
"indexed",
"unsupported"
]
}
}
}SearchPageobject+
| Field | Type | Meaning and constraints |
|---|---|---|
resultsRequired | array<SearchHit> | maxItems: 100 |
next_cursorRequired | string | null |
Full schema
{
"type": "object",
"required": [
"results",
"next_cursor"
],
"properties": {
"results": {
"type": "array",
"maxItems": 100,
"items": {
"$ref": "#/components/schemas/SearchHit"
}
},
"next_cursor": {
"type": [
"string",
"null"
]
}
}
}PlanOptionobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | |
nameRequired | string | |
descriptionOptional | string | |
availabilityOptional | string | |
version_idOptional | string | |
storage_bytesRequired | integer | minimum: 0 |
seatsRequired | integer | minimum: 0 |
monthly_total_minorRequired | integer | minimum: 0 |
storage_addon_bytesRequired | integer | minimum: 0 |
storage_addon_monthly_minorRequired | integer | minimum: 0 |
max_seatsRequired | integer | minimum: 0 |
max_storage_bytesOptional | integer | minimum: 0 |
display_orderOptional | integer | minimum: 0 |
extra_seat_monthly_minorRequired | integer | null | minimum: 0 |
featuredOptional | boolean |
Full schema
{
"type": "object",
"required": [
"id",
"name",
"storage_bytes",
"seats",
"monthly_total_minor",
"extra_seat_monthly_minor",
"storage_addon_bytes",
"storage_addon_monthly_minor",
"max_seats"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"availability": {
"type": "string"
},
"version_id": {
"type": "string"
},
"storage_bytes": {
"type": "integer",
"minimum": 0
},
"seats": {
"type": "integer",
"minimum": 0
},
"monthly_total_minor": {
"type": "integer",
"minimum": 0
},
"storage_addon_bytes": {
"type": "integer",
"minimum": 0
},
"storage_addon_monthly_minor": {
"type": "integer",
"minimum": 0
},
"max_seats": {
"type": "integer",
"minimum": 0
},
"max_storage_bytes": {
"type": "integer",
"minimum": 0
},
"display_order": {
"type": "integer",
"minimum": 0
},
"extra_seat_monthly_minor": {
"type": [
"integer",
"null"
],
"minimum": 0
},
"featured": {
"type": "boolean"
}
}
}PlatformReleaseobject+
| Field | Type | Meaning and constraints |
|---|---|---|
platformRequired | string | |
architectureRequired | string | |
formatRequired | string | |
versionRequired | string | |
urlRequired | string | |
sha256Required | string | |
sha512Optional | string | Base64 SHA-512 for desktop updater verification. |
minimum_supported_versionOptional | string | Older matching desktop clients must update after pending saves finish. |
update_reasonOptional | string | |
notesRequired | string | |
publishedRequired | boolean | |
channelOptional | "stable" | "preview" | "beta" | |
file_sizeOptional | integer | minimum: 0 |
signingOptional | "unsigned" | "authenticode" | "notarized" | "not_applicable" | |
verificationOptional | "not_checked" | "passed" | "failed" |
Full schema
{
"type": "object",
"required": [
"platform",
"architecture",
"format",
"version",
"url",
"sha256",
"notes",
"published"
],
"properties": {
"platform": {
"type": "string"
},
"architecture": {
"type": "string"
},
"format": {
"type": "string"
},
"version": {
"type": "string"
},
"url": {
"type": "string"
},
"sha256": {
"type": "string"
},
"sha512": {
"type": "string",
"description": "Base64 SHA-512 for desktop updater verification."
},
"minimum_supported_version": {
"type": "string",
"description": "Older matching desktop clients must update after pending saves finish."
},
"update_reason": {
"type": "string"
},
"notes": {
"type": "string"
},
"published": {
"type": "boolean"
},
"channel": {
"type": "string",
"enum": [
"stable",
"preview",
"beta"
]
},
"file_size": {
"type": "integer",
"minimum": 0
},
"signing": {
"type": "string",
"enum": [
"unsigned",
"authenticode",
"notarized",
"not_applicable"
]
},
"verification": {
"type": "string",
"enum": [
"not_checked",
"passed",
"failed"
]
}
}
}PlanCatalogobject+
| Field | Type | Meaning and constraints |
|---|---|---|
revisionOptional | string | |
plansRequired | array<PlanOption> | |
currencyRequired | string | |
billing_intervalRequired | string | |
checkout_modeRequired | "disabled" | "development" |
Full schema
{
"type": "object",
"required": [
"plans",
"currency",
"billing_interval",
"checkout_mode"
],
"properties": {
"revision": {
"type": "string"
},
"plans": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlanOption"
}
},
"currency": {
"type": "string",
"const": "USD"
},
"billing_interval": {
"type": "string",
"const": "month"
},
"checkout_mode": {
"type": "string",
"enum": [
"disabled",
"development"
]
}
}
}PlatformSettingsobject+
| Field | Type | Meaning and constraints |
|---|---|---|
signup_enabledRequired | boolean | |
checkout_enabledRequired | boolean | |
web_enabledRequired | boolean | |
linux_enabledRequired | boolean | |
macos_enabledRequired | boolean | |
windows_enabledRequired | boolean | |
announcementRequired | string | |
support_urlRequired | string | |
support_emailRequired | string | |
releasesRequired | array<PlatformRelease> | |
announcement_starts_atOptional | string | |
announcement_ends_atOptional | string |
Full schema
{
"type": "object",
"required": [
"signup_enabled",
"checkout_enabled",
"web_enabled",
"linux_enabled",
"macos_enabled",
"windows_enabled",
"announcement",
"support_url",
"support_email",
"releases"
],
"properties": {
"signup_enabled": {
"type": "boolean"
},
"checkout_enabled": {
"type": "boolean"
},
"web_enabled": {
"type": "boolean"
},
"linux_enabled": {
"type": "boolean"
},
"macos_enabled": {
"type": "boolean"
},
"windows_enabled": {
"type": "boolean"
},
"announcement": {
"type": "string"
},
"support_url": {
"type": "string"
},
"support_email": {
"type": "string"
},
"releases": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlatformRelease"
}
},
"announcement_starts_at": {
"type": "string"
},
"announcement_ends_at": {
"type": "string"
}
}
}PlatformDocumentobject+
| Field | Type | Meaning and constraints |
|---|---|---|
plansRequired | array<PlanOption> | |
settingsRequired | PlatformSettings |
Full schema
{
"type": "object",
"required": [
"plans",
"settings"
],
"properties": {
"plans": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PlanOption"
}
},
"settings": {
"$ref": "#/components/schemas/PlatformSettings"
}
}
}PublicConfigurationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
revisionRequired | string | |
catalogRequired | PlanCatalog | |
settingsRequired | PlatformSettings |
Full schema
{
"type": "object",
"required": [
"revision",
"catalog",
"settings"
],
"properties": {
"revision": {
"type": "string"
},
"catalog": {
"$ref": "#/components/schemas/PlanCatalog"
},
"settings": {
"$ref": "#/components/schemas/PlatformSettings"
}
}
}PlatformConfigurationobject+
| Field | Type | Meaning and constraints |
|---|---|---|
revisionRequired | string | |
publishedRequired | PlatformDocument | |
draftRequired | PlatformDocument |
Full schema
{
"type": "object",
"required": [
"revision",
"published",
"draft"
],
"properties": {
"revision": {
"type": "string"
},
"published": {
"$ref": "#/components/schemas/PlatformDocument"
},
"draft": {
"$ref": "#/components/schemas/PlatformDocument"
}
}
}PlatformAuditEntryobject+
| Field | Type | Meaning and constraints |
|---|---|---|
idRequired | string | |
user_idRequired | string | format: "uuid" |
actionRequired | string | |
revisionRequired | string | |
beforeRequired | schema | |
afterRequired | schema | |
created_atRequired | string | format: "date-time" |
resource_typeOptional | string | |
resource_idOptional | string | |
reasonOptional | string |
Full schema
{
"type": "object",
"required": [
"id",
"user_id",
"action",
"revision",
"before",
"after",
"created_at"
],
"properties": {
"id": {
"type": "string"
},
"user_id": {
"type": "string",
"format": "uuid"
},
"action": {
"type": "string"
},
"revision": {
"type": "string"
},
"before": {},
"after": {},
"created_at": {
"type": "string",
"format": "date-time"
},
"resource_type": {
"type": "string"
},
"resource_id": {
"type": "string"
},
"reason": {
"type": "string"
}
}
}OTPChallengeobject+
| Field | Type | Meaning and constraints |
|---|---|---|
challenge_idRequired | string | format: "uuid" |
expires_atRequired | string | format: "date-time" |
resend_afterRequired | integer | minimum: 0 |
codeOptional | string | Only exposed by explicitly configured local integration fixtures. Never returned in production. |
Full schema
{
"type": "object",
"required": [
"challenge_id",
"expires_at",
"resend_after"
],
"properties": {
"challenge_id": {
"type": "string",
"format": "uuid"
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"resend_after": {
"type": "integer",
"minimum": 0
},
"code": {
"type": "string",
"description": "Only exposed by explicitly configured local integration fixtures. Never returned in production."
}
}
}FileHistoryPolicyDrive-wide history is off by default. Used storage counts current and retained historical contents with content deduplication.+
| Field | Type | Meaning and constraints |
|---|---|---|
drive_idRequired | string | format: "uuid" |
enabledRequired | boolean | |
revisionRequired | string | |
current_bytesRequired | integer | format: "int64" · minimum: 0 |
history_bytesRequired | integer | format: "int64" · minimum: 0 |
used_bytesRequired | integer | format: "int64" · minimum: 0 |
historical_versionsRequired | integer | format: "int64" · minimum: 0 |
Full schema
{
"type": "object",
"description": "Drive-wide history is off by default. Used storage counts current and retained historical contents with content deduplication.",
"required": [
"drive_id",
"enabled",
"revision",
"current_bytes",
"history_bytes",
"used_bytes",
"historical_versions"
],
"properties": {
"drive_id": {
"type": "string",
"format": "uuid"
},
"enabled": {
"type": "boolean"
},
"revision": {
"type": "string"
},
"current_bytes": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"history_bytes": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"used_bytes": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"historical_versions": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}FileHistoryUpdateOwner-only setting. Disabling retains existing history; only future superseded revisions stop counting toward history.+
| Field | Type | Meaning and constraints |
|---|---|---|
enabledRequired | boolean | |
expected_revisionRequired | string | pattern: "^[1-9][0-9]*$" |
Full schema
{
"type": "object",
"description": "Owner-only setting. Disabling retains existing history; only future superseded revisions stop counting toward history.",
"required": [
"enabled",
"expected_revision"
],
"properties": {
"enabled": {
"type": "boolean"
},
"expected_revision": {
"type": "string",
"pattern": "^[1-9][0-9]*$"
}
}
}HistoryCleanupResultClears earlier versions, keeps current files, and releases allowance immediately. Protected snapshots, forks and live links are skipped. Physical reclamation is asynchronous and preserves replay and active-save pins.+
| Field | Type | Meaning and constraints |
|---|---|---|
versions_clearedRequired | integer | format: "int64" · minimum: 0 |
versions_skippedRequired | integer | format: "int64" · minimum: 0 |
bytes_freedRequired | integer | format: "int64" · minimum: 0 |
used_bytesRequired | integer | format: "int64" · minimum: 0 |
Full schema
{
"type": "object",
"description": "Clears earlier versions, keeps current files, and releases allowance immediately. Protected snapshots, forks and live links are skipped. Physical reclamation is asynchronous and preserves replay and active-save pins.",
"required": [
"versions_cleared",
"versions_skipped",
"bytes_freed",
"used_bytes"
],
"properties": {
"versions_cleared": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"versions_skipped": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"bytes_freed": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"used_bytes": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}VersionSummaryobject+
| Field | Type | Meaning and constraints |
|---|---|---|
version_idRequired | string | format: "uuid" |
file_idRequired | string | format: "uuid" |
file_nameRequired | string | |
logical_sizeRequired | integer | format: "int64" · minimum: 0 |
checksum_sha256Required | string | |
created_atRequired | string | format: "date-time" |
currentRequired | boolean | |
file_revisionRequired | integer | format: "int64" · minimum: 0 |
storage_formatOptional | string | |
manifest_sha256Optional | string | |
operationOptional | string | |
drive_sequenceOptional | integer | format: "int64" · minimum: 0 |
Full schema
{
"type": "object",
"description": "",
"required": [
"version_id",
"file_id",
"file_name",
"logical_size",
"checksum_sha256",
"created_at",
"current",
"file_revision"
],
"properties": {
"version_id": {
"type": "string",
"format": "uuid"
},
"file_id": {
"type": "string",
"format": "uuid"
},
"file_name": {
"type": "string"
},
"logical_size": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"checksum_sha256": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"current": {
"type": "boolean"
},
"file_revision": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"storage_format": {
"type": "string"
},
"manifest_sha256": {
"type": "string"
},
"operation": {
"type": "string"
},
"drive_sequence": {
"type": "integer",
"format": "int64",
"minimum": 0
}
}
}