Skip to main content
GET
/
v2
/
enterprise
/
metrics
/
sessions
Enterprise Sessions Metrics Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/metrics/sessions \
  --header 'Authorization: Bearer <token>'
{
  "sessions_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

Requires an enterprise admin personal API key. Returns the total number of sessions for your enterprise within the specified time period.

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Query Parameters

start_date
string<date-time> | null
end_date
string<date-time> | null
start
string<date-time> | null
end
string<date-time> | null
org_ids
string[] | null
user_ids
string[] | null

Response

Successful Response

sessions_count
integer
required