get_bedrock_daily_usage_stats
Retrieve daily AWS Bedrock usage statistics, including regional breakdowns and log details, for up to 90 days to monitor and analyze model invocation patterns.
Instructions
Get daily usage statistics with detailed breakdowns.
Args:
params: Parameters specifying the number of days to look back and region
Returns:
str: Formatted string representation of daily usage statistics
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"BedrockLogsParams": {
"description": "Parameters for retrieving Bedrock invocation logs.",
"properties": {
"aws_account_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "AWS account id (if different from the current AWS account) of the account for which to get the cost data",
"title": "Aws Account Id"
},
"days": {
"default": 7,
"description": "Number of days to look back for Bedrock logs",
"maximum": 90,
"minimum": 1,
"title": "Days",
"type": "integer"
},
"log_group_name": {
"default": "BedrockModelInvocationLogGroup",
"description": "Bedrock Log Group Name",
"title": "Log Group Name",
"type": "string"
},
"region": {
"default": "us-east-1",
"description": "AWS region to retrieve logs from",
"title": "Region",
"type": "string"
}
},
"title": "BedrockLogsParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/BedrockLogsParams"
}
},
"required": [
"params"
],
"title": "get_bedrock_daily_usage_statsArguments",
"type": "object"
}