GetUsageLambdaTracedInvocations
Retrieve hourly usage data for Lambda traced invocations within a specified time range using ISO-8601 UTC timestamps. Note: This endpoint is deprecated; use the Get hourly usage by product family API instead.
Instructions
Get hourly usage for Lambda traced invocations. Note: This endpoint has been deprecated.. Hourly usage data for all products is now available in the Get hourly usage by product family API
Query Parameters:
start_hr (Required): Datetime in ISO-8601 format, UTC, precise to hour:
[YYYY-MM-DDThh]for usage beginning at this hour.end_hr: Datetime in ISO-8601 format, UTC, precise to hour:
[YYYY-MM-DDThh]for usage ending before this hour.
Responses:
200 (Success): OK
Content-Type:
application/json;datetime-format=rfc3339Response Properties:
data: Response containing Lambda Traced Invocations usage.
Example:
{
"data": [
"unknown_type"
]
}400: Bad Request
Content-Type:
application/json;datetime-format=rfc3339Response Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}403: Forbidden - User is not authorized
Content-Type:
application/json;datetime-format=rfc3339Response Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}429: Too many requests
Content-Type:
application/json;datetime-format=rfc3339Response Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_hr": "<start_hr>"
},
"name": "GetUsageLambdaTracedInvocations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_hr | No | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. | |
| start_hr | Yes | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response containing Lambda Traced Invocations usage. |