Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Get spans count on previous day grouped by workspace, project and user

GET/v1/internal/usage/workspace-span-counts-breakdownGet spans count on previous day grouped by workspace, project and user

Get spans count on previous day grouped by workspace, project and user

Responses

200UsageByWorkspaceProjectUserResponse resourceapplication/json
objectUsageByWorkspaceProjectUserResponse
breakdownarray of object
Show child attributes
Show array items
countinteger · int64
project_idstring · uuid
userstring
workspace_idstring
Example response
{
  "breakdown": [
    {
      "count": 0,
      "project_id": "00000000-0000-0000-0000-000000000000",
      "user": "string",
      "workspace_id": "string"
    }
  ]
}
Documentation menu