Skip to main content
GET
List Sessions

Permissions

Requires a service user or personal access token with the ViewOrgSessions permission at the organization level.

On-demand usage

On Teams plans, each session in the response includes on_demand_usage: the session’s on-demand (overage) spend in USD, excluding child sessions. It is 0 when the session was fully covered by your plan’s quota. The field is omitted for other plans and on the enterprise session endpoints.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

org_id
string | null
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Query Parameters

qs
SessionsQueryParams · object
required
devin_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).