Console
Reference
Markdown

Control API & MCP Reference

Base URLs, authentication headers, error format, and a complete index of Control API routes and MCP tools.

Every console screen, skopik command, and MCP tool calls the same HTTP Control API.

#Base URLs

ServiceProduction URL
Control APIhttps://api.platform.skopik.com/v1
MCP Endpointhttps://api.platform.skopik.com/mcp
Topics WebSocketwss://topics.platform.skopik.com/v1/subscribe
Consolehttps://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

ProductControl API Routes (/v1/...)Primary MCP Tools
Workers/workers, /workers/{w}/deployments, /aliases, /secrets, /builds, /logs, /metrics, and /metrics for every Worker at oncecreate_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, /cdpcreate_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, /queriescreate_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, /schedulescreate_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/credentialslist_topics, get_topic_activity, publish_to_topic, create_topic_credential
Email/email/sendsend_email
Domains/domains, /workers/{w}/domains, /workers/{w}/domains/{h}/verifyadd_domain, list_domains, list_org_domains, get_domain, verify_domain, remove_domain
Git/github/installations, /github/linkslist_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, /transferscreate_workspace, list_workspaces, update_workspace, delete_workspace, start_transfer, get_transfer, list_transfers, get_usage