Skip to main content
GET
/
v1
/
organizations
/
connections
List Storage Connections
curl --request GET \
  --url https://api.mixpeek.com/v1/organizations/connections \
  --header 'Authorization: Bearer <token>'
{
  "connections": [
    {
      "connection_id": "conn_abc123def456ghi",
      "created_by_user_id": "usr_admin123abc456",
      "description": "Team drive for marketing assets",
      "internal_id": "int_org123",
      "is_active": true,
      "metadata": {
        "team": "marketing"
      },
      "name": "Marketing Google Drive",
      "provider_config": {
        "credentials": {
          "client_email": "sync@project.iam.gserviceaccount.com",
          "type": "service_account"
        },
        "provider_type": "google_drive",
        "shared_drive_id": "0AH-Xabc123"
      },
      "provider_type": "google_drive",
      "status": "active"
    }
  ],
  "total_count": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key. Format: 'Bearer your_api_key'. To get an API key, create an account at mixpeek.com/start and generate a key in your account settings.

Headers

Authorization
string
required

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer sk_live_abc123def456"

"Bearer sk_test_xyz789"

Query Parameters

provider_type
enum<string> | null

Supported external storage providers for ingestion and sync.

Mixpeek can connect to external storage providers to automatically ingest objects and keep them synchronized with your namespaces.

Providers: GOOGLE_DRIVE: Google Drive and Google Workspace shared drives. - Authentication: Service account or OAuth2 - Features: Shared drive support, real-time sync, metadata preservation - Use cases: Marketing assets, team documents, knowledge bases - Limitations: Rate limits apply (10,000 requests/100 seconds per user)

S3: Amazon S3 and S3-compatible storage (MinIO, DigitalOcean Spaces, etc).
- Authentication: Access keys or IAM role assumption
- Features: Bucket notifications, prefix filtering, versioning support
- Use cases: Data lakes, video archives, ML datasets, backups
- Limitations: IAM role assumption preferred over access keys

Connection Requirements: - Valid credentials with read access to target files/buckets - Network connectivity from Mixpeek infrastructure - Appropriate IAM policies or share permissions configured

Examples: - Use GOOGLE_DRIVE for syncing team marketing materials - Use S3 for ingesting video archives from data lakes - Use S3 with IAM role for secure production deployments

Available options:
google_drive,
s3
status
enum<string> | null

Enumeration of task statuses for tracking asynchronous operations.

Task statuses indicate the current state of asynchronous operations like batch processing, object ingestion, clustering, and taxonomy execution.

Status Categories: Operation Statuses: Track progress of async operations Lifecycle Statuses: Track entity state (buckets, collections, namespaces)

Values: PENDING: Task is queued but has not started processing yet IN_PROGRESS: Task is currently being executed PROCESSING: Task is actively processing data (similar to IN_PROGRESS) COMPLETED: Task finished successfully with no errors FAILED: Task encountered an error and could not complete CANCELED: Task was manually canceled by a user or system UNKNOWN: Task status could not be determined SKIPPED: Task was intentionally skipped DRAFT: Task is in draft state and not yet submitted

ACTIVE: Entity is active and operational (for buckets, collections, etc.)
ARCHIVED: Entity has been archived
SUSPENDED: Entity has been temporarily suspended

Terminal Statuses: COMPLETED, FAILED, CANCELED are terminal statuses. Once a task reaches these states, it will not transition to another state.

Polling Guidance: - Poll tasks in PENDING, IN_PROGRESS, or PROCESSING states - Stop polling when task reaches COMPLETED, FAILED, or CANCELED - Use exponential backoff (1s → 30s) when polling

Available options:
PENDING,
IN_PROGRESS,
PROCESSING,
COMPLETED,
FAILED,
CANCELED,
UNKNOWN,
SKIPPED,
DRAFT,
ACTIVE,
ARCHIVED,
SUSPENDED
is_active
boolean | null

Response

Successful Response

Response envelope for list endpoint.

connections
StorageConnectionModel · object[]
required
total_count
integer
required