curl https://upstash.com/start-redis/metrics/<database-id> \ -H "User-Agent: <your-agent-name>"Get Metrics
Returns usage metrics for a database created with start-redis.
1 min read
gethttps://upstash.com/start-redis/metrics/{id}
gethttps://upstash.com/start-redis/metrics/{id}
This endpoint does not require authentication. It returns usage metrics for
a free database created with
POST /start-redis, so an agent
can check how the database is being used without a console login.
Request#
The database ID: the UUID you sent as Idempotency-Key when creating the
database, or the ID returned in the response if you omitted it.
The name of the agent making the request, for example claude-code.
Response#
Seconds since the database was created.
When the database will be deleted unless claimed, as an ISO 8601 timestamp.
The console page where a user can view usage and claim the database.
Total number of commands executed.
Command throughput over the last minute.
Number of keys in the database.
Memory used by the data, in bytes.
Total bytes received by the database.
Total bytes sent by the database.
Returns 404 Not Found if no database exists with that ID.