---
title: "Get a storage object."
method: GET
path: "/v2/console/storage/{collection}/{key}/{user_id}"
tags: ["Console"]
---

# Get a storage object.

`GET /v2/console/storage/{collection}/{key}/{user_id}`

## Request

- Base URL: `http://127.0.0.1:7351`
- URL: `http://127.0.0.1:7351/v2/console/storage/{collection}/{key}/{user_id}`
- Auth: API key in header `Authorization`

## Path parameters

- `collection` string, required
- `key` string, required
- `user_id` string, required

## Response `200`

A successful response.

- StorageObject: An object within the storage engine.
  - `collection` string: The collection which stores the object.
  - `key` string: The key of the object within the collection.
  - `user_id` string: The user owner of the object.
  - `value` string: The value of the object.
  - `version` string: The version hash of the object.
  - `permission_read` integer: The read access permissions for the object.
  - `permission_write` integer: The write access permissions for the object.
  - `create_time` string, date-time: The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was created.
  - `update_time` string, date-time: The UNIX time (for gRPC clients) or ISO string (for REST clients) when the object was last updated.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2.md) - [All operations](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/heroiclabs/apis/nakama-console-api-v2/revisions/fbde2e3c5ead?raw)
