Jules API guide

jules.google

Use Jules to start coding tasks on connected repositories, check session progress, approve proposed plans, and send follow-up instructions.

Actions and inputs

sessions create

Start a coding task on a connected repository.

Inputs Task prompt, repository source context

sessions get

View the details and current state of a coding session.

Inputs Session ID

sessions approve-plan

Approve a session's pending plan.

Inputs Session ID

sessions send-message

Send follow-up instructions to a coding session.

Inputs Session ID, message prompt

Jules coding session

Create

Create a coding session for a connected repository.

Inputs Task prompt, repository source context

Read

Read the coding session's details and current state.

Inputs Session ID

Update

Update the session's task instructions with a follow-up message.

Inputs Session ID, message prompt

Delete

Delete the coding session.

Inputs Session ID