Generate AI Enabler Analytics Data

Generates analytics data.

Path Params
string
required

The ID of the organization.

Query Params
date-time

Start time for the analytics data.

date-time

End time for the analytics data.

string

Deprecated: Use filter instead.

string

CEL expression for filtering results.

Supported fields:

FieldTypeDescription
modelstringThe model name (e.g., "gpt-4o", "gpt-4o-mini")
castai_api_key_idstringThe API key ID
castai_api_key_owner_typestringThe API key owner type ("serviceAccount" or "user")
castai_api_key_owner_idstringThe API key owner ID
team_idstringTeam identifier for filtering analytics by team
tagslistTags associated with the request

Examples:

  • model == "gpt-4o"
  • model in ["gpt-4o", "gpt-4o-mini"]
  • model.startsWith("gpt")
  • team_id == "frontend-team"
  • castai_api_key_owner_type == "serviceAccount" && castai_api_key_owner_id == "123e4567-e89b-12d3-a456-426614174000"
  • castai_api_key_id == "123e4567-e89b-12d3-a456-426614174000" || castai_api_key_id == "456e7890-e89b-12d3-a456-426614174000"
  • "key:value" in tags
  • "key" in tags
Responses

Language
Credentials
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json