Get usage statistics
Monitoring
Get Usage Statistics
Retrieve comprehensive usage statistics including total invocations and response times.
GET
Get usage statistics
Retrieve comprehensive usage statistics including total requests, success rates, and credit consumption.
Example Request
Response
Statistics Overview
- totalRequests: Total number of requests scheduled
- successfulRequests: Number of successfully executed requests
- failedRequests: Number of failed requests
- pendingRequests: Number of pending/scheduled requests
- successRate: Success rate as a percentage (0-100)
- creditsUsed: Total credits consumed
- creditsRemaining: Credits currently available
Use Cases
- Performance Monitoring: Track success rates and identify trends
- Reporting: Generate usage reports for stakeholders
- Optimization: Identify patterns to improve reliability
- Planning: Forecast credit needs based on historical usage
Authorizations
API key authentication. Include your API key in the x-api-key header.
Query Parameters
Start date for statistics (ISO 8601 format)
Example:
"2024-11-01T00:00:00Z"
End date for statistics (ISO 8601 format)
Example:
"2024-12-01T00:00:00Z"
Response
Usage statistics
Total number of invocations
Example:
150
Number of successfully executed invocations
Example:
135
Number of failed invocations
Example:
15
Average response time in milliseconds
Example:
245.5

