管理
查询 Webhook 投递记录
需要工作区 Management Token (mt-...),可在 Dashboard > API > Management Tokens 中创建。发送 Authorization: Bearer mt-....。不支持 Inference API keys (sk-...) 和 Webhook 签名密钥 (whsec_...)。仅可访问该 token 所属的工作区。返回每个事件和端点的累计尝试次数及最新结果。已确认的投递即使后续重复投递失败,仍视为已投递。历史记录不包含负载或签名密钥;不提供手动重放操作。
GEThttps://api.tokenlab.sh/v1/management/webhooks/{webhookId}/deliveries
使用工作区管理令牌 mt-…,不是模型调用 Key sk-…,也不是签名密钥 whsec_…。在 Dashboard → API → Management Tokens 创建,以 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