Skip to main content
GET
/
v3beta1
/
enterprise
/
organizations
/
{org_id}
/
sessions
Get Sessions
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/organizations/{org_id}/sessions
{
  "items": [
    {
      "session_id": "<string>",
      "status": "new",
      "tags": [
        "<string>"
      ],
      "user_id": "<string>",
      "org_id": "<string>",
      "created_at": 123,
      "updated_at": 123,
      "acus_consumed": 123,
      "pull_requests": [
        {
          "pr_url": "<string>",
          "pr_state": "<string>"
        }
      ]
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}

Path Parameters

org_id
string | null
required

Query Parameters

qs
object
required
enterprise_id
string | null

Response

Successful Response

items
SessionResponse · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).