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

GET /:target/:target_id/api_keys

Path Parameters

ParameterTypeRequiredDescription
targetstringYesResource type: orgs or blobs.
target_idstringYesThe unique ID of the target resource.

Response

ParameterTypeDescription
api_keysarrayList of API key objects.

Example

curl -X GET https://api.blobhub.io/v1/blobs/blob_123/api_keys
{
  "api_keys": [
    {
      "id": "key_001",
      "target": "blobs",
      "target_id": "blob_123",
      "key_prefix": "bh_live_***"
    }
  ]
}