For the complete documentation index, see llms.txt. A markdown version of this page is at /reference/resources/storage/index.md.

Storage

Keep a namespace's session transcripts and uploaded files in a bucket in your own GCP, AWS or Azure account.

A Storage object tells Ringleader which bucket holds a namespace’s files. Those files are the transcripts of agent sessions, files people upload with rl artifact upload, and files workstations publish. The bucket lives in your own cloud account, so you decide its location, how long it keeps old data, and which key encrypts it.

Storage buckets explains the artifact storage grant, managed and named buckets, and how to create a Storage, switch buckets and delete one. Session transcripts and artifacts says what happens to the files with no Storage.

Spec fields

FieldTypeDescription
providerstringRequired. gcp, aws or azure. Cannot change.
bucketstringRequired. The GCS bucket, S3 bucket or Azure container. Cannot change.
accountstringAzure only, required there. The storage account that holds the container. Cannot change.
prefixstringWhere in the bucket the namespace’s folder starts. Must end in /. Cannot change.
cloudIdentityRefstringRequired. The name of a CloudIdentity in the same namespace.
grantstringRequired. managed or named, matching how your organization took the artifact storage grant.
defaultboolMarks this Storage as the namespace’s default when it has several Storage objects.
createBucketboolCreate the bucket when it is missing. managed only. Cannot change.
locationstringThe region for a bucket Ringleader creates. Required with createBucket, refused without it. Cannot change.
bucketDeletionPolicystringRetain (the default) or DeleteIfEmpty. DeleteIfEmpty needs createBucket.
versioningboolKeep old versions in a bucket Ringleader creates. Default false. Refused with named.
noncurrentVersionDaysintHow long an old version is kept, 0 to 36500 days. Default 30, and 0 keeps them forever.

Status fields

FieldDescription
reachableWhether Ringleader could reach the bucket the last time it checked.
locationThe bucket’s region, read from the cloud.
encryption.typeprovider-managed, customer-managed, or unknown when Ringleader could not read it.
encryption.keyNameYour key’s name, when the bucket uses one.
versioningWhether the bucket keeps old versions.
defaultWhether this Storage is the namespace’s default now.
payloadsHow many files are recorded in this bucket.
createdBucket, createdBucketAtThe bucket Ringleader created for this Storage, and when.
existingNotOursThe bucket already existed, so Ringleader uses it as it is and never deletes it.
creationRefusedThe cloud refused the bucket name, usually because someone else already has it. Delete the Storage and create one with another name.
messageWhat is wrong, when something is.
lastVerifiedWhen Ringleader last checked the bucket.

Next steps