ApiApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
| Method | HTTP request | Description |
|---|---|---|
| getApiTelemetrySnapshot | GET ApiApi | Get API telemetry snapshot |
getApiTelemetrySnapshot
ApiMetricsResponse
getApiTelemetrySnapshot(customerIdorganizationIdtopN)
Get API telemetry snapshot
Returns endpoint telemetry, recent events, and KPI rollups keyed by customer and organization identities.
Example
Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.ApiApi;
ApiApi apiInstance = new ApiApi();
String customerId = "customerId_example"; // String | Optional customer/account identity filter.
String organizationId = "organizationId_example"; // String | Optional organization/tenant identity filter.
Integer topN = 56; // Integer | Optional cap for endpoint and recent event arrays.
try {
ApiMetricsResponse result = apiInstance.getApiTelemetrySnapshot(customerIdorganizationIdtopN);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiApi#getApiTelemetrySnapshot");
e.printStackTrace();
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| customerId | String | Optional customer/account identity filter. | [optional] |
| organizationId | String | Optional organization/tenant identity filter. | [optional] |
| topN | Integer | Optional cap for endpoint and recent event arrays. | [optional] |
Return type
ApiMetricsResponse
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
Generated Version Details
| ~ | value |
|---|---|
| GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT |
| API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
| GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
| GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
| GENERATED DATE | 2026-05-16T11:45:23.900207-07:00[America/Los_Angeles] |