Storages

Cloud storage configuration

Get storages

get

Retrieves all storage configurations for your organization

Authorizations
Query parameters
pageinteger · min: 1Optional

Page number (1-indexed)

Default: 1
limitinteger · min: 1 · max: 100Optional

Items per page (max 100)

Default: 10
Responses
200

Storages retrieved successfully

application/json
get
curl -X GET "https://imeritapi.ango.ai/v2/storages?page=1&limit=10" \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json"
200

Storages retrieved successfully

{
  "status": "success",
  "data": {
    "storages": [
      {
        "_id": "text",
        "name": "text",
        "type": "aws",
        "bucket": "text",
        "region": "text",
        "organization": "text",
        "createdAt": "2025-10-07T12:40:37.064Z"
      }
    ]
  }
}

Create storage

post

Creates a new cloud storage configuration

Authorizations
Body
namestringRequired
typestring · enumRequiredPossible values:
bucketstringRequired
regionstringOptional
credentialsobjectRequired

Storage provider credentials

privateKeystringOptional

Private key (for GCS)

Responses
200

Storage created successfully

application/json
post
curl -X POST "https://imeritapi.ango.ai/v2/storages" \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My S3 Storage",
    "type": "aws",
    "bucket": "my-bucket",
    "region": "us-east-1",
    "credentials": {
      "accessKeyId": "YOUR_ACCESS_KEY",
      "secretAccessKey": "YOUR_SECRET_KEY"
    }
  }'
{
  "status": "success",
  "data": {
    "storage": {
      "_id": "text",
      "name": "text",
      "type": "aws",
      "bucket": "text",
      "region": "text",
      "organization": "text",
      "createdAt": "2025-10-07T12:40:37.064Z"
    }
  }
}

Delete storage

delete

Deletes a storage configuration

Authorizations
Path parameters
storageIdstringRequired

Storage ID

Responses
200

Storage deleted successfully

application/json
delete
DELETE /v2/storages/{storageId} HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Accept: */*
200

Storage deleted successfully

{
  "status": "success",
  "data": {
    "storage": {
      "_id": "text",
      "name": "text",
      "type": "aws",
      "bucket": "text",
      "region": "text",
      "organization": "text",
      "createdAt": "2025-10-07T12:40:37.064Z"
    }
  }
}