curl -X POST "https://api.mielto.com/api/v1/api-keys" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "label": "Production API Key", "status": "active", "expires_at": "2025-12-31T23:59:59Z", "permissions": ["read", "write"], "collections": ["col_123", "col_456"] }'
{ "id": "key_123456789", "key": "mk_prod_abc123xyz789", "secret": "sk_test_def456uvw012", "label": "Production API Key", "status": "active", "permissions": ["read", "write"], "expires_at": "2025-12-31T23:59:59Z", "ip_whitelist": null, "collections": ["col_123", "col_456"], "workspace_id": "wsp_123456789", "created_by": "usr_123456789", "created_at": "2024-01-15T10:00:00Z", "updated_at": "2024-01-15T10:00:00Z" }
Create a new API key for programmatic access to the Mielto platform
secret