GET /api/zsc/info/:name
Returns the same per-row metadata as /list but for one
named secret. Useful for the admin UI's drawer view, CLI context info <name>, or scripted checks before a grant/revoke.
Auth
Admin cookie (zeq_admin) required.
Path parameters
| Param | Type | Notes |
|---|---|---|
name | string | The vault key. URL-encode if it contains slashes (avoid them anyway). |
Request
curl -H "Cookie: zeq_admin=$ADMIN_JWT" \
https://YOUR-FRAMEWORK/api/zsc/info/STRIPE_SECRET_KEY
Response · 200 OK
{
"ok": true,
"secret": {
"id": "01928f44-...",
"name": "STRIPE_SECRET_KEY",
"purpose_tag": "payments",
"bound_zid": "ZEQ-FOUNDATION",
"expires_zeqond": 2289676900,
"last_read_zeqond": 2289605501,
"read_count": 47,
"permissions": ["ZEQ07111111111"],
"created_at": "2026-05-10T12:00:00.000Z",
"updated_at": "2026-05-17T13:09:01.000Z"
}
}
Field reference identical to /list.
Errors
| Status | error | Cause |
|---|---|---|
400 | name required | Empty path segment. |
401 | unauthorized | Admin cookie missing/invalid. |
404 | NOT_FOUND | No row with this name. |
500 | INTERNAL_ERROR | DB unreachable. |
Related
GET /api/zsc/list— all secretsGET /api/zsc/audit/:name— chain history for this secretPOST /api/zsc/probe-permission— test ZID-level read access without exposing plaintext