---
title: "Get storage bucket"
method: GET
path: "/api/organizations/{organizationId}/buckets/{bucketId}"
tags: ["OrganizationData"]
---

# Get storage bucket

`GET /api/organizations/{organizationId}/buckets/{bucketId}`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/buckets/{bucketId}`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in cookie `jwt`
  - API key in header `x-jwt-token`
  - OAuth 2
    - Authorization code: `/v1/oauth/authorize`
    - Client credentials
    - Implicit: `/v1/oauth/authorize`
    - Password
    - Token URL: `/v1/oauth/token`
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api/organizations/:organizationId/buckets/:bucketId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get storage bucket details.

## Path parameters

- `organizationId` integer, required
- `bucketId` integer, required

## Response `200`

OK

- GetOrganizationBucketResponse
  - `success` boolean, required: Whether the operation succeeded
  - `error` string: Optional error description (set if 'success' was false)
  - `bucket` OrganizationBucket, required
    - `id` integer, required
    - `accessKey` string, required: Access key for the storage service
    - `endpoint` string, required: Endpoint URL for the storage service
    - `bucket` string, required: Name of the storage bucket
    - `region` string, required: Region of the storage service (if applicable)
    - `connected` boolean, required: Whether we can reach the bucket
    - `checkConnectivityPrefix` string: Optional prefix used for connectivity verification when root bucket access is restricted.
    - `storageProvider` 's3' | 'google' | 'azure' | 'other' | 'edgeimpulse' | 'huggingface', required
    - `storageAccountName` string: The name of the storage account for Azure Blob Storage

---

[API](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api.md) - [All operations](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/llms.txt) - [OpenAPI document](https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/revisions/e2a976d38427?raw)
