Developer resource
Deck CLI
Call the Deck API from any terminal. The REST API is versioned at https://api.deck.co/v2. Create an API key in the Deck Console.
curl https://api.deck.co/v2/test \ -H "Authorization: Bearer $DECK_API_KEY"
- OpenAPI spec: https://deck.co/openapi.json
- Using the API: Deck API authentication
- JSON errors: Deck error handling
- Rate limits: Deck rate limits
- MCP server: Deck MCP server
A packaged Deck CLI on npm, PyPI, or Homebrew is not published yet. Until then, curl against /v2 (or an OpenAPI-generated client) is the supported command-line interface. JSON errors use errors[].type, errors[].code, and request_id.