API reference
Enterprise deployment API and MCP
Use the Enterprise API to create, monitor, and tear down AI Deploy agent deployments from your own tools. The local MCP server wraps the same API for coding assistants.
Auth
Send API keys in the Authorization header as Bearer AIDEPLOY_KEY.
Access
Command Center includes deployment API and MCP access. Mass deployments require Enterprise access.
Keys
Create and revoke scoped keys from Account, API keys after signing in.
Endpoints
/api/enterprise/v1/capabilitiesCheck API access and available Enterprise features.
/api/enterprise/v1/deploymentsList deployments created through the Enterprise API.
/api/enterprise/v1/deploymentsCreate one or more agent deployments.
/api/enterprise/v1/deployments/[deployId]Fetch one deployment and refresh its current status.
/api/enterprise/v1/deployments/[deployId]/destroyDestroy a deployment that belongs to your account.
/api/enterprise/v1/keysList your scoped API keys.
/api/enterprise/v1/keysCreate a scoped API key. The plaintext key is shown once.
/api/enterprise/v1/keys/[keyId]Revoke an API key.
Create a deployment
curl -X POST https://aideploy.co/api/enterprise/v1/deployments \
-H "Authorization: Bearer $AIDEPLOY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"externalId": "acme-prod",
"cloudProvider": "digitalocean",
"cloudToken": "dop_v1_...",
"region": "nyc3",
"serverSize": "starter",
"agentCount": 1,
"tailscaleAuthKey": "tskey-auth-...",
"selectedAIProviders": ["openai"],
"billingAcknowledged": true
}'Scopes
- deployments:read - read deployments and status
- deployments:write - create deployments
- deployments:destroy - destroy deployments