Skip to Content
Xeonr Developer Docs
API SpecificationTopics

List keys

POST
/xeonr.notify.v1.TopicService/ListKeys

A topic's publish keys, by prefix — the secrets are not returned, here or anywhere after creation. Needs manage on the topic.

Cursor-paginated: newest first, over an opaque cursor over (created_at, id). limit is clamped to 500 (0 means the default of 50); pass next_cursor back as cursor for the next page.

Required scopes: notify:topics:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token from Xeonr Auth, presented as Authorization: Bearer <token>. Its audience must include https://notify.xeonr.io, and it must carry the scope the method lists.

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

topicId?string
Length1 <= length <= 32
cursor?string

Cursor is opaque, empty for the first page. The keyset is (created_at, id) descending.

Lengthlength <= 256
limit?integer

Limit is clamped to 500; zero means the default of 50.

Rangevalue <= 500
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://notify.xeonr.io/xeonr.notify.v1.TopicService/ListKeys" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "keys": [
    "map[createdAt:2026-09-14T08:00:00Z createdBy:urn:xeonr:auth:uid:user:3 expiresAt:2027-10-22T00:00:00Z id:a1b2c3d4e5f64a7b8c9d0e1f2a3b4c5d identityUrn: label:CI builds lastUsedAt:2026-10-22T09:30:00Z prefix:xk_7Qm2pL9a topicId:tp_3f9a1c7e2b8d4a6f0c5e9b12]"
  ],
  "nextCursor": "MTc5MjY2MTQwMDAwMDAwMC5hMWIyYzNkNGU1ZjY0YTdiOGM5ZDBlMWYyYTNiNGM1ZA"
}