Skip to main content
GET
/
v3beta1
/
enterprise
/
metrics
/
searches
Get Search Metrics
curl --request GET \
  --url https://api.devin.ai/v3beta1/enterprise/metrics/searches \
  --header 'Authorization: Bearer <token>'
{
  "searches_created_count": 123
}

Permissions

Requires a service user with the ViewAccountMetrics permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

time_before
integer
required
time_after
integer
required
org_ids
string[] | null

Response

Successful Response

Response model for search metrics.

searches_created_count
integer
required