管理
列出 Webhook 傳送記錄
需要 Workspace Management Token (mt-...),請至 Dashboard > API > Management Tokens 建立。請發送 Authorization: Bearer mt-....。不接受 Inference API keys (sk-...) 和 webhook 簽章密鑰 (whsec_...)。僅可存取該 token 所屬的 workspace。回傳每個事件與端點的累計嘗試次數及最新結果。先前已確認的傳送即使後續有重複傳送失敗,仍視為已傳送。歷史紀錄不包含 payload 或簽章密鑰;不提供手動重新執行操作。
GEThttps://api.tokenlab.sh/v1/management/webhooks/{webhookId}/deliveries
請使用工作區 Management Token (mt-...),而非推理 API 金鑰 (sk-...) 或簽章密鑰 (whsec_...)。您可以前往 Dashboard → API → Management Tokens 建立 Token,並透過 Authorization: Bearer mt-... 進行傳送。存取權限僅限於該工作區。
關於事件、驗證、重試與疑難排解,請參閱 Webhook 管理 API 指南。
curl -X GET "https://example.com/v1/management/webhooks/string/deliveries"{ "object": "list", "data": [ { "id": "string", "webhook_id": "string", "delivery_id": "string", "event_type": "string", "outcome": "delivered", "http_status": 0, "attempts": 0, "delivered_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z" } ], "pagination": { "page": 0, "limit": 0, "total": 0, "total_pages": 0 }}授權
ManagementTokenAuth AuthorizationBearer <token>
管理權杖驗證。請在 Dashboard > API > Management Tokens 建立或管理管理權杖。
位置: header
路徑參數
webhookId*string
長度
1 <= length <= 128查詢參數
page?integer
範圍
1 <= value預設值
1limit?integer
範圍
1 <= value <= 100預設值
50回應
application/json
application/json
application/json
application/json
application/json
application/json