@hiloopai/sdk package: its generated operations and models,
plus the focused Sandbox lifecycle and streaming helpers shipped with them. To install the SDK,
configure a client, and make your first call, start with Use the SDKs. Each
operation is a function you import and call with { client, body }; request and response bodies are
the typed models below. For HTTP paths and status codes, see the API reference.
Client
client
constclient:Client
createClient()
createClient(config?):Client
Parameters
config?
Config = {}
Returns
Client
createConfig()
createConfig<T>(override?):Config<Omit<ClientOptions, keyofT> &T>
Type Parameters
T
T extends ClientOptions = ClientOptions
Parameters
override?
Config<Omit<ClientOptions, keyof T> & T> = {}
Returns
Config<Omit<ClientOptions, keyof T> & T>
ClientOptions
ClientOptions = object
Properties
baseUrl
baseUrl:`${string}://gen`|string&object
Options<TData, ThrowOnError, TResponse>
Options<TData,ThrowOnError,TResponse> =Options2<TData,ThrowOnError,TResponse> &object
Type Declaration
client?
You can provide a client instance returned byoptionalclient?:Client
createClient() instead of
individual options. This might be also useful if you want to implement a
custom client.
meta?
You can pass arbitrary values through theoptionalmeta?: keyofClientMetaextendsnever?Record<string,unknown> :ClientMeta
meta object. This can be
used to access values that aren’t defined as part of the SDK function.
Type Parameters
TData
TData extends TDataShape = TDataShape
ThrowOnError
ThrowOnError extends boolean = boolean
TResponse
TResponse = unknown
Sandbox helpers
tailRun()
tailRun(Tail canonical telemetry events for one run, including resumable SSE cursor ids.options):Promise<SdkResult<AsyncGenerator<RunTailEvent,any,any>>>
Parameters
options
abortSignal?
AbortSignal
client
Client
cursor?
string
lineagePath?
string
runId
string
signal?
string
Returns
Promise<SdkResult<AsyncGenerator<RunTailEvent, any, any>>>
RunTailEvent
One canonical telemetry event plus its SSE resume metadata.Properties
data
data:Record<string,unknown>
event?
optionalevent?:string
id?
optionalid?:string
retry?
optionalretry?:number
SdkResult<T>
SdkResult<T> = {data:T;error:undefined;request?:Request;response?:Response; } | {data:undefined;error:ErrorBody;request?:Request;response?:Response; }
Type Parameters
T
T
Operations
Sandboxes & runtime
sandboxServiceCreateSandboxsandboxServiceCreateSandboxSnapshotsandboxServiceDeleteSandboxsandboxServiceDeleteSandboxSnapshotsandboxServiceExecSandboxsandboxServiceGetSandboxsandboxServiceListSandboxSnapshotssandboxServiceListSandboxessandboxServiceUpdateSandbox
Volumes
volumeServiceCreateVolumevolumeServiceDeleteVolumevolumeServiceGetVolumevolumeServiceListVolumesvolumeServicePublishVolumeVersionvolumeServiceRequestVolumeBlobUploadsvolumeServiceStartVolumePush
Saved & data views
telemetryViewServiceDeleteDataViewtelemetryViewServiceListDataViewstelemetryViewServicePutDataViewtelemetryViewServiceRunDataView
Annotations
annotationServiceAnnotateannotationServiceAnnotateRangeannotationServiceListAnnotations
Annotation schemas
annotationSchemaServiceArchiveAnnotationSchemaannotationSchemaServiceGetAnnotationSchemaannotationSchemaServiceListAnnotationSchemasannotationSchemaServiceRegisterAnnotationSchema
Runs
runServiceCompleteRunrunServiceGetRunrunServiceListRunsrunServiceStartRun
Secrets
secretServiceCreateSandboxSecretsecretServiceGrantSandboxSecretsecretServiceListSandboxSecretGrantssecretServiceListSandboxSecretssecretServiceRevokeSandboxSecretsecretServiceRotateSandboxSecretsecretServiceUngrantSandboxSecret
Workloads
workloadServiceAddWorkloadFederationworkloadServiceCreateWorkloadworkloadServiceDeleteWorkloadworkloadServiceGetWorkloadworkloadServiceListWorkloadFederationworkloadServiceListWorkloadsworkloadServiceRemoveWorkloadFederationworkloadServiceSetWorkloadLaunchAcl
Usage
usageServiceGetUsageSnapshot
Projects
projectServiceCreateProjectprojectServiceDeleteProjectprojectServiceGetProjectprojectServiceListProjectsprojectServiceUpdateProject
Discovery
metaServiceGetServiceConfig
Identity
identityServiceWhoAmI
Feedback
feedbackServiceCreateFeedback
Models
AddWorkloadFederationRequest
AddWorkloadFederationRequest = object
Properties
cloud?
Cloud provider: aws, gcp, or azure.optionalcloud?:string
descriptor?
Strict parameters for the selected cloud. The server derives the canonical audience.optionaldescriptor?:WorkloadFederationDescriptor
name?
The registered workload name.optionalname?:string
AddWorkloadFederationResponse
AddWorkloadFederationResponse = object
Properties
federation_config?
The committed registration. A same-key, same-request retry returns this same row.optionalfederation_config?:WorkloadFederationConfig
AnnotateRangeRequest
AnnotateRangeRequest = object
A range annotation spanning a window within a run (rather than a single target event). The window
is either a pair of wall-clock nanosecond bounds or a pair of event ids whose recorded timestamps
become the bounds — supply exactly one form.
Properties
event_id?
Optional caller-mintedoptionalevent_id?:string
event_id for the annotation event (a 26-character ULID). Supplying one
makes retries safe: re-sending the request with the same event_id returns the existing
annotation instead of writing a duplicate, so an ambiguous failure (a 5xx or a lost response)
can be retried blindly. The id names this logical annotation — never reuse it for different
content. Omitted, the server mints a fresh id per call and a retry writes a new annotation.
payload_json?
The annotation payload as a JSON object string; validated againstoptionalpayload_json?:string
schema_name’s registered
JSON Schema at ingest. Reserved hiloop.annotation.* keys are platform-owned and excluded.
range_end_event_id?
Theoptionalrange_end_event_id?:string
event_id whose recorded timestamp ends the annotated window. Set together with
range_start_event_id, and not alongside the nanosecond bounds.
range_end_ns?
Inclusive end of the annotated window, in wall-clock nanoseconds. Mutually exclusive with the event-pair form.optionalrange_end_ns?:string
range_start_event_id?
Theoptionalrange_start_event_id?:string
event_id whose recorded timestamp starts the annotated window. Both event endpoints must
exist in run_id; the window bounds are materialized from their timestamps. Set together with
range_end_event_id, and not alongside the nanosecond bounds.
range_start_ns?
Inclusive start of the annotated window, in wall-clock nanoseconds. Mutually exclusive with the event-pair form.optionalrange_start_ns?:string
run_id?
The run (session) the annotation belongs to.optionalrun_id?:string
schema_name?
The registered annotation-schema name the payload validates against (the eventoptionalschema_name?:string
name).
AnnotateRequest
AnnotateRequest = object
One annotation: run-scoped (optionally targeting a single event within the run) or
project-scoped (no run — durable cross-run knowledge that outlives any sandbox).
Properties
event_id?
Optional caller-mintedoptionalevent_id?:string
event_id for the annotation event (a 26-character ULID). Supplying one
makes retries safe: re-sending the request with the same event_id returns the existing
annotation instead of writing a duplicate, so an ambiguous failure (a 5xx or a lost response)
can be retried blindly. The id names this logical annotation — never reuse it for different
content. Omitted, the server mints a fresh id per call and a retry writes a new annotation.
payload_json?
The annotation payload as a JSON object string; validated againstoptionalpayload_json?:string
schema_name’s registered
JSON Schema at ingest. Reserved hiloop.annotation.* keys are platform-owned and excluded.
project_id?
The project a run-less annotation belongs to. Exactly one ofoptionalproject_id?:string
run_id or project_id is set;
a project-scoped annotation carries no run lineage and no target event.
run_id?
The run (session) the annotation belongs to. Exactly one ofoptionalrun_id?:string
run_id or project_id is set.
schema_name?
The registered annotation-schema name the payload validates against (the eventoptionalschema_name?:string
name).
target_event_id?
Theoptionaltarget_event_id?:string
event_id of the single event this annotation is about. Only valid with run_id; empty
annotates the run (or project) itself.
AnnotateResponse
AnnotateResponse = object
Properties
event_id?
The stableoptionalevent_id?:string
event_id of the annotation event (the dedup/lookup key): the caller-minted id when
the request carried one, otherwise the freshly server-minted one.
AnnotationSchema
AnnotationSchema = object
One registered annotation-schema config: a single immutable, versioned row of the registry.
Properties
archived_at?
When the config was archived (RFC 3339), or empty if it is still live.optionalarchived_at?:string
created_at?
When the config version was created (RFC 3339).optionalcreated_at?:string
description?
An optional human-readable description.optionaldescription?:string
id?
The config id.optionalid?:string
json_schema?
The JSON Schema document (draft 2020-12) as a JSON string.optionaljson_schema?:string
name?
The schema name — unique per org across versions (the registered name an annotation names).optionalname?:string
promoted_fields?
The fields this schema promotes from the payload into typed columns, each with its server-assigned slot. Empty when the schema promotes nothing.optionalpromoted_fields?:PromotedField[]
version?
The monotonic version within (org, name). The first registration is 1.optionalversion?:string
AnnotationSchemaServiceArchiveAnnotationSchemaError
AnnotationSchemaServiceArchiveAnnotationSchemaError =AnnotationSchemaServiceArchiveAnnotationSchemaErrors\keyof [AnnotationSchemaServiceArchiveAnnotationSchemaErrors]
AnnotationSchemaServiceArchiveAnnotationSchemaErrors
AnnotationSchemaServiceArchiveAnnotationSchemaErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationSchemaServiceGetAnnotationSchemaError
AnnotationSchemaServiceGetAnnotationSchemaError =AnnotationSchemaServiceGetAnnotationSchemaErrors\keyof [AnnotationSchemaServiceGetAnnotationSchemaErrors]
AnnotationSchemaServiceGetAnnotationSchemaErrors
AnnotationSchemaServiceGetAnnotationSchemaErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationSchemaServiceListAnnotationSchemasError
AnnotationSchemaServiceListAnnotationSchemasError =AnnotationSchemaServiceListAnnotationSchemasErrors\keyof [AnnotationSchemaServiceListAnnotationSchemasErrors]
AnnotationSchemaServiceListAnnotationSchemasErrors
AnnotationSchemaServiceListAnnotationSchemasErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationSchemaServiceRegisterAnnotationSchemaError
AnnotationSchemaServiceRegisterAnnotationSchemaError =AnnotationSchemaServiceRegisterAnnotationSchemaErrors\keyof [AnnotationSchemaServiceRegisterAnnotationSchemaErrors]
AnnotationSchemaServiceRegisterAnnotationSchemaErrors
AnnotationSchemaServiceRegisterAnnotationSchemaErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationServiceAnnotateError
AnnotationServiceAnnotateError =AnnotationServiceAnnotateErrors\keyof [AnnotationServiceAnnotateErrors]
AnnotationServiceAnnotateErrors
AnnotationServiceAnnotateErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationServiceAnnotateRangeError
AnnotationServiceAnnotateRangeError =AnnotationServiceAnnotateRangeErrors\keyof [AnnotationServiceAnnotateRangeErrors]
AnnotationServiceAnnotateRangeErrors
AnnotationServiceAnnotateRangeErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
AnnotationServiceListAnnotationsError
AnnotationServiceListAnnotationsError =AnnotationServiceListAnnotationsErrors\keyof [AnnotationServiceListAnnotationsErrors]
AnnotationServiceListAnnotationsErrors
AnnotationServiceListAnnotationsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ArchiveAnnotationSchemaRequest
ArchiveAnnotationSchemaRequest = object
Properties
name?
The schema name to archive.optionalname?:string
version?
The specific version to archive. 0 (or omitted) means the latest live version.optionalversion?:string
ArchiveAnnotationSchemaResponse
ArchiveAnnotationSchemaResponse = object
Properties
schema?
The archived config version.optionalschema?:AnnotationSchema
CompleteRunRequest
CompleteRunRequest = object
Properties
id?
The run to complete.optionalid?:string
status?
The terminal status to record: succeeded, failed, or canceled.optionalstatus?:string
CompleteRunResponse
CompleteRunResponse = object
Properties
run?
The completed run, with its terminal status and end time stamped.optionalrun?:Run
CreateFeedbackRequest
CreateFeedbackRequest = object
Properties
actual?
What actually happened. Optional; at most 10,000 characters.optionalactual?:string
body?
Free-form feedback text. Optional; at most 10,000 characters.optionalbody?:string
evidence?
Correlation keys — run, event, or artifact ids — linking the report to recorded telemetry. Optional; at most 50 entries, each at most 256 characters.optionalevidence?:string[]
expected?
What was expected to happen. Optional; at most 10,000 characters.optionalexpected?:string
fingerprint?
A stable, content-derived deduplication key (for exampleoptionalfingerprint?:string
<surface>/<short-slug>). Enforced:
a submission whose fingerprint already exists returns the original report’s id instead of
storing (and surfacing) a duplicate, which makes retrying a lost response safe. When omitted,
the server derives one from the report’s content, so re-sending an identical report also
converges. Optional; at most 300 characters.
hiloop_version?
The hiloop client version that produced the report. Optional; at most 100 characters.optionalhiloop_version?:string
repro?
Steps to reproduce the problem. Optional; at most 10,000 characters.optionalrepro?:string
severity?
How severe the problem is. Optional; one ofoptionalseverity?:string
critical, high, medium, or low. Leave it
empty for general feedback that is not a bug.
surface?
The product surface the report is about. Required; one ofoptionalsurface?:string
cli, api, web, sandbox,
telemetry, annotations, docs, or other.
title?
A short summary of the report. Required; at most 300 characters.optionaltitle?:string
CreateFeedbackResponse
CreateFeedbackResponse = object
Properties
id?
The stored report’s id.optionalid?:string
relayed?
Whether the report was surfaced to the team’s review channel. The report is stored either way, so aoptionalrelayed?:boolean
false here never means the feedback was lost.
CreateProjectRequest
CreateProjectRequest = object
Properties
description?
An optional user-assigned free-text description (at most 4 KiB). Empty leaves the project undescribed.optionaldescription?:string
name?
The human-readable project name.optionalname?:string
slug?
The project slug — unique within the caller’s organization.optionalslug?:string
CreateProjectResponse
CreateProjectResponse = object
Properties
project?
The created project.optionalproject?:Project
CreateSandboxFromImageRequest
CreateSandboxFromImageRequest = object
Create a root sandbox from an OCI image; omitting image starts from the platform default image.
Properties
command?
Argv that replaces the image’s own entrypoint as the sandbox’s first process. Omit it to run the image’s ENTRYPOINT/CMD unchanged, which is what an image built to hold itself open wants. Supply it for an image whose entrypoint runs a task and exits, such as a base OS image or a build tool: a sandbox is something you attach to, and it lives only as long as its first process. The argv is executed directly rather than through a shell, so pipes and redirection belong inside a command you name explicitly. The executable must not be empty; at most 256 entries, each at most 4096 characters.optionalcommand?:string[]
idle_timeout_seconds?
Idle duration in seconds after which a running sandbox is stopped. Omit it to use the deployment default; when the deployment has no default, idle stopping is disabled. Values are from 60 through 86400.optionalidle_timeout_seconds?:number
image?
The unmodified OCI image reference to start from.optionalimage?:string
metadata?
Caller-owned metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalmetadata?:object
Index Signature
[key: string]: string
name?
Optional customer-supplied name, unique among the project’s sandboxes that have not finished deleting. It must be 1-63 characters: lowercase letters or digits, with interior hyphens allowed. Omit it to leave the sandbox unnamed; the server never generates a name. A duplicate returns 409 name_conflict; a terminated sandbox’s name is free to reuse, and its record keeps the name for history.optionalname?:string
network_access?
Outbound-network posture. Omit it to use public access.optionalnetwork_access?:"public"|"gateway_only"|"none"
placement_class?
Capacity posture for this sandbox. Omit it to use standard placement.optionalplacement_class?:"standard"|"non_preemptible"
ports?
Unique guest TCP ports in the range 1-65535. Returned endpoints are authenticated private session-plane connections, not public preview URLs.optionalports?:number[]
resources?
Requested compute resources. Omitted fields resolve to deployment defaults at admission, and the resolved shape is echoed on every Sandbox response. A GPU request is rejected with 422 unsupported_capability when the deployment cannot schedule accelerators.optionalresources?:ResourceSpec
secrets?
Pre-registered secrets to bind for proof-bound request-time delivery.optionalsecrets?:SandboxSecretBinding[]
shared_filesystems?
Deployment-registered shared filesystems to mount. Shared filesystems are external to this sandbox’s snapshots; durable storage is required for the sandbox’s private runtime state.optionalshared_filesystems?:SandboxSharedFilesystemMount[]
storage_class?
Storage behavior for the sandbox. Omit it to use durable storage when restoring a snapshot, or standard storage for an image/platform-default create.optionalstorage_class?:"standard"|"durable"
ttl_seconds?
Sandbox lifetime in seconds. Omit it to use the deployment default.optionalttl_seconds?:number
volumes?
Pre-registered volumes to mount, each pinned to its current version at admission.optionalvolumes?:SandboxVolumeMount[]
workspace_capacity_gib?
Durable workspace capacity in whole GiB. A root create may omit it to use the deployment default; a snapshot create inherits the snapshot-time value. A legacy snapshot whose capacity predates stamping requires an explicit value. This field is valid only with durable storage; standard storage has no persistent workspace claim.optionalworkspace_capacity_gib?:number
CreateSandboxFromSnapshotRequest
CreateSandboxFromSnapshotRequest = object
Create a child sandbox from an existing snapshot.
Properties
command?
Argv that replaces the image’s own entrypoint as the sandbox’s first process. Omit it to run the image’s ENTRYPOINT/CMD unchanged, which is what an image built to hold itself open wants. Supply it for an image whose entrypoint runs a task and exits, such as a base OS image or a build tool: a sandbox is something you attach to, and it lives only as long as its first process. The argv is executed directly rather than through a shell, so pipes and redirection belong inside a command you name explicitly. The executable must not be empty; at most 256 entries, each at most 4096 characters.optionalcommand?:string[]
idle_timeout_seconds?
Idle duration in seconds after which a running sandbox is stopped. Omit it to use the deployment default; when the deployment has no default, idle stopping is disabled. Values are from 60 through 86400.optionalidle_timeout_seconds?:number
image_override?
The image to run the restored workspace on, when it should not be the one the snapshot recorded. Only meaningful with snapshot_id: a snapshot carries workspace bytes, and this names the runtime they are materialized onto, which is how a sandbox takes a newer base image without losing what is in its workspace. Omit it to run the image the snapshot recorded.optionalimage_override?:string
metadata?
Caller-owned metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalmetadata?:object
Index Signature
[key: string]: string
name?
Optional customer-supplied name, unique among the project’s sandboxes that have not finished deleting. It must be 1-63 characters: lowercase letters or digits, with interior hyphens allowed. Omit it to leave the sandbox unnamed; the server never generates a name. A duplicate returns 409 name_conflict; a terminated sandbox’s name is free to reuse, and its record keeps the name for history.optionalname?:string
network_access?
Outbound-network posture. Omit it to use public access.optionalnetwork_access?:"public"|"gateway_only"|"none"
placement_class?
Capacity posture for this sandbox. Omit it to use standard placement.optionalplacement_class?:"standard"|"non_preemptible"
ports?
Unique guest TCP ports in the range 1-65535. Returned endpoints are authenticated private session-plane connections, not public preview URLs.optionalports?:number[]
resources?
Requested compute resources. Omitted fields resolve to deployment defaults at admission, and the resolved shape is echoed on every Sandbox response. A GPU request is rejected with 422 unsupported_capability when the deployment cannot schedule accelerators.optionalresources?:ResourceSpec
secrets?
Pre-registered secrets to bind for proof-bound request-time delivery.optionalsecrets?:SandboxSecretBinding[]
shared_filesystems?
Deployment-registered shared filesystems to mount. Shared filesystems are external to this sandbox’s snapshots; durable storage is required for the sandbox’s private runtime state.optionalshared_filesystems?:SandboxSharedFilesystemMount[]
snapshot_id
snapshot_id: string
The snapshot to restore as a new child sandbox.
storage_class?
Storage behavior for the sandbox. Omit it to use durable storage when restoring a snapshot, or standard storage for an image/platform-default create.optionalstorage_class?:"standard"|"durable"
ttl_seconds?
Sandbox lifetime in seconds. Omit it to use the deployment default.optionalttl_seconds?:number
volumes?
Pre-registered volumes to mount, each pinned to its current version at admission.optionalvolumes?:SandboxVolumeMount[]
workspace_capacity_gib?
Durable workspace capacity in whole GiB. A root create may omit it to use the deployment default; a snapshot create inherits the snapshot-time value. A legacy snapshot whose capacity predates stamping requires an explicit value. This field is valid only with durable storage; standard storage has no persistent workspace claim.optionalworkspace_capacity_gib?:number
CreateSandboxResponse
CreateSandboxResponse = object
Properties
id
id: string
The new sandbox id. Poll GetSandbox with this id for observed lifecycle state.
request_state
request_state: "requested"
The accepted mutation-request state, distinct from observed sandbox lifecycle state.
run_id
run_id: string
The ambient run that receives telemetry captured for this sandbox. An idempotent create retry
returns the same run id.
CreateSandboxSecretRequest
CreateSandboxSecretRequest = object
Properties
delivery?
The only trusted data plane allowed to release this secret. Defaults to generic secret egress.optionaldelivery?:"SANDBOX_SECRET_DELIVERY_UNSPECIFIED"|"SANDBOX_SECRET_DELIVERY_SECRET_EGRESS"|"SANDBOX_SECRET_DELIVERY_MODEL_GATEWAY"|"SANDBOX_SECRET_DELIVERY_SANDBOX_ENVIRONMENT"
dest_host?
The exact public HTTPS destination. Must be a bare DNS hostname such asoptionaldest_host?:string
api.openai.com,
not a URL or IP address; stored in canonical lowercase form. Must be empty for
sandbox-environment delivery.
name?
The secret name — unique within the caller’s organization.optionalname?:string
value?
The secret value. WRITE-ONLY: stored encrypted for proof-bound delivery and never returned by these management APIs.optionalvalue?:string
CreateSandboxSecretResponse
CreateSandboxSecretResponse = object
Properties
secret?
The created secret’s metadata. The value is NOT echoed back.optionalsecret?:SandboxSecret
CreateSandboxSnapshotBody
CreateSandboxSnapshotBody = object
Properties
name?
Optional human-readable snapshot name used by list filtering, from 1 through 128 characters.optionalname?:string
wait_remote?
When true, wait for confirmed remote replication before returning the receipt. When false, return after the local storage snapshot exists. The wait is bounded by wait_timeout_seconds.optionalwait_remote?:boolean
wait_timeout_seconds?
Remote-replication wait bound in seconds, from 1 through 25. At the deadline, return the same snapshot id with truthful local durability rather than holding the request longer.optionalwait_timeout_seconds?:number
CreateSandboxSnapshotResponse
CreateSandboxSnapshotResponse = object
Properties
durability
durability:Durability proven before this receipt was returned."local"|"replicated"
snapshot_id
snapshot_id: string
The new immutable snapshot id.
CreateVolumeRequest
CreateVolumeRequest = object
Properties
description?
An optional user-assigned free-text description (at most 4 KiB). Empty leaves the volume undescribed.optionaldescription?:string
name?
The volume name — unique within the project (letters, digits, dots, dashes, underscores; at most 100 characters).optionalname?:string
project_id?
The project the volume belongs to.optionalproject_id?:string
quota_bytes?
Storage quota in bytes (required). A quota, not an allocation; at most 2 TiB per volume.optionalquota_bytes?:string
CreateVolumeResponse
CreateVolumeResponse = object
Properties
volume?
The created volume.optionalvolume?:Volume
CreateWorkloadRequest
CreateWorkloadRequest = object
Properties
description?
A free-text description of what the workload is for. Optional.optionaldescription?:string
name?
The workload name to register — unique within the organization. Lowercase letters, digits,optionalname?:string
., _,
and -; must start and end with a letter or digit; at most 100 characters.
CreateWorkloadResponse
CreateWorkloadResponse = object
Properties
workload?
The registered workload, carrying the default launch ACL (any org member may launch).optionalworkload?:Workload
DataView
DataView = object
A structured data view: a named, versioned spec that compiles 1:1 to a safe query.
Properties
description?
A human description, surfaced in the console switcher.optionaldescription?:string
name?
The view name, unique within an organization among non-deleted views.optionalname?:string
spec?
The data-view spec as opaque JSON — the engine’s taggedoptionalspec?:object
DataViewSpec: a raw Sql SELECT,
plus opaque render config. Carried as a Struct so the spec schema lives
in ONE place (the engine’s serde types); the service never re-models it. Re-validated against the
current column allowlist on store and on every run, so a view referencing a dropped column fails
closed with INVALID_ARGUMENT rather than serving a stale result.
Index Signature
[key: string]: unknown
spec_version?
Monotonic per-edit version; the store bumps it on each upsert.optionalspec_version?:string
DeleteDataViewResponse
DeleteDataViewResponse = object
Index Signature
[key: string]: unknown
DeleteProjectResponse
DeleteProjectResponse = object
The delete’s effect report: how many of each dependent resource the call actually removed. All
counts are zero for a non-cascading delete (it only ever removes a project with no dependents).
Properties
api_keys_deleted?
The number of project-scoped API keys deleted (keys scoped to the whole organization are untouched).optionalapi_keys_deleted?:string
runs_deleted?
The number of runs deleted.optionalruns_deleted?:string
secrets_deleted?
The number of project-scoped secrets deleted.optionalsecrets_deleted?:string
volumes_deleted?
The number of volumes deleted.optionalvolumes_deleted?:string
DeleteSandboxResponse
DeleteSandboxResponse = object
Properties
id
id: string
The sandbox id whose deletion was accepted.
request_state
request_state: "requested"
The accepted mutation-request state, distinct from observed sandbox lifecycle state.
DeleteSandboxSnapshotResponse
DeleteSandboxSnapshotResponse = object
Index Signature
[key: string]: unknown
DeleteVolumeResponse
DeleteVolumeResponse = object
Index Signature
[key: string]: unknown
DeleteWorkloadResponse
DeleteWorkloadResponse = object
Index Signature
[key: string]: unknown
ErrorBody
ErrorBody = object
Properties
code
code: string
Stable machine-readable error code in snake_case.
details?
optionaldetails?:ErrorDetails
message
message: string
Human-readable description; clients must not parse it.
request_id?
Correlation id present on server faults.optionalrequest_id?:string
ErrorDetails
ErrorDetails = object
Properties
quota?
optionalquota?:QuotaDetails
ExecSandboxBody
ExecSandboxBody = object
Properties
cmd
cmd: string[]
Command and arguments. The first entry is a non-empty executable; at most 256 entries are
accepted and each entry is at most 4096 characters.
secret_environment?
Secret references released atomically into the child environment. No value crosses this public API. Omit for ordinary execution.optionalsecret_environment?:SandboxExecSecretEnvironment[]
timeout_seconds?
Execution timeout in whole seconds, from 1 through 3600. Omit it to use the server default; sub-second budgets are outside this version.optionaltimeout_seconds?:number
ExecSandboxCompletedResponse
ExecSandboxCompletedResponse = object
Buffered output and the real exit code from a completed command; truncated reports output loss independently.
Properties
exit
exit: number
The process exit code for a completed command, including zero.
stderr
stderr: string
Buffered standard error. It may contain partial output on a timeout or an indeterminate
outcome.
stdout
stdout: string
Buffered standard output. It may contain partial output on a timeout or an indeterminate
outcome.
truncated
truncated: boolean
Whether stdout or stderr was truncated at the server-configured combined output cap. The
default cap is no more than 1 MiB. Truncation does not replace the real process outcome.
ExecSandboxIndeterminateResponse
ExecSandboxIndeterminateResponse = object
The command was dispatched but its outcome could not be read, so no exit code is reported; any output collected first is still returned. It may have completed: do not re-run a command that is unsafe to repeat without checking, or send an Idempotency-Key so a retry replays instead of re-executing.
Properties
indeterminate
indeterminate: SandboxExecIndeterminate
Presence means the command was dispatched but its outcome could not be read. The command
may have completed; this is never a statement that it did not run.
stderr
stderr: string
Buffered standard error. It may contain partial output on a timeout or an indeterminate
outcome.
stdout
stdout: string
Buffered standard output. It may contain partial output on a timeout or an indeterminate
outcome.
truncated
truncated: boolean
Whether stdout or stderr was truncated at the server-configured combined output cap. The
default cap is no more than 1 MiB. Truncation does not replace the real process outcome.
ExecSandboxResponse
ExecSandboxResponse =ExecSandboxCompletedResponse|ExecSandboxTimedOutResponse|ExecSandboxIndeterminateResponse
ExecSandboxTimedOutResponse
ExecSandboxTimedOutResponse = object
Partial buffered output from a timed-out command, with no exit code; truncated reports output loss independently.
Properties
stderr
stderr: string
Buffered standard error. It may contain partial output on a timeout or an indeterminate
outcome.
stdout
stdout: string
Buffered standard output. It may contain partial output on a timeout or an indeterminate
outcome.
timeout
timeout: SandboxExecTimeout
Presence means the execution exceeded timeout_seconds before a process exit was observed.
truncated
truncated: boolean
Whether stdout or stderr was truncated at the server-configured combined output cap. The
default cap is no more than 1 MiB. Truncation does not replace the real process outcome.
FeedbackServiceCreateFeedbackError
FeedbackServiceCreateFeedbackError =FeedbackServiceCreateFeedbackErrors\keyof [FeedbackServiceCreateFeedbackErrors]
FeedbackServiceCreateFeedbackErrors
FeedbackServiceCreateFeedbackErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
GetAnnotationSchemaResponse
GetAnnotationSchemaResponse = object
Properties
schema?
The requested config version.optionalschema?:AnnotationSchema
GetProjectResponse
GetProjectResponse = object
Properties
project?
The requested project.optionalproject?:Project
GetRunResponse
GetRunResponse = object
Properties
run?
The requested run.optionalrun?:Run
GetSandboxResponse
GetSandboxResponse = object
Properties
sandbox
sandbox: Sandbox
The requested sandbox, read through to runtime authority when the product record is not yet visible.
GetUsageSnapshotResponse
GetUsageSnapshotResponse = object
Properties
snapshot?
optionalsnapshot?:UsageSnapshot
GetVolumeResponse
GetVolumeResponse = object
Properties
volume?
The requested volume.optionalvolume?:Volume
GetWorkloadResponse
GetWorkloadResponse = object
Properties
workload?
The registered workload.optionalworkload?:Workload
GrantSandboxSecretRequest
GrantSandboxSecretRequest = object
Properties
id?
The secret id to grant.optionalid?:string
subject_id?
The principal’s immutable id within subject_kind.optionalsubject_id?:string
subject_kind?
The principal kind.optionalsubject_kind?:"SANDBOX_SECRET_GRANT_SUBJECT_KIND_UNSPECIFIED"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_USER"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_SERVICE_ACCOUNT"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_WORKLOAD"
GrantSandboxSecretResponse
GrantSandboxSecretResponse = object
Properties
grant?
The exact idempotently-created grant. A secret accepts at most 200 exact grants, including the creator grant.optionalgrant?:SandboxSecretGrant
IdentityServiceWhoAmIError
IdentityServiceWhoAmIError =IdentityServiceWhoAmIErrors\keyof [IdentityServiceWhoAmIErrors]
IdentityServiceWhoAmIErrors
IdentityServiceWhoAmIErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ListAnnotationSchemasResponse
ListAnnotationSchemasResponse = object
Properties
schemas?
The configs in the caller’s organization. By default the latest live version per name; with include_archived, every version, newest first.optionalschemas?:AnnotationSchema[]
ListAnnotationsResponse
ListAnnotationsResponse = object
Properties
annotations?
One annotation per row, newest first. Each row carries the annotation’s identity and anchor (optionalannotations?:object[]
event_id, run_id — absent on project-scoped rows — project_id, lineage_path, the
schema name, ts_wall_ns, principal), its target (target_event_id, or the range bounds
range_start_ns/range_end_ns plus range_start_event_id/range_end_event_id when the range
was event-bounded), and the schema-validated payload as a raw JSON object string under
payload_json — the exact bytes that were annotated (the write-side payload_json), so
payload values of every JSON type, including 64-bit integers, read back unchanged. Row fields
are encoded canonically: snake_case keys, 64-bit integers as decimal strings, absent fields
omitted.
Index Signature
[key: string]: unknown
skipped?
Stored rows this listing could not decode (a legacy or corrupt storage shape), one entry per skipped row. The readable annotations above still serve in full; a listing that omits rows says so here rather than failing outright or dropping them silently. Empty on a healthy store.optionalskipped?:SkippedAnnotation[]
superseded_count?
How many stored versions the default latest-wins view hid because a newer write shares their supersession key. Zero when nothing was superseded, and always zero withoptionalsuperseded_count?:string
history (which
returns every version). A non-zero count means acked writes are stored but not shown here —
list with history to read them all.
ListDataViewsResponse
ListDataViewsResponse = object
Properties
views?
The organization’s structured data views.optionalviews?:DataView[]
ListProjectsResponse
ListProjectsResponse = object
Properties
next_page_token?
The token to pass as page_token to fetch the next page. Empty when there are no more results.optionalnext_page_token?:string
projects?
The projects on this page, newest first.optionalprojects?:Project[]
ListRunsResponse
ListRunsResponse = object
Properties
next_page_token?
The token to pass as page_token to fetch the next page. Empty when there are no more results.optionalnext_page_token?:string
runs?
The runs on this page, newest first.optionalruns?:Run[]
ListSandboxSecretGrantsResponse
ListSandboxSecretGrantsResponse = object
Properties
grants?
At most 200 exact grants, sorted by kind and immutable id.optionalgrants?:SandboxSecretGrant[]
ListSandboxSecretsResponse
ListSandboxSecretsResponse = object
Properties
next_page_token?
The token to pass as page_token to fetch the next page. Empty when there are no more results.optionalnext_page_token?:string
secrets?
The secrets on this page, newest first — metadata only, never the value.optionalsecrets?:SandboxSecret[]
ListSandboxSnapshotsResponse
ListSandboxSnapshotsResponse = object
Properties
next_page_token
next_page_token: string
Token for the next page. Empty means this is the final page.
snapshots
snapshots: SandboxSnapshot[]
The snapshots on this page, ordered by created_at descending then id descending, including
their parent lineage edges.
ListSandboxesResponse
ListSandboxesResponse = object
Properties
next_page_token
next_page_token: string
Token for the next page. Empty means this is the final page.
sandboxes
sandboxes: Sandbox[]
The sandboxes on this page, ordered by created_at descending then id descending.
ListVolumesResponse
ListVolumesResponse = object
Properties
next_page_token?
The token to pass as page_token to fetch the next page. Empty when there are no more results.optionalnext_page_token?:string
volumes?
The volumes on this page, newest first.optionalvolumes?:Volume[]
ListWorkloadFederationResponse
ListWorkloadFederationResponse = object
Properties
federation_configs?
The workload’s live registrations, in creation order.optionalfederation_configs?:WorkloadFederationConfig[]
ListWorkloadsResponse
ListWorkloadsResponse = object
Properties
workloads?
The organization’s registered workloads, by name.optionalworkloads?:Workload[]
MetaServiceGetServiceConfigError
MetaServiceGetServiceConfigError =MetaServiceGetServiceConfigErrors\keyof [MetaServiceGetServiceConfigErrors]
MetaServiceGetServiceConfigErrors
MetaServiceGetServiceConfigErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
MetadataReplacement
MetadataReplacement = object
A presence-bearing complete replacement for caller-owned metadata.
Properties
entries?
Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalentries?:object
Index Signature
[key: string]: string
OrgRef
OrgRef = object
The organization the caller acts in.
Properties
id?
The organization id.optionalid?:string
slug?
The organization slug.optionalslug?:string
Principal
Principal = object
The acting principal, as resolved from the caller’s credential by the API edge. The API trusts
the edge-resolved identity; it does not re-authenticate.
Properties
email?
The user’s primary email. Empty for a service-account or workload principal.optionalemail?:string
id?
The principal’s stable id: the user’s id for a user, the API key’s id for a service account or a workload.optionalid?:string
key_id?
The presented API key’s id. Empty for a browser-session login (no key is involved).optionalkey_id?:string
key_name?
The presented API key’s name — how this principal is displayed in listings and attribution. Empty for a browser-session login.optionalkey_name?:string
kind?
The kind of principal: “user” (a human identity), “service_account” (a machine credential not bound to a user), or “workload” (a credential bound to a registered workload identity).optionalkind?:string
workload_name?
The bound workload’s registered name — how a workload principal is displayed in listings and attribution. Empty unless the presented credential is bound to a registered workload.optionalworkload_name?:string
Project
Project = object
A project record (the subset the API returns).
Properties
created_at?
When the project was created (RFC 3339).optionalcreated_at?:string
created_by?
Stable id of the principal that created the project — the API key (or user) that performed the create, recorded server-side, never client-supplied. Resolve it to a display name via the principals listing. Empty for projects created before attribution was recorded.optionalcreated_by?:string
description?
User-assigned free-text description (at most 4 KiB). Empty when unset.optionaldescription?:string
id?
The project id.optionalid?:string
last_run_at?
When the most recent run in the project was created (RFC 3339), or empty when the project has no runs yet.optionallast_run_at?:string
name?
The human-readable project name.optionalname?:string
run_count?
The total number of runs in the project, computed server-side across all of the project’s runs (not just one page).optionalrun_count?:string
slug?
The project slug — unique within the org.optionalslug?:string
updated_at?
When the project was last updated (RFC 3339). Equal to created_at until the first update.optionalupdated_at?:string
version?
Optimistic-concurrency version, bumped on every update. Echo it back as theoptionalversion?:string
If-Match request header to make a later update conditional — if the project changed meanwhile the server rejects the update with error code precondition_failed instead of overwriting.
ProjectServiceCreateProjectError
ProjectServiceCreateProjectError =ProjectServiceCreateProjectErrors\keyof [ProjectServiceCreateProjectErrors]
ProjectServiceCreateProjectErrors
ProjectServiceCreateProjectErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ProjectServiceDeleteProjectError
ProjectServiceDeleteProjectError =ProjectServiceDeleteProjectErrors\keyof [ProjectServiceDeleteProjectErrors]
ProjectServiceDeleteProjectErrors
ProjectServiceDeleteProjectErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ProjectServiceGetProjectError
ProjectServiceGetProjectError =ProjectServiceGetProjectErrors\keyof [ProjectServiceGetProjectErrors]
ProjectServiceGetProjectErrors
ProjectServiceGetProjectErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ProjectServiceListProjectsError
ProjectServiceListProjectsError =ProjectServiceListProjectsErrors\keyof [ProjectServiceListProjectsErrors]
ProjectServiceListProjectsErrors
ProjectServiceListProjectsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
ProjectServiceUpdateProjectError
ProjectServiceUpdateProjectError =ProjectServiceUpdateProjectErrors\keyof [ProjectServiceUpdateProjectErrors]
ProjectServiceUpdateProjectErrors
ProjectServiceUpdateProjectErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
PromotedField
PromotedField = object
One org-declared field promoted from the annotation payload into a typed column for
filter/sort/join speed. Unpromoted fields stay queryable from the JSON payload. The set of
promoted fields is part of the immutable schema version, and slot bindings are stable across
versions: a field keeps its slot in every later version (its type is permanent), a newly
promoted field takes a never-used slot, and a slot is never re-bound to a different field,
so rows written under any version stay readable by field name.
Properties
bloom?
Request a point-lookup bloom filter for this field (str only; default false). Useful for a high-cardinality promoted id queried by exact match.optionalbloom?:boolean
field?
The payload field name to promote (e.g. “score”). Must be a field the schema’s payload carries.optionalfield?:string
identity?
Whether this field is part of the latest-wins supersession identity. The default supersession key is the annotated target plus the schema name; declaring identity fields refines it (e.g. mark an “annotator” field identity to keep the latest write per annotator). Identity fields must be promoted, since dedup partitions on the typed column.optionalidentity?:boolean
slot?
The server-assigned physical column the field binds to (read-only; ignored on a register request, populated on the stored/returned schema).optionalslot?:string
type?
The storage type to lift the field into.optionaltype?:"PROMOTED_TYPE_UNSPECIFIED"|"PROMOTED_TYPE_STR"|"PROMOTED_TYPE_F64"|"PROMOTED_TYPE_I64"|"PROMOTED_TYPE_BOOL"
PublishVolumeVersionRequest
PublishVolumeVersionRequest = object
Properties
push_id?
The push handle from StartVolumePush, naming the uploaded manifest.optionalpush_id?:string
volume_id?
The volume to publish the version on.optionalvolume_id?:string
PublishVolumeVersionResponse
PublishVolumeVersionResponse = object
Properties
version?
The published version, now the volume’s current version.optionalversion?:VolumeVersion
PutDataViewRequest
PutDataViewRequest = object
Create or replace a data view by name (upsert). The path {name} is authoritative; a name inside
the body is ignored.
Properties
description?
An optional human description.optionaldescription?:string
name?
The view name (unique within the organization); supplied by the path.optionalname?:string
spec?
The data-view spec (opaque JSON, the engine’s taggedoptionalspec?:object
DataViewSpec). Compile-validated before
store.
Index Signature
[key: string]: unknown
QueryResponse
QueryResponse = object
Properties
columns?
The result set’s declared column names, in projection order. Present even when a column is NULL in every row (per-row nulls are omitted), so a selected-but-empty column stays visible.optionalcolumns?:string[]
rows?
One flat JSON object per result row: column name -> bare scalar value, nulls omitted, 64-bit integers as decimal strings. For aggregate surfaces the columns are the grouping columns plus one per aggregate metric (e.g. “sum_input_tokens”). Reused by the view service.optionalrows?:object[]
Index Signature
[key: string]: unknown
QuotaDetails
QuotaDetails = object
Properties
current?
optionalcurrent?:number
limit
limit: number
metric
metric: string
reserved?
optionalreserved?:number
retry_after_seconds?
optionalretry_after_seconds?:number
QuotaLimit
QuotaLimit = object
One org quota limit and its current occupancy, when occupancy is meaningful.
Properties
current?
Current usage. Omitted for rate limits.optionalcurrent?:string
limit?
Configured cap for the caller’s organization.optionallimit?:string
metric?
Stable metric name used by quota errors and usage displays.optionalmetric?:string
RegisterAnnotationSchemaRequest
RegisterAnnotationSchemaRequest = object
Properties
description?
An optional human-readable description for this version.optionaldescription?:string
json_schema?
The JSON Schema document (draft 2020-12) as a JSON string. Must be a JSON object.optionaljson_schema?:string
name?
The schema name — unique per organization across versions. A new registration of an existing name creates the next version; an unseen name starts at version 1.optionalname?:string
promoted_fields?
The payload fields to promote into typed columns for this version. The caller sets field/type/identity/bloom; the server assigns each field’s slot, keeping a previously promoted field’s slot and type. Registration is rejected if a field re-declares a different type, or if the schema has bound more fields of a type, across all its versions, than the slot pool holds.optionalpromoted_fields?:PromotedField[]
RegisterAnnotationSchemaResponse
RegisterAnnotationSchemaResponse = object
Properties
schema?
The registered config version.optionalschema?:AnnotationSchema
RemoveWorkloadFederationResponse
RemoveWorkloadFederationResponse = object
Index Signature
[key: string]: unknown
RequestVolumeBlobUploadsRequest
RequestVolumeBlobUploadsRequest = object
Properties
blobs?
The blobs to upload, at most 512 per request. Repeat the call in batches for larger pushes; it is read-only on the volume itself, so batches may run concurrently.optionalblobs?:VolumeBlobRef[]
volume_id?
The volume the blobs are being pushed for.optionalvolume_id?:string
RequestVolumeBlobUploadsResponse
RequestVolumeBlobUploadsResponse = object
Properties
expires_in_seconds?
How long the returned upload URLs stay valid, in seconds.optionalexpires_in_seconds?:number
uploads?
One entry per distinct requested digest: either already present, or an upload URL.optionaluploads?:VolumeBlobUpload[]
ResourceSpec
ResourceSpec = object
Declarative compute resources for a sandbox. Requests are burstable: the sandbox is guaranteed
its requested shape and may use idle node capacity beyond it.
Properties
cpu_millis?
Requested CPU in milliCPU, from 50 through 128000. 1000 milliCPU is one vCPU. Omit it to use the deployment default.optionalcpu_millis?:number
gpus?
Requested accelerators. Omit it to request none.optionalgpus?:ResourceSpecGpus
memory_mb?
Requested memory in MB (mebibytes: 1024 MB = 1 GiB), from 1 through 1048576. Omit it to use the deployment default.optionalmemory_mb?:number
ResourceSpecGpus
ResourceSpecGpus = object
Requested accelerators.
Properties
count?
Integral accelerator count.optionalcount?:number
models?
Ordered fallback list of acceptable accelerator models. An empty list accepts any advertised model.optionalmodels?:string[]
RevokeSandboxSecretResponse
RevokeSandboxSecretResponse = object
Properties
secret?
The revoked secret’s metadata (with revoked_at set).optionalsecret?:SandboxSecret
RotateSandboxSecretRequest
RotateSandboxSecretRequest = object
Properties
id?
The secret id to rotate.optionalid?:string
value?
The new secret value. WRITE-ONLY: stored encrypted as a new version and never returned.optionalvalue?:string
RotateSandboxSecretResponse
RotateSandboxSecretResponse = object
Properties
secret?
The rotated secret’s metadata (with the new current_version and rotated_at set).optionalsecret?:SandboxSecret
Run
Run = object
A run record (the subset the API returns). Intentionally carries no cost or spend roll-up: the
product is generic and does not surface cost by default.
Properties
created_at?
When the run record was created (RFC 3339).optionalcreated_at?:string
created_by?
The stable id of the principal that created the run — the API key (or user) that performed the start, recorded server-side. Empty when unrecorded.optionalcreated_by?:string
ended_at?
When the run finished (RFC 3339), empty if it is still in flight.optionalended_at?:string
executing_kind?
The executing identity’s kind:optionalexecuting_kind?:string
user, service_account, or workload. Empty on runs that
predate executing-identity recording.
executing_principal?
The stable id of the identity this run executes AS: the registered workload’s id when the launch declared one, otherwise the launcher’s own principal id (matching created_by). Empty on runs that predate executing-identity recording.optionalexecuting_principal?:string
id?
The run id (a client-supplied ULID, shared with telemetry).optionalid?:string
label?
An optional human-readable label.optionallabel?:string
last_activity_at?
When the run last showed a liveness signal (RFC 3339): the time of its most recent telemetry event, or started_at for a run that has emitted no events yet. Derived at read time, and only for aoptionallast_activity_at?:string
running run. Empty for every other run, and empty when the signal is temporarily
unavailable.
lineage_path?
The materialized path of run ids from the root to this run, as a dotted label (e.g. “root_ulid.child_ulid”). Sorts in creation order and addresses the subtree by prefix.optionallineage_path?:string
parent_run_id?
The run this run continued from. Empty for a tree root.optionalparent_run_id?:string
project_id?
The project the run belongs to.optionalproject_id?:string
root_run_id?
The root of this run’s tree (equal to id for a root). Lets the whole tree resolve in one indexed lookup.optionalroot_run_id?:string
stale?
True when last_activity_at is older than the staleness window (15 minutes): the run still readsoptionalstale?:boolean
running — no terminal state is ever recorded on the creator’s behalf — but its creator
has gone quiet, so readers should render it as running (stale). Always false when
last_activity_at is empty.
started_at?
When the run started executing (RFC 3339), empty if it has not started.optionalstarted_at?:string
status?
The run lifecycle status: pending, running, succeeded, failed, or canceled.optionalstatus?:string
RunServiceCompleteRunError
RunServiceCompleteRunError =RunServiceCompleteRunErrors\keyof [RunServiceCompleteRunErrors]
RunServiceCompleteRunErrors
RunServiceCompleteRunErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
RunServiceGetRunError
RunServiceGetRunError =RunServiceGetRunErrors\keyof [RunServiceGetRunErrors]
RunServiceGetRunErrors
RunServiceGetRunErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
RunServiceListRunsError
RunServiceListRunsError =RunServiceListRunsErrors\keyof [RunServiceListRunsErrors]
RunServiceListRunsErrors
RunServiceListRunsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
RunServiceStartRunError
RunServiceStartRunError =RunServiceStartRunErrors\keyof [RunServiceStartRunErrors]
RunServiceStartRunErrors
RunServiceStartRunErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
Sandbox
Sandbox =One organization-scoped sandbox and its observed state.SandboxFromImage|SandboxFromSnapshot
SandboxActivity
SandboxActivity = object
The most recent activity observed against a sandbox. Activity is what the service saw: a command
submitted or still running, a session opened or still held, or a change to the sandbox itself.
Work happening inside the sandbox that the service cannot see does not count.
Properties
at?
When the activity was last observed, in RFC 3339 form. While a command is running or a session is held open, this advances periodically rather than only at the end.optionalat?:string
source?
What produced it.optionalsource?:"exec"|"session"|"update"
SandboxEndpoint
SandboxEndpoint = object
A port endpoint assigned to a sandbox.
Properties
port
port: number
The guest TCP port exposed by this endpoint.
url
url: string
The authenticated URL clients use to reach the port.
SandboxErrorBody
SandboxErrorBody = object
Properties
code
code: string
Stable machine-readable error code in snake_case.
message
message: string
Human-readable description; clients must not parse it.
request_id
request_id: string
Correlation id for support and diagnostics.
SandboxExecIndeterminate
SandboxExecIndeterminate = object
Presence marker returned when the command was dispatched but its execution channel was lost
before an outcome could be read, so the service cannot say what the command did.
This is not a failure to run. The command may have run to completion, and any output collected
before the channel was lost is still returned. Treat it as “unknown”, never as “did not run”:
re-issuing a command that is not safe to run twice requires an Idempotency-Key, which replays
the recorded outcome instead of executing again.
Index Signature
[key: string]: never
SandboxExecSecretEnvironment
SandboxExecSecretEnvironment = object
One write-only secret reference mapped to one environment variable for this execution. The
secret value is resolved by the server and never appears in this request.
Properties
secret_name?
Name of an active sandbox-environment secret in the caller’s organization, at most 128 bytes.optionalsecret_name?:string
variable_name?
POSIX environment variable name populated in the child process, at most 128 bytes.optionalvariable_name?:string
SandboxExecTimeout
SandboxExecTimeout = object
Presence marker returned when an execution exceeded its requested timeout.
Index Signature
[key: string]: never
SandboxFromImage
SandboxFromImage = object
A root sandbox created from an OCI image.
Properties
created_at
created_at: string
When the sandbox was accepted, in RFC 3339 form.
created_by?
Stable id of the principal that created the sandbox: the presented API key’s id, or the session user’s id. Empty when the creator was not recorded.optionalcreated_by?:string
endpoints
endpoints: SandboxEndpoint[]
Authenticated private session-plane port endpoints. Empty until an endpoint is available;
these are not public preview URLs.
expires_at?
The expiry time in RFC 3339 form. Omitted when the sandbox has no expiry.optionalexpires_at?:string
id
id: string
The stable sandbox id.
idle_deadline?
The next idle-stop deadline in RFC 3339 form. Omitted while the sandbox is not running or the controller has not reported its activity clock yet.optionalidle_deadline?:string
idle_timeout_seconds?
The resolved idle-stop duration in seconds. Omitted when idle stopping is disabled.optionalidle_timeout_seconds?:number
image
image: string
The OCI image reference used by a root sandbox.
last_activity?
The most recent activity the service observed against this sandbox. Omitted when none has been observed since the sandbox was created.optionallast_activity?:SandboxActivity
lineage_path
lineage_path: string
The immutable dotted lineage from the root sandbox to this sandbox. An image-created root uses
its own id. A snapshot-created child appends its id to the parent snapshot’s lineage_path.
metadata
metadata: object
Caller-owned metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.
Index Signature
[key: string]: string
name?
Customer-supplied name, unique among the project’s sandboxes that have not finished deleting. Omitted when no name was supplied at creation.optionalname?:string
placement_class
placement_class:The immutable capacity posture selected at creation."standard"|"non_preemptible"
resources?
The compute shape resolved at admission, deployment defaults included. gpus is present only when the sandbox has accelerators. Omitted only on records that predate resource stamping.optionalresources?:ResourceSpec
shared_filesystems?
Shared filesystem selections admitted for this sandbox. These echo only the logical id, subdirectory, and guest path; deployment claim names and backend coordinates stay private.optionalshared_filesystems?:SandboxSharedFilesystemMount[]
ssh?
SSH connection information. Omitted until the sandbox can accept a session.optionalssh?:SandboxSshConnection
state
state:The current observed lifecycle state."requested"|"reserved"|"materializing"|"ready"|"running"|"stopped"|"terminating"|"failed"|"terminated"|"quarantined"|"attention"
state_reason?
Failure or quarantine reason. Omitted for lifecycle states that need no explanation.optionalstate_reason?:SandboxStateReason
storage_class
storage_class:The backing storage behavior selected at creation."standard"|"durable"
updated_at
updated_at: string
When the sandbox record last changed, in RFC 3339 form.
volumes
volumes: SandboxPinnedVolume[]
Admitted volumes with the immutable version pinned for this sandbox.
workload_image
workload_image: string
The OCI image the workload is actually running. For a root sandbox this repeats the source
above; for one restored from a snapshot it is the resolved image, which is the snapshot’s own
unless the create named a different one. Read this rather than inferring an image from
lineage — a restored sandbox does not necessarily run what its parent ran.
workspace_capacity_gib?
Durable workspace capacity in whole GiB. Omitted for standard storage and records that predate capacity stamping.optionalworkspace_capacity_gib?:number
SandboxFromSnapshot
SandboxFromSnapshot = object
A child sandbox created from a snapshot.
Properties
created_at
created_at: string
When the sandbox was accepted, in RFC 3339 form.
created_by?
Stable id of the principal that created the sandbox: the presented API key’s id, or the session user’s id. Empty when the creator was not recorded.optionalcreated_by?:string
endpoints
endpoints: SandboxEndpoint[]
Authenticated private session-plane port endpoints. Empty until an endpoint is available;
these are not public preview URLs.
expires_at?
The expiry time in RFC 3339 form. Omitted when the sandbox has no expiry.optionalexpires_at?:string
id
id: string
The stable sandbox id.
idle_deadline?
The next idle-stop deadline in RFC 3339 form. Omitted while the sandbox is not running or the controller has not reported its activity clock yet.optionalidle_deadline?:string
idle_timeout_seconds?
The resolved idle-stop duration in seconds. Omitted when idle stopping is disabled.optionalidle_timeout_seconds?:number
last_activity?
The most recent activity the service observed against this sandbox. Omitted when none has been observed since the sandbox was created.optionallast_activity?:SandboxActivity
lineage_path
lineage_path: string
The immutable dotted lineage from the root sandbox to this sandbox. An image-created root uses
its own id. A snapshot-created child appends its id to the parent snapshot’s lineage_path.
metadata
metadata: object
Caller-owned metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.
Index Signature
[key: string]: string
name?
Customer-supplied name, unique among the project’s sandboxes that have not finished deleting. Omitted when no name was supplied at creation.optionalname?:string
placement_class
placement_class:The immutable capacity posture selected at creation."standard"|"non_preemptible"
resources?
The compute shape resolved at admission, deployment defaults included. gpus is present only when the sandbox has accelerators. Omitted only on records that predate resource stamping.optionalresources?:ResourceSpec
shared_filesystems?
Shared filesystem selections admitted for this sandbox. These echo only the logical id, subdirectory, and guest path; deployment claim names and backend coordinates stay private.optionalshared_filesystems?:SandboxSharedFilesystemMount[]
snapshot_id
snapshot_id: string
The parent snapshot restored by a child sandbox.
ssh?
SSH connection information. Omitted until the sandbox can accept a session.optionalssh?:SandboxSshConnection
state
state:The current observed lifecycle state."requested"|"reserved"|"materializing"|"ready"|"running"|"stopped"|"terminating"|"failed"|"terminated"|"quarantined"|"attention"
state_reason?
Failure or quarantine reason. Omitted for lifecycle states that need no explanation.optionalstate_reason?:SandboxStateReason
storage_class
storage_class:The backing storage behavior selected at creation."standard"|"durable"
updated_at
updated_at: string
When the sandbox record last changed, in RFC 3339 form.
volumes
volumes: SandboxPinnedVolume[]
Admitted volumes with the immutable version pinned for this sandbox.
workload_image
workload_image: string
The OCI image the workload is actually running. For a root sandbox this repeats the source
above; for one restored from a snapshot it is the resolved image, which is the snapshot’s own
unless the create named a different one. Read this rather than inferring an image from
lineage — a restored sandbox does not necessarily run what its parent ran.
workspace_capacity_gib?
Durable workspace capacity in whole GiB. Omitted for standard storage and records that predate capacity stamping.optionalworkspace_capacity_gib?:number
SandboxNetworkAccessReceipt
SandboxNetworkAccessReceipt = object
Synchronous observation that policy objects select the exact live pod incarnation.
This is not dataplane enforcement proof; phase-sensitive clients probe the network after it.
Properties
network_access?
optionalnetwork_access?:"public"|"gateway_only"|"none"
pod_resource_version?
optionalpod_resource_version?:string
pod_uid?
optionalpod_uid?:string
policies?
optionalpolicies?:SandboxNetworkPolicyObservation[]
SandboxNetworkPolicyObservation
SandboxNetworkPolicyObservation = object
One policy-controller observation that the exact live pod is selected by an egress policy.
Properties
policy_endpoint_name?
optionalpolicy_endpoint_name?:string
policy_endpoint_resource_version?
optionalpolicy_endpoint_resource_version?:string
policy_endpoint_uid?
optionalpolicy_endpoint_uid?:string
policy_name?
optionalpolicy_name?:string
SandboxPinnedVolume
SandboxPinnedVolume = object
A mounted volume as admitted on a sandbox, including the immutable pinned version.
Properties
name?
The mounted volume’s name as resolved at admission. Empty when the volume had no name.optionalname?:string
target_path
target_path: string
The absolute mount path inside the sandbox.
version
version: string
The immutable volume version pinned at admission.
volume_id
volume_id: string
The mounted volume id.
SandboxQuotaErrorBody
SandboxQuotaErrorBody = object
Properties
code
code: string
Stable machine-readable error code in snake_case.
limit
limit: number
Configured limit for the caller’s organization.
message
message: string
Human-readable description; clients must not parse it.
metric
metric: string
Stable name of the exhausted quota metric.
request_id
request_id: string
Correlation id for support and diagnostics.
retry_after_seconds
retry_after_seconds: number
Seconds to wait before retrying.
SandboxSecret
SandboxSecret = object
A sandbox-secret record — metadata only, never the value.
Properties
created_at?
When the secret was created (RFC 3339).optionalcreated_at?:string
current_version?
The current version number. Starts at 1 and increments on each rotation.optionalcurrent_version?:string
delivery?
The only trusted data plane allowed to release this secret.optionaldelivery?:"SANDBOX_SECRET_DELIVERY_UNSPECIFIED"|"SANDBOX_SECRET_DELIVERY_SECRET_EGRESS"|"SANDBOX_SECRET_DELIVERY_MODEL_GATEWAY"|"SANDBOX_SECRET_DELIVERY_SANDBOX_ENVIRONMENT"
dest_host?
Exact public HTTPS host to which proof-bound delivery is bound. Empty for sandbox-environment delivery, which is bound to an authorized sandbox execution instead of a network destination.optionaldest_host?:string
expires_at?
When the secret expires, if an expiry is set (RFC 3339).optionalexpires_at?:string
id?
The secret id.optionalid?:string
name?
The human-readable secret name — unique within the organization. The sandbox spec references it by name.optionalname?:string
revoked_at?
When the secret was revoked, if it has been (RFC 3339). A revoked secret cannot be delivered.optionalrevoked_at?:string
rotated_at?
When the secret was last rotated, if ever (RFC 3339).optionalrotated_at?:string
SandboxSecretBinding
SandboxSecretBinding = object
A pre-registered secret bound when the sandbox is created.
Properties
name
name: string
The registered secret name. Admission binds its exact proof-bound destination and use grant.
SandboxSecretGrant
SandboxSecretGrant = object
One exact principal allowed to use one secret. Secret metadata visibility does not imply this
authority.
Properties
secret_id?
The granted secret id.optionalsecret_id?:string
subject_id?
The principal’s immutable id within subject_kind.optionalsubject_id?:string
subject_kind?
The principal kind.optionalsubject_kind?:"SANDBOX_SECRET_GRANT_SUBJECT_KIND_UNSPECIFIED"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_USER"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_SERVICE_ACCOUNT"|"SANDBOX_SECRET_GRANT_SUBJECT_KIND_WORKLOAD"
SandboxServiceCreateSandboxError
SandboxServiceCreateSandboxError =SandboxServiceCreateSandboxErrors\keyof [SandboxServiceCreateSandboxErrors]
SandboxServiceCreateSandboxErrors
SandboxServiceCreateSandboxErrors = object
Properties
429
429: SandboxQuotaErrorBody
Sandbox admission rejected by a quota limit.
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceCreateSandboxSnapshotError
SandboxServiceCreateSandboxSnapshotError =SandboxServiceCreateSandboxSnapshotErrors\keyof [SandboxServiceCreateSandboxSnapshotErrors]
SandboxServiceCreateSandboxSnapshotErrors
SandboxServiceCreateSandboxSnapshotErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceDeleteSandboxError
SandboxServiceDeleteSandboxError =SandboxServiceDeleteSandboxErrors\keyof [SandboxServiceDeleteSandboxErrors]
SandboxServiceDeleteSandboxErrors
SandboxServiceDeleteSandboxErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceDeleteSandboxSnapshotError
SandboxServiceDeleteSandboxSnapshotError =SandboxServiceDeleteSandboxSnapshotErrors\keyof [SandboxServiceDeleteSandboxSnapshotErrors]
SandboxServiceDeleteSandboxSnapshotErrors
SandboxServiceDeleteSandboxSnapshotErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceExecSandboxError
SandboxServiceExecSandboxError =SandboxServiceExecSandboxErrors\keyof [SandboxServiceExecSandboxErrors]
SandboxServiceExecSandboxErrors
SandboxServiceExecSandboxErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceGetSandboxError
SandboxServiceGetSandboxError =SandboxServiceGetSandboxErrors\keyof [SandboxServiceGetSandboxErrors]
SandboxServiceGetSandboxErrors
SandboxServiceGetSandboxErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceListSandboxSnapshotsError
SandboxServiceListSandboxSnapshotsError =SandboxServiceListSandboxSnapshotsErrors\keyof [SandboxServiceListSandboxSnapshotsErrors]
SandboxServiceListSandboxSnapshotsErrors
SandboxServiceListSandboxSnapshotsErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceListSandboxesError
SandboxServiceListSandboxesError =SandboxServiceListSandboxesErrors\keyof [SandboxServiceListSandboxesErrors]
SandboxServiceListSandboxesErrors
SandboxServiceListSandboxesErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxServiceUpdateSandboxError
SandboxServiceUpdateSandboxError =SandboxServiceUpdateSandboxErrors\keyof [SandboxServiceUpdateSandboxErrors]
SandboxServiceUpdateSandboxErrors
SandboxServiceUpdateSandboxErrors = object
Properties
default
default: SandboxErrorBody
An error using the successor flat API error envelope.
SandboxSharedFilesystemMount
SandboxSharedFilesystemMount = object
A deployment-registered shared filesystem mounted when the sandbox is created.
The deployment resolves filesystem_id to its storage backend. Credentials and backend
coordinates are never accepted from the sandbox caller or exposed inside the sandbox.
Properties
filesystem_id?
Deployment-registered filesystem id.optionalfilesystem_id?:string
subdirectory?
Existing relative directory within the filesystem to mount. The directory must already exist when the sandbox pod starts.optionalsubdirectory?:string
target_path?
Guest path at which the selected directory is mounted. It is either /workspace, which moves the sandbox’s private durable workspace to /private, or a normalized path below /mnt, which leaves the private workspace at /workspace. Other paths are refused so shared storage cannot replace image executables, configuration, or platform-owned mounts.optionaltarget_path?:string
SandboxSnapshot
SandboxSnapshot = object
One immutable sandbox snapshot and its lineage edge.
Properties
created_at
created_at: string
When the snapshot was created, in RFC 3339 form.
durability
durability:The strongest durability currently confirmed for this snapshot."local"|"replicated"
id
id: string
The stable snapshot id.
image
image: string
The workload image behind this snapshot’s lineage: the root sandbox’s OCI image reference,
inherited by every child sandbox created from this snapshot.
lineage_path
lineage_path: string
The source sandbox’s immutable lineage_path. A child created from this snapshot appends its id
to this value, making snapshot parentage the derivation source for sandbox lineage.
name?
Optional human-readable name supplied when the snapshot was created.optionalname?:string
parent_snapshot_id?
The snapshot from which the source sandbox was created. Omitted for an image-created root.optionalparent_snapshot_id?:string
source_sandbox_id
source_sandbox_id: string
The sandbox whose state this snapshot records.
SandboxSshConnection
SandboxSshConnection = object
SSH connection information for a ready or running sandbox.
Properties
host
host: string
The session-plane hostname.
port
port: number
The session-plane TCP port.
user
user: string
The SSH username assigned to the sandbox session.
SandboxStateReason
SandboxStateReason = object
A stable reason attached to a failed or quarantined lifecycle state.
Properties
code
code: string
Stable machine-readable reason code in snake_case.
message
message: string
Human-readable detail; clients must not parse it.
SandboxVolumeMount
SandboxVolumeMount = object
A pre-registered volume mounted when the sandbox is created.
Properties
target_path
target_path: string
The absolute path at which the volume is mounted inside the sandbox.
volume_id
volume_id: string
The volume id to mount. Its current immutable version is pinned at admission.
SecretServiceCreateSandboxSecretError
SecretServiceCreateSandboxSecretError =SecretServiceCreateSandboxSecretErrors\keyof [SecretServiceCreateSandboxSecretErrors]
SecretServiceCreateSandboxSecretErrors
SecretServiceCreateSandboxSecretErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceGrantSandboxSecretError
SecretServiceGrantSandboxSecretError =SecretServiceGrantSandboxSecretErrors\keyof [SecretServiceGrantSandboxSecretErrors]
SecretServiceGrantSandboxSecretErrors
SecretServiceGrantSandboxSecretErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceListSandboxSecretGrantsError
SecretServiceListSandboxSecretGrantsError =SecretServiceListSandboxSecretGrantsErrors\keyof [SecretServiceListSandboxSecretGrantsErrors]
SecretServiceListSandboxSecretGrantsErrors
SecretServiceListSandboxSecretGrantsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceListSandboxSecretsError
SecretServiceListSandboxSecretsError =SecretServiceListSandboxSecretsErrors\keyof [SecretServiceListSandboxSecretsErrors]
SecretServiceListSandboxSecretsErrors
SecretServiceListSandboxSecretsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceRevokeSandboxSecretError
SecretServiceRevokeSandboxSecretError =SecretServiceRevokeSandboxSecretErrors\keyof [SecretServiceRevokeSandboxSecretErrors]
SecretServiceRevokeSandboxSecretErrors
SecretServiceRevokeSandboxSecretErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceRotateSandboxSecretError
SecretServiceRotateSandboxSecretError =SecretServiceRotateSandboxSecretErrors\keyof [SecretServiceRotateSandboxSecretErrors]
SecretServiceRotateSandboxSecretErrors
SecretServiceRotateSandboxSecretErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SecretServiceUngrantSandboxSecretError
SecretServiceUngrantSandboxSecretError =SecretServiceUngrantSandboxSecretErrors\keyof [SecretServiceUngrantSandboxSecretErrors]
SecretServiceUngrantSandboxSecretErrors
SecretServiceUngrantSandboxSecretErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
SetWorkloadLaunchAclRequest
SetWorkloadLaunchAclRequest = object
Properties
acl?
The launch ACL to set, replacing the workload’s current one. A RESTRICTED policy must list at least one launcher; a MEMBERS policy must not list any.optionalacl?:WorkloadLaunchAcl
name?
The registered workload name.optionalname?:string
SetWorkloadLaunchAclResponse
SetWorkloadLaunchAclResponse = object
Properties
workload?
The workload with its updated launch ACL.optionalworkload?:Workload
SkippedAnnotation
SkippedAnnotation = object
A stored annotation row a listing skipped because it could not be decoded, with the row’s stored
event id and the decode failure. Skipped rows are surfaced, never silently dropped: the listing
stays available while naming exactly what it could not serve.
Properties
event_id?
The storedoptionalevent_id?:string
event_id of the row that failed to decode.
reason?
Why the row could not be decoded.optionalreason?:string
StartRunRequest
StartRunRequest = object
Properties
execute_as_workload?
Optional registered workload name to run as. When set, the run is attributed to that workload (the caller must hold launch rights on it and the name must be registered); when empty, the run executes as the caller’s own identity. The executing identity is always declared here, never inferred from the command.optionalexecute_as_workload?:string
label?
An optional human-readable label.optionallabel?:string
parent_run_id?
Optional parent run to continue the tree from. Empty starts a new tree root.optionalparent_run_id?:string
project_id?
The project the new run belongs to.optionalproject_id?:string
StartRunResponse
StartRunResponse = object
Properties
run?
The newly started run, with its lineage fields resolved.optionalrun?:Run
StartVolumePushRequest
StartVolumePushRequest = object
Properties
volume_id?
The volume to push a new version to.optionalvolume_id?:string
StartVolumePushResponse
StartVolumePushResponse = object
Properties
expires_in_seconds?
How long the upload URL stays valid, in seconds.optionalexpires_in_seconds?:number
manifest_upload_url?
Short-lived pre-authorized URL to PUT the manifest (the JSON file listing: per file its path, mode, size, content digest, and chunk list) to. The URL is bound to this push’s staging location; the request needs no additional credentials.optionalmanifest_upload_url?:string
max_manifest_bytes?
The largest manifest the server accepts for this push, in bytes.optionalmax_manifest_bytes?:string
push_id?
The push handle. Pass it to PublishVolumeVersion once the manifest and all content blobs are uploaded.optionalpush_id?:string
TelemetryViewServiceDeleteDataViewError
TelemetryViewServiceDeleteDataViewError =TelemetryViewServiceDeleteDataViewErrors\keyof [TelemetryViewServiceDeleteDataViewErrors]
TelemetryViewServiceDeleteDataViewErrors
TelemetryViewServiceDeleteDataViewErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
TelemetryViewServiceListDataViewsError
TelemetryViewServiceListDataViewsError =TelemetryViewServiceListDataViewsErrors\keyof [TelemetryViewServiceListDataViewsErrors]
TelemetryViewServiceListDataViewsErrors
TelemetryViewServiceListDataViewsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
TelemetryViewServicePutDataViewError
TelemetryViewServicePutDataViewError =TelemetryViewServicePutDataViewErrors\keyof [TelemetryViewServicePutDataViewErrors]
TelemetryViewServicePutDataViewErrors
TelemetryViewServicePutDataViewErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
TelemetryViewServiceRunDataViewError
TelemetryViewServiceRunDataViewError =TelemetryViewServiceRunDataViewErrors\keyof [TelemetryViewServiceRunDataViewErrors]
TelemetryViewServiceRunDataViewErrors
TelemetryViewServiceRunDataViewErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
UngrantSandboxSecretResponse
UngrantSandboxSecretResponse = object
Index Signature
[key: string]: unknown
UpdateProjectRequest
UpdateProjectRequest = object
Properties
description?
The new free-text description (at most 4 KiB). An empty value clears it; omitted leaves it unchanged.optionaldescription?:string
id?
The project id to update.optionalid?:string
name?
The new human-readable name (the slug is immutable). Omitted leaves the name unchanged.optionalname?:string
UpdateProjectResponse
UpdateProjectResponse = object
Properties
project?
The updated project.optionalproject?:Project
UpdateSandboxIdleTimeoutRequest
UpdateSandboxIdleTimeoutRequest = object
A sandbox update that includes a new idle-stop duration.
Properties
idle_timeout_seconds
idle_timeout_seconds: number
New idle-stop duration in seconds, from 60 through 86400. Omit it to leave the current value
unchanged.
metadata?
Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalmetadata?:object
Index Signature
[key: string]: string
state?
New desired lifecycle state. Omit it to leave lifecycle state unchanged.optionalstate?:"running"|"stopped"
ttl_seconds?
New positive lifetime in seconds from the time of this update. Omit it to leave expiry unchanged; zero is invalid.optionalttl_seconds?:number
UpdateSandboxMetadataRequest
UpdateSandboxMetadataRequest = object
A sandbox update that includes a metadata replacement.
Properties
idle_timeout_seconds?
New idle-stop duration in seconds, from 60 through 86400. Omit it to leave the current value unchanged.optionalidle_timeout_seconds?:number
metadata
metadata: object
Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.
Index Signature
[key: string]: string
state?
New desired lifecycle state. Omit it to leave lifecycle state unchanged.optionalstate?:"running"|"stopped"
ttl_seconds?
New positive lifetime in seconds from the time of this update. Omit it to leave expiry unchanged; zero is invalid.optionalttl_seconds?:number
UpdateSandboxNetworkAccessRequest
UpdateSandboxNetworkAccessRequest = object
A retryable sandbox update that selects one closed outbound-network profile.
Properties
network_access
network_access:Replacement outbound-network posture. It must be the only update field and returns only after the deployment’s policy controller selects the exact live pod incarnation."public"|"gateway_only"|"none"
UpdateSandboxResponse
UpdateSandboxResponse = object
Properties
id
id: string
The sandbox id whose update was accepted.
network_access_receipt?
Present after policy objects select the exact live pod incarnation.optionalnetwork_access_receipt?:SandboxNetworkAccessReceipt
request_state
request_state: "requested"
The accepted mutation-request state, distinct from observed sandbox lifecycle state.
UpdateSandboxStateRequest
UpdateSandboxStateRequest = object
A sandbox update that includes a lifecycle transition.
Properties
idle_timeout_seconds?
New idle-stop duration in seconds, from 60 through 86400. Omit it to leave the current value unchanged.optionalidle_timeout_seconds?:number
metadata?
Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalmetadata?:object
Index Signature
[key: string]: string
state
state:New desired lifecycle state. Omit it to leave lifecycle state unchanged."running"|"stopped"
ttl_seconds?
New positive lifetime in seconds from the time of this update. Omit it to leave expiry unchanged; zero is invalid.optionalttl_seconds?:number
UpdateSandboxTtlRequest
UpdateSandboxTtlRequest = object
A sandbox update that includes a new lifetime.
Properties
idle_timeout_seconds?
New idle-stop duration in seconds, from 60 through 86400. Omit it to leave the current value unchanged.optionalidle_timeout_seconds?:number
metadata?
Replacement metadata: at most 50 entries, keys at most 128 characters, and at most 4096 bytes of total value content.optionalmetadata?:object
Index Signature
[key: string]: string
state?
New desired lifecycle state. Omit it to leave lifecycle state unchanged.optionalstate?:"running"|"stopped"
ttl_seconds
ttl_seconds: number
New positive lifetime in seconds from the time of this update. Omit it to leave expiry unchanged;
zero is invalid.
UpdateSandboxWorkspaceRequest
UpdateSandboxWorkspaceRequest = object
A grow-only durable workspace capacity update.
Properties
workspace_capacity_gib
workspace_capacity_gib: number
New durable workspace capacity in whole GiB. It must be at least the current capacity;
shrinking a workspace is unsupported.
UsageServiceGetUsageSnapshotError
UsageServiceGetUsageSnapshotError =UsageServiceGetUsageSnapshotErrors\keyof [UsageServiceGetUsageSnapshotErrors]
UsageServiceGetUsageSnapshotErrors
UsageServiceGetUsageSnapshotErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
UsageSnapshot
UsageSnapshot = object
Point-in-time quota usage for the caller’s org.
Properties
limits?
Every configured product quota.optionallimits?:QuotaLimit[]
Volume
Volume = object
A volume record (the subset the API returns).
Properties
created_at?
When the volume was created (RFC 3339).optionalcreated_at?:string
created_by?
Stable id of the principal that created the volume — the API key (or user) that performed the create, recorded server-side. Resolve it to a display name via the principals listing.optionalcreated_by?:string
current_version_digest?
Digest of the volume’s current (latest committed) version. Empty until the first push publishes a version.optionalcurrent_version_digest?:string
description?
User-assigned free-text description (at most 4 KiB). Empty when unset.optionaldescription?:string
id?
The volume id.optionalid?:string
name?
The volume name — unique within its project. Limited to letters, digits, dots, dashes, and underscores (at most 100 characters).optionalname?:string
project_id?
The project the volume belongs to.optionalproject_id?:string
quota_bytes?
Storage quota in bytes: the cap on the volume’s total committed size. A quota, not an allocation — an empty volume consumes no storage.optionalquota_bytes?:string
updated_at?
When the volume record was last updated (RFC 3339). Equal to created_at until the first update.optionalupdated_at?:string
used_bytes?
Committed storage in bytes: the total size of the distinct content blobs referenced by the volume’s versions. Content is stored deduplicated, so a blob shared by several versions counts once — this is what the volume’s committed content occupies, not the sum of its versions’ sizes. Zero for a volume with no committed versions.optionalused_bytes?:string
VolumeBlobRef
VolumeBlobRef = object
One content blob (a whole small file, or one chunk of a larger file) the client intends to
upload, identified by its digest.
Properties
digest?
The blob’s content digest (optionaldigest?:string
blake3:<hex>).
size_bytes?
The blob’s exact size in bytes. Verified against the stored object before a version referencing the blob can be published.optionalsize_bytes?:string
VolumeBlobUpload
VolumeBlobUpload = object
The upload decision for one requested blob.
Properties
digest?
The blob’s content digest, echoed from the request.optionaldigest?:string
present?
True when the blob already exists in the volume store — skip the upload; content is deduplicated by digest.optionalpresent?:boolean
upload_url?
Short-lived pre-authorized URL to PUT the blob’s bytes to. Empty whenoptionalupload_url?:string
present is true. The
URL is bound to the blob’s content-addressed location; the request needs no additional
credentials.
VolumeServiceCreateVolumeError
VolumeServiceCreateVolumeError =VolumeServiceCreateVolumeErrors\keyof [VolumeServiceCreateVolumeErrors]
VolumeServiceCreateVolumeErrors
VolumeServiceCreateVolumeErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServiceDeleteVolumeError
VolumeServiceDeleteVolumeError =VolumeServiceDeleteVolumeErrors\keyof [VolumeServiceDeleteVolumeErrors]
VolumeServiceDeleteVolumeErrors
VolumeServiceDeleteVolumeErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServiceGetVolumeError
VolumeServiceGetVolumeError =VolumeServiceGetVolumeErrors\keyof [VolumeServiceGetVolumeErrors]
VolumeServiceGetVolumeErrors
VolumeServiceGetVolumeErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServiceListVolumesError
VolumeServiceListVolumesError =VolumeServiceListVolumesErrors\keyof [VolumeServiceListVolumesErrors]
VolumeServiceListVolumesErrors
VolumeServiceListVolumesErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServicePublishVolumeVersionError
VolumeServicePublishVolumeVersionError =VolumeServicePublishVolumeVersionErrors\keyof [VolumeServicePublishVolumeVersionErrors]
VolumeServicePublishVolumeVersionErrors
VolumeServicePublishVolumeVersionErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServiceRequestVolumeBlobUploadsError
VolumeServiceRequestVolumeBlobUploadsError =VolumeServiceRequestVolumeBlobUploadsErrors\keyof [VolumeServiceRequestVolumeBlobUploadsErrors]
VolumeServiceRequestVolumeBlobUploadsErrors
VolumeServiceRequestVolumeBlobUploadsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeServiceStartVolumePushError
VolumeServiceStartVolumePushError =VolumeServiceStartVolumePushErrors\keyof [VolumeServiceStartVolumePushErrors]
VolumeServiceStartVolumePushErrors
VolumeServiceStartVolumePushErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
VolumeVersion
VolumeVersion = object
One immutable, committed volume version. The digest of the version’s manifest (the canonical
file listing) is the version’s identity: identical content under the same parent always yields
the same digest, and a version can never change after it is published.
Properties
created_at?
When the version was published (RFC 3339).optionalcreated_at?:string
created_by?
Stable id of the principal that published the version, recorded server-side.optionalcreated_by?:string
file_count?
Number of files in the version.optionalfile_count?:string
parent_version_digest?
The digest of the version this one was published on top of. Empty for a volume’s first version.optionalparent_version_digest?:string
size_bytes?
Total content size in bytes across all files in the version.optionalsize_bytes?:string
version_digest?
The version’s identity: the digest of its manifest (optionalversion_digest?:string
blake3:<hex>).
volume_id?
The volume this version belongs to.optionalvolume_id?:string
WhoAmIResponse
WhoAmIResponse = object
Properties
organization?
The organization the caller acts in.optionalorganization?:OrgRef
principal?
The acting principal.optionalprincipal?:Principal
Workload
Workload = object
A registered workload identity, scoped to the caller’s organization.
Properties
created_at?
When the workload was registered (RFC 3339).optionalcreated_at?:string
created_by?
Stable id of the principal that registered the workload, when recorded.optionalcreated_by?:string
description?
A free-text description of what the workload is for. May be empty.optionaldescription?:string
federation_configs?
Live cloud-federation registrations owned by this workload, in creation order.optionalfederation_configs?:WorkloadFederationConfig[]
id?
The workload’s stable id.optionalid?:string
launch_acl?
Who may launch as this workload.optionallaunch_acl?:WorkloadLaunchAcl
name?
The workload’s registered name — unique within the organization, and how the workload is displayed in attribution everywhere. Lowercase letters, digits,optionalname?:string
., _, and -; must start and end with
a letter or digit; at most 100 characters.
updated_at?
When the workload’s registration or ACL was last changed (RFC 3339).optionalupdated_at?:string
WorkloadFederationConfig
WorkloadFederationConfig = object
One live cloud-federation registration owned by a workload. The audience is provider-canonical
and server-derived from cloud and descriptor; it is the exact value the workload may request
from the workload-identity issuer.
Properties
audience?
Exact provider audience admitted for this workload.optionalaudience?:string
cloud?
Cloud provider: aws, gcp, or azure.optionalcloud?:string
created_at?
When the registration was created (RFC 3339).optionalcreated_at?:string
created_by?
Stable id of the principal that created the registration, when recorded.optionalcreated_by?:string
descriptor?
Strict parameters for the selected cloud.optionaldescriptor?:WorkloadFederationDescriptor
id?
Stable handle used by federation list, remove, and setup.optionalid?:string
workload_id?
Stable id of the workload that owns this registration.optionalworkload_id?:string
WorkloadFederationDescriptor
WorkloadFederationDescriptor = object
Cloud-specific parameters for one workload federation registration. Only the fields belonging
to the selected cloud may be set. AWS requires role_arn and defaults an empty region to
us-east-1. Google Cloud requires project_id, project_number, pool_id, and provider_id;
service_account_email is optional. Microsoft Entra requires application_id and entra_tenant_id.
Properties
application_id?
Microsoft Entra application (client) id.optionalapplication_id?:string
entra_tenant_id?
Microsoft Entra tenant id.optionalentra_tenant_id?:string
pool_id?
Google Cloud workload identity pool id.optionalpool_id?:string
project_id?
Google Cloud project id.optionalproject_id?:string
project_number?
Google Cloud project number.optionalproject_number?:string
provider_id?
Google Cloud workload identity provider id.optionalprovider_id?:string
region?
AWS region used by the generated SDK configuration. Defaults to us-east-1.optionalregion?:string
role_arn?
AWS IAM role trusted by this workload.optionalrole_arn?:string
service_account_email?
Optional Google Cloud service account to impersonate.optionalservice_account_email?:string
WorkloadLaunchAcl
WorkloadLaunchAcl = object
A per-workload launch ACL: which principals may launch a run or sandbox as the workload.
Properties
launchers?
The principals allowed to launch as this workload. Meaningful only when the policy is WORKLOAD_LAUNCH_POLICY_RESTRICTED; empty otherwise.optionallaunchers?:WorkloadLauncher[]
policy?
The launch policy: open to all org members, or restricted to the listed launchers.optionalpolicy?:"WORKLOAD_LAUNCH_POLICY_UNSPECIFIED"|"WORKLOAD_LAUNCH_POLICY_MEMBERS"|"WORKLOAD_LAUNCH_POLICY_RESTRICTED"
WorkloadLauncher
WorkloadLauncher = object
One launch-ACL entry: a principal allowed to launch as the workload.
Properties
kind?
The kind of principal this entry names:optionalkind?:string
user (an org member, named by user id — also the
meaning of an unset kind) or service_account (a service-account API key, named by key id).
Any other value is rejected.
principal_id?
The principal’s stable id: a user id foroptionalprincipal_id?:string
user, a service-account key id for
service_account.
WorkloadServiceAddWorkloadFederationError
WorkloadServiceAddWorkloadFederationError =WorkloadServiceAddWorkloadFederationErrors\keyof [WorkloadServiceAddWorkloadFederationErrors]
WorkloadServiceAddWorkloadFederationErrors
WorkloadServiceAddWorkloadFederationErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceCreateWorkloadError
WorkloadServiceCreateWorkloadError =WorkloadServiceCreateWorkloadErrors\keyof [WorkloadServiceCreateWorkloadErrors]
WorkloadServiceCreateWorkloadErrors
WorkloadServiceCreateWorkloadErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceDeleteWorkloadError
WorkloadServiceDeleteWorkloadError =WorkloadServiceDeleteWorkloadErrors\keyof [WorkloadServiceDeleteWorkloadErrors]
WorkloadServiceDeleteWorkloadErrors
WorkloadServiceDeleteWorkloadErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceGetWorkloadError
WorkloadServiceGetWorkloadError =WorkloadServiceGetWorkloadErrors\keyof [WorkloadServiceGetWorkloadErrors]
WorkloadServiceGetWorkloadErrors
WorkloadServiceGetWorkloadErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceListWorkloadFederationError
WorkloadServiceListWorkloadFederationError =WorkloadServiceListWorkloadFederationErrors\keyof [WorkloadServiceListWorkloadFederationErrors]
WorkloadServiceListWorkloadFederationErrors
WorkloadServiceListWorkloadFederationErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceListWorkloadsError
WorkloadServiceListWorkloadsError =WorkloadServiceListWorkloadsErrors\keyof [WorkloadServiceListWorkloadsErrors]
WorkloadServiceListWorkloadsErrors
WorkloadServiceListWorkloadsErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceRemoveWorkloadFederationError
WorkloadServiceRemoveWorkloadFederationError =WorkloadServiceRemoveWorkloadFederationErrors\keyof [WorkloadServiceRemoveWorkloadFederationErrors]
WorkloadServiceRemoveWorkloadFederationErrors
WorkloadServiceRemoveWorkloadFederationErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.
WorkloadServiceSetWorkloadLaunchAclError
WorkloadServiceSetWorkloadLaunchAclError =WorkloadServiceSetWorkloadLaunchAclErrors\keyof [WorkloadServiceSetWorkloadLaunchAclErrors]
WorkloadServiceSetWorkloadLaunchAclErrors
WorkloadServiceSetWorkloadLaunchAclErrors = object
Properties
429
429: ErrorBody
A quota or rate-limit rejection.
default
default: ErrorBody
An error using the standard hiloop error envelope.