Responses are generated using AI and may contain mistakes.
Bland is getting a major upgrade. We're working on updating our docs as users transition in the coming weeks. Reach out to support@bland.ai with questions.
Comma-separated list of fields to group results by. Supported values: integration, action, status, tool_id, resource_id, error_type, date.Example: group_by=integration,status
Metrics
string
Comma-separated list of metrics to compute. Use "count" for total execution count, or "field:avg" for averages.Supported aggregate fields: execution_time_ms, input_size_kb, output_size_kb.Defaults to "count".Example: metrics=count,execution_time_ms:avg
Date Range
string
Preset time period. Allowed values: "today", "week", "month". Overridden by start_date/end_date if both are provided.
string
Start of the date range (ISO 8601). Maximum range is 90 days from end_date.
string
End of the date range (ISO 8601). Maximum range is 90 days from start_date.
Filters
string
Filter stats to a specific tool ID.
string
Filter stats to a specific resource ID.
string
Filter by integration key.
string
Filter by action name.
string
Filter by execution status. Allowed values: "success", "error".
string
Filter by error type.
string
Filter to a specific call ID.
number
Maximum number of groups to return. Minimum 1, maximum 1000. Defaults to 50.
Response
array
Array of aggregated result objects. Each entry contains the grouped dimensions and the requested metric values.
Show result entry
string
Integration key (present when grouped by integration).
string
Action name (present when grouped by action).
string
Execution status (present when grouped by status).
string
Tool ID (present when grouped by tool_id).
string
Date string (present when grouped by date).
number
Total execution count (present when count is in metrics).
number
Average execution time in ms (present when execution_time_ms:avg is in metrics).
number
Average input size in KB (present when input_size_kb:avg is in metrics).
number
Average output size in KB (present when output_size_kb:avg is in metrics).
object
Metadata about the query that was executed.
GET /v2/tools/logs/stats?group_by=integration,status&metrics=count,execution_time_ms:avg&period=week