API Documentation
REST API Reference
Comprehensive API documentation with examples for all endpoints and methods.
Endpoints
POST
/api/deploymentsCreate a new deployment
Auth
GET
/api/deployments/:idRetrieve deployment details
Auth
PUT
/api/deployments/:idUpdate deployment configuration
Auth
DELETE
/api/deployments/:idDelete a deployment
Auth
GET
/api/monitoring/metricsGet monitoring metrics
Auth
GET
/api/logs/:deploymentIdRetrieve deployment logs
Auth
Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header.
Header: Authorization
Format: Bearer YOUR_API_KEY
curl -H "Authorization: Bearer sk_..." \ https://api.opscore.io/api/deployments