---
title: "List workspace objects"
method: GET
path: "/v2/storage/workspaces/{workspaceId}/objects"
tags: ["Workspaces"]
---

# List workspace objects

`GET /v2/storage/workspaces/{workspaceId}/objects`

## Request

- Base URL: `https://connection.keboola.com`
- URL: `https://connection.keboola.com/v2/storage/workspaces/{workspaceId}/objects`
- Auth: one of:
  - API key in header `X-StorageApi-Token`
  - API key in header `X-KBC-ManageApiToken`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/keboola/apis/keboola-storage-api/docs/v2/storage/workspaces/:workspaceId/objects/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of objects (tables and views) present in the workspace schema. Supported on Snowflake and BigQuery
backends.

## Path parameters

- `workspaceId` integer, required

## Response `200`

List of objects in the workspace.

- ObjectListResponse[]
  - `name` string, required: Name of the object in the workspace.
  - `type` 'table' | 'view', required: Type of the object.

## Other responses

- `404`: Returned when the workspace is not found (`workspace.workspaceNotFound`).
- `422`: Returned when the workspace backend is not supported (`workspace.backendNotSupported`).

---

[API](https://skmtc.dev/keboola/apis/keboola-storage-api.md) - [All operations](https://skmtc.dev/keboola/apis/keboola-storage-api/llms.txt) - [OpenAPI document](https://skmtc.dev/keboola/apis/keboola-storage-api/revisions/34b5ceac0317?raw)
