Info API
Get statistics and information about your plate for monitoring
The Info API provides statistics and information about your plate - useful for monitoring and debugging!
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /{plateId}/info | Get plate statistics |
What Does Info Show?
The Info endpoint gives you:
- keyCount: Total number of keys in your plate
- memoryUsageBytes: Estimated memory used by your data
This helps you:
- Monitor storage usage
- Plan capacity
- Debug performance issues
Get Plate Info
const plateId = "[id]";
const apiKey = "your-api-key";
const baseUrl = "[base-url]";
const response = await fetch(`${baseUrl}/${plateId}/info`, {
method: "GET",
headers: {
"Authorization": apiKey
}
});
const info = await response.json();
// { keyCount: 150, memoryUsageBytes: 5242880 }
console.log(info);Response Fields
| Field | Type | Description |
|---|---|---|
| keyCount | number | Total number of keys in the plate |
| memoryUsageBytes | number | Estimated memory usage in bytes |
Example Output
{
"keyCount": 150,
"memoryUsageBytes": 5242880
}