Jules CLI and REST API

Pro ($19.99/mo) and Ultra ($249.99/mo)1 min read

Step 1: Install the CLI

Install the Jules CLI from npm or the standalone binary. Authenticate with your Google account.

Step 2: Create tasks programmatically

Use 'jules create' or POST /tasks to submit tasks with descriptions, target repos, and configuration options.

Step 3: Monitor task status

Poll task status via CLI or API. Get real time updates on progress, view logs, and receive completion notifications.

Step 4: Integrate into workflows

Connect Jules to CI/CD pipelines, Slack bots, custom dashboards, or batch scripting for organization wide operations.

FeatureWeb UIGitHub IntegrationCLIREST API
Create tasksCreate tasksYes (issue labels)
Monitor statusMonitor statusYes (dashboard)Yes (PR status)
Cancel tasksCancel tasks
View suggestionsView suggestions
Approve suggestionsApprove suggestions
Batch operationsBatch operationsYes (scriptable)Yes (scriptable)
CI/CD integrationCI/CD integration
Automation friendlyAutomation friendly

Start with the CLI, scale with the API

The CLI is the fastest way to try programmatic access. Use 'jules create' to submit tasks from your terminal while you are getting familiar with how Jules handles different types of work. Once you have patterns you want to automate, move to the REST API for integration with your CI/CD system, internal tools, or custom workflows.