Skip to content
Product Docs

Get File Store Info

admin.get_filestores_info() -> AdminGetFilestoresInfoResponse
GET/api/v1/admin/filestores/info

Get File Store Info

ReturnsExpand Collapse
class AdminGetFilestoresInfoResponse:
status: Literal["missing_buckets", "missing_credentials", "ok"]
One of the following:
"missing_buckets"
"missing_credentials"
"ok"
available_buckets: Optional[Dict[str, str]]
unavailable_buckets: Optional[Dict[str, str]]

Get File Store Info

import os
from llama_cloud_admin import LlamaCloudAdmin

client = LlamaCloudAdmin(
    api_key=os.environ.get("LLAMA_CLOUD_API_KEY"),  # This is the default and can be omitted
)
response = client.admin.get_filestores_info()
print(response.status)
{
  "status": "missing_buckets",
  "available_buckets": {
    "foo": "string"
  },
  "unavailable_buckets": {
    "foo": "string"
  }
}
Returns Examples
{
  "status": "missing_buckets",
  "available_buckets": {
    "foo": "string"
  },
  "unavailable_buckets": {
    "foo": "string"
  }
}