Management API
The Runlayer platform provides a RESTful API for programmatic management of your organization’s MCP infrastructure. Key Capabilities:- Server Management: Create, update, and delete MCP servers
- User Operations: Read user information and permissions
- Audit Logs: Query activity history and security events
- Analytics: Access usage metrics and insights
For full interactive API documentation with request/response schemas and a built-in API explorer, visit
/docs on your hosted Runlayer instance.Authentication
All requests use a bearer token in theAuthorization header. The base URL is your Runlayer instance with the /api/v1 prefix.
401 for a missing or invalid key, 403 when the key’s role lacks access to the endpoint.
API Keys
Create API keys in Settings → Personal API keys or Settings → Organization API keys.- Personal API keys authenticate as the user who created them and work for user-scoped management API calls.
- Organization API keys authenticate as the workspace and are scoped by role. Use them for workload-specific automation that should not depend on a user’s session.
| Role | Use case |
|---|---|
| Deploy | CI/CD workflows that initialize, validate, deploy, pull, and destroy Runlayer Deploy deployments |
| Detect Scan | Shadow AI detection scan submissions |
| Security Scan | Security scanner API submissions |
For deploy pipelines, see CI/CD with organization API keys.
Related Resources
Analytics
View usage metrics
Audit Logs
Activity history