Every console screen, skopik command, and MCP tool calls the same HTTP Control API.
#Base URLs
| Service | Production URL |
|---|---|
| Control API | https://api.platform.skopik.com/v1 |
| MCP Endpoint | https://api.platform.skopik.com/mcp |
| Topics WebSocket | wss://topics.platform.skopik.com/v1/subscribe |
| Console | https://console.platform.skopik.com |
#Authentication & Errors
Pass an org API key (Authorization: Bearer <key>) or a person access token (Authorization: Bearer <token> plus x-mh-org: <org_id>).
All errors return JSON in a consistent envelope:
json
{
"error": {
"code": "database_not_found",
"message": "database `notes` does not exist"
}
}Resources belonging to another organization always return 404 as if they do not exist. Failed key checks are rate-limited (429 too_many_failed_keys) after 20 failures per minute per client IP.
#Resource Endpoints & MCP Tools
| Product | Control API Routes (/v1/...) | Primary MCP Tools |
|---|---|---|
| Workers | /workers, /workers/{w}/deployments, /aliases, /secrets, /builds, /logs, /metrics, and /metrics for every Worker at once | create_worker, update_worker, list_workers, get_worker, delete_worker, set_secret, list_builds, get_build_log, redeploy_build, get_worker_metrics, get_org_metrics |
| Sandboxes | /sandboxes, /sandboxes/{id}/exec, /stop, /files, /dir, /cdp | create_sandbox, list_sandboxes, get_sandbox, stop_sandbox, destroy_sandbox, exec_in_sandbox, write_sandbox_file, read_sandbox_file, list_sandbox_files |
| Databases | /databases, /databases/{n}/execute, /batch, /query, /documents, /rewind, /undo-rewind, /moment, /copy, /compare, /log, /activity, /download, /queries | create_database, list_databases, get_database, update_database, delete_database, execute_sql, batch_sql, query_sql, put_document, query_documents, rewind_database, undo_database_rewind, copy_database, compare_database |
| Buckets | /buckets, /buckets/{b}/objects, /buckets/{b}/objects/{key} | create_bucket, list_buckets, get_bucket, delete_bucket, put_object, get_object, head_object, delete_object, list_objects |
| Queues | /queues, /queues/{q}/messages, /messages/batch, /dead-letters, /schedules | create_queue, list_queues, get_queue, delete_queue, send_message, send_messages, list_dead_letters, create_schedule, list_schedules, delete_schedule |
| Topics | /topics, /topics/activity, /topics/publish/{topic}, /topics/credentials | list_topics, get_topic_activity, publish_to_topic, create_topic_credential |
/email/send | send_email | |
| Domains | /domains, /workers/{w}/domains, /workers/{w}/domains/{h}/verify | add_domain, list_domains, list_org_domains, get_domain, verify_domain, remove_domain |
| Git | /github/installations, /github/links | list_github_installations, list_installation_repositories, detect_github_repository, list_github_links, link_github_repository, update_github_link, unlink_github_repository |
| Workspaces & Orgs | /workspaces, /keys, /changes, /usage, /billing, /transfers | create_workspace, list_workspaces, update_workspace, delete_workspace, start_transfer, get_transfer, list_transfers, get_usage |