> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blobhub.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List API Keys

List API keys associated with a target (e.g., organization or blob).

## **GET** `/:target/:target_id/api_keys`

### Path Parameters

| Parameter   | Type   | Required | Description                           |
| :---------- | :----- | :------- | :------------------------------------ |
| `target`    | string | Yes      | Resource type: `orgs` or `blobs`.     |
| `target_id` | string | Yes      | The unique ID of the target resource. |

### Response

| Parameter  | Type  | Description              |
| :--------- | :---- | :----------------------- |
| `api_keys` | array | List of API key objects. |

### Example

<CodeGroup>
  ```bash Request theme={null}
  curl -X GET https://api.blobhub.io/v1/blobs/blob_123/api_keys
  ```

  ```json Response theme={null}
  {
    "api_keys": [
      {
        "id": "key_001",
        "target": "blobs",
        "target_id": "blob_123",
        "key_prefix": "bh_live_***"
      }
    ]
  }
  ```
</CodeGroup>
