POST
/
sessions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a new Devin session

prompt
string
required

The task description for Devin

idempotent
boolean | null

Enable idempotent session creation

max_acu_limit
integer | null

Maximum ACU limit for the session

playbook_id
string | null

ID of a playbook to follow

snapshot_id
string | null

ID of a machine snapshot to use

unlisted
boolean | null

Whether the session should be unlisted

Response

200 - application/json

Response body returned when a session is successfully created

session_id
string
required

Unique identifier for the session

url
string
required

URL to view the session in the web interface

is_new_session
boolean

Indicates if a new session was created (only present if idempotent=true)