Learn how to programmatically create and manage Devin sessions using our REST API
idempotent
parameter to true
in your request. The response will include an is_new_session
field indicating whether a new resource was created.
For example, when creating sessions with idempotency enabled, retrying the same request will return the existing session instead of creating a duplicate one. This is particularly useful in unreliable network conditions or when implementing retry logic in your applications.