GET
/
storage
/
provisioning
/
v1
/
storage
/
{storage_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
storage = client.storage.get(
    0,
)
print(storage.id)
{
  "address": "s-ed1.cloud.example.com",
  "can_restore": true,
  "client_id": 1,
  "created_at": "2025-08-05 09:17:02.095832+00:00",
  "credentials": {
    "keys": [
      {
        "created_at": "2025-08-05 09:15:00+00:00",
        "id": 123,
        "name": "my-production-key"
      }
    ],
    "s3": {
      "access_key": "AKIAIOSFODNN7EXAMPLE",
      "secret_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
    },
    "sftp_password": "Xy9$mN2p!qR8"
  },
  "custom_config_file": false,
  "deleted_at": "2025-08-05 10:30:15.123456+00:00",
  "disable_http": false,
  "expires": "2026-08-05 09:17:02.095832+00:00",
  "id": 1,
  "location": "s-ed1",
  "name": "1-my-storage-prod",
  "provisioning_status": "ok",
  "reseller_id": 1,
  "rewrite_rules": {},
  "server_alias": "my-storage.example.com",
  "type": "s3"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

storage_id
integer
required

Response

200
application/json

Storage

The response is of type object.