Skip to main content
POST
Create a Devin session

Body

application/json
advancedMode
string

Legacy: analyze|create|improve|batch|manage

asUser
string

create_as_user_id (impersonate user)

attachmentUrl
string[]

Attachment URLs

bypassApproval
boolean

Request bypass_approval=true

childPlaybook
string

Child playbook ID

devinId
string

Idempotent session creation key

devinMode
string

Agent mode: normal|fast|lite|ultra

execute
boolean

Actually create the Devin session; default is a dry-run that only shows the plan (exit 3)

knowledge
string[]

Knowledge note IDs

maxAcu
string

Per-session max ACU ceiling

noMaxAcuLimit
boolean
default:false

Intentionally omit max_acu_limit

noResumable
boolean
default:false

Disposable session, do not preserve VM state

platform
string

VM platform override (org-specific)

playbook
string

Playbook ID

project
string

Link to Ravi project

prompt
string

Prompt for Devin

promptFile
string

Read prompt from file

proxRun
string

Link to prox run

repo
string[]

Repos; can be repeated or comma-separated

resumable
boolean

Preserve VM state for resume (default: true)

secret
string[]

Secret IDs (org-level secret references)

Linked Devin sessions

sessionSecret
string[]

Inline session secrets (key=value); sensitive by default

structuredOutputRequired
boolean

Require structured output before turn ends

structuredOutputSchema
string

JSON schema for structured output

tag
string[]

Tags; can be repeated or comma-separated

task
string

Link to Ravi task

title
string

Session title

Response

Success — body conforms to the @Returns schema.

maxAcuLimit
number | null
required
maxAcuLimitSource
string
required
session
object
required
status
string
required
Allowed value: "created"
devinMode
string | null
platform
string | null
resumable
boolean | null
{key}
any