Datasets:
|
Download evals/query-review/dev/cypher-batch-the-api-key-cleanup/files/docs/model.md from erdostack/bench: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/datasets/erdostack/bench/resolve/main/evals/query-review/dev/cypher-batch-the-api-key-cleanup/files/docs/model.md
- Command line
-
hf download hf://datasets/erdostack/bench/evals/query-review/dev/cypher-batch-the-api-key-cleanup/files/docs/model.md
-
curl -L -o model.md https://huggingface.co/datasets/erdostack/bench/resolve/main/evals/query-review/dev/cypher-batch-the-api-key-cleanup/files/docs/model.md
492 Bytes
| # Model | |
| - `(:Tenant {tenantId})-[:OWNS]->(:ApiKey {keyId, tenantId, state, createdAt, expiresAt})` | |
| - `(:ApiKey)-[:FOR_APP]->(:App {appId})` | |
| - `(:ApiKey)-[:USED {day, calls}]->(:UsageDay)`: daily usage, kept 90 days | |
| `state` is `active`, `expired` or `revoked`. Counts (2026-11-15): 41 million keys for 380,000 | |
| tenants; 3.1 million revoked and 9.6 million expired across the platform. `tenantId` is copied | |
| onto the key so the gateway can check it without a hop; index `api_key_tenant` on it. | |