Check access key
check_accessVerify an access key and report what it unlocks. Returns valid:true/false; when valid, the tier, when it was created, the premium slugs it unlocks, and whether it grants the gated /api/corpus.full.jsonl + get_full_corpus deliverable (corpus, corpus-annual and enterprise tiers only). Never returns the key, email, or Stripe session. Use this to confirm a freshly-purchased key works before relying on it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>"
},
"name": "check_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Access key to verify (cg_...) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | ||
| valid | Yes | ||
| corpus_version | Yes |