Create a new session
Create a new Devin session with the specified prompt and configuration options.
Authentication
AuthorizationBearer
Personal API Key (apk_user_) or Service API Key (apk_)
Request
This endpoint expects an object.
prompt
idempotent
knowledge_ids
List of knowledge IDs to use. If None, use all knowledge. If empty list, use no knowledge.
max_acu_limit
Maximum ACU limit, must be positive
playbook_id
secret_ids
List of secret IDs to use. If None, use all secrets. If empty list, use no secrets.
session_secrets
List of session-specific secrets to use. These secrets are only available in this session and are not stored in organization secrets.
snapshot_id
structured_output_schema
JSON Schema (Draft 7) for validating structured output. Max 64KB. Must be self-contained (no external $ref).
title
Custom title for the session. If None, a title will be generated automatically.
unlisted
Response
Successful Response
session_id
url
is_new_session
Errors
422
Unprocessable Entity Error