Use Devin to assign coding tasks and manage their sessions from a workflow. Create Session accepts a prompt, optional playbook, ACU (Autonomous Compute Unit) limit, and tags.
Use Get Session to poll status before consuming pull requests or structured output; session details also report resource use. List Sessions supports pagination. Send Message supplies context or redirects an active session and resumes suspended sessions automatically. Set an ACU limit when you need a spending boundary.
Use the block
Create coding sessions, list or inspect their status and results, and send messages to guide active or suspended work. Use playbooks and ACU limits for repeatable tasks and spending control.
Actions
Devin Create Session
Create a new Devin session with a prompt. Devin will autonomously work on the task described in the prompt.
Devin Get Session
Retrieve details of an existing Devin session including status, tags, pull requests, and structured output.
Devin List Sessions
List Devin sessions in the organization. Returns up to 100 sessions by default.
Devin Send Message
Send a message to a Devin session. If the session is suspended, it will be automatically resumed. Returns the updated session state.
Devin List Session Messages
List the messages exchanged in a Devin session, including messages from both the user and Devin.
Devin List Session Attachments
List the files uploaded to or produced by a Devin session.
Devin Get Session Tags
Retrieve the tags currently applied to a Devin session.
Devin Append Session Tags
Add tags to a Devin session without removing existing tags (max 50 tags total).
Devin Replace Session Tags
Replace all tags on a Devin session with a new set of tags (max 50 tags).
Devin Archive Session
Archive a Devin session. Archived sessions can still be viewed but cannot be modified or resumed.
Devin Terminate Session
Terminate a Devin session. Optionally archive the session instead of permanently terminating it.