SmallPlate

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

MethodEndpointDescription
GET/{plateId}/infoGet 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

FieldTypeDescription
keyCountnumberTotal number of keys in the plate
memoryUsageBytesnumberEstimated memory usage in bytes

Example Output

{
  "keyCount": 150,
  "memoryUsageBytes": 5242880
}

On this page