{"openapi":"3.1.0","info":{"title":"GitHub Webhooks (BYOK) API","version":"0.1.0","description":"GitHub Webhooks (BYOK) lets an AI assistant read your own GitHub Webhooks data through the GitHub Webhooks API with a key you supply (GitHub personal access token (admin:org_hook scope for organizations, admin:repo_hook or repo for repositories)). Read-only: 5 tools (list_org_webhooks, get_org_webhook, list_org_webhook_deliveries, get_repo_webhook, list_repo_webhook_deliveries). The BYOK key...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-github-webhooks.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-github-webhooks/docs"},"termsOfService":"https://connectorbay.com/byok-github-webhooks/terms"},"servers":[{"url":"https://byok-github-webhooks.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-github-webhooks/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_org_webhooks":{"post":{"operationId":"list_org_webhooks","summary":"List an organization's webhooks with subscribed events, active flag and content type; the target URL and secret are left","description":"List an organization's webhooks with subscribed events, active flag and content type; the target URL and secret are left out. Use for \"Which webhooks does octo-org have and which events do they send\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many results to return (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["org"],"title":"list_org_webhooksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_org_webhook":{"post":{"operationId":"get_org_webhook","summary":"Get one organization webhook's events, active flag and content type; the target URL and secret are left out. Use for \"De","description":"Get one organization webhook's events, active flag and content type; the target URL and secret are left out. Use for \"Describe webhook 12345678 of octo-org\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"hook_id":{"description":"Numeric ID of the webhook (from the webhook list).","title":"Hook Id","type":"integer"}},"required":["org","hook_id"],"title":"get_org_webhookArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_org_webhook_deliveries":{"post":{"operationId":"list_org_webhook_deliveries","summary":"List recent deliveries of an organization webhook with event, action, HTTP status code, duration and time; payloads are ","description":"List recent deliveries of an organization webhook with event, action, HTTP status code, duration and time; payloads are not included. Use for \"Did the latest deliveries of org webhook 12345678 in octo-org succeed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"org":{"description":"Organization login, for example 'octo-org'.","maxLength":200,"title":"Org","type":"string"},"hook_id":{"description":"Numeric ID of the webhook (from the webhook list).","title":"Hook Id","type":"integer"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many deliveries to return (1 to 100, default 30).","title":"Per Page"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from the previous answer's Link header to fetch the next page of deliveries.","title":"Cursor"},"status":{"anyOf":[{"enum":["success","failure"],"type":"string"},{"type":"null"}],"default":null,"description":"Only deliveries with this outcome: success or failure.","title":"Status"}},"required":["org","hook_id"],"title":"list_org_webhook_deliveriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_repo_webhook":{"post":{"operationId":"get_repo_webhook","summary":"Get one repository webhook's events, active flag, content type and the result of its last delivery; the target URL and s","description":"Get one repository webhook's events, active flag, content type and the result of its last delivery; the target URL and secret are left out. Use for \"Is webhook 12345678 of octocat/Hello-World healthy\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"owner":{"description":"Account that owns the repository (user or organization login), for example 'octocat'.","maxLength":200,"title":"Owner","type":"string"},"repo":{"description":"Repository name without the owner, for example 'Hello-World'.","maxLength":200,"title":"Repo","type":"string"},"hook_id":{"description":"Numeric ID of the webhook (from the webhook list).","title":"Hook Id","type":"integer"}},"required":["owner","repo","hook_id"],"title":"get_repo_webhookArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_repo_webhook_deliveries":{"post":{"operationId":"list_repo_webhook_deliveries","summary":"List recent deliveries of a repository webhook with event, action, HTTP status code, duration and time; payloads are not","description":"List recent deliveries of a repository webhook with event, action, HTTP status code, duration and time; payloads are not included. Use for \"Which deliveries of webhook 12345678 on octocat/Hello-World failed\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"owner":{"description":"Account that owns the repository (user or organization login), for example 'octocat'.","maxLength":200,"title":"Owner","type":"string"},"repo":{"description":"Repository name without the owner, for example 'Hello-World'.","maxLength":200,"title":"Repo","type":"string"},"hook_id":{"description":"Numeric ID of the webhook (from the webhook list).","title":"Hook Id","type":"integer"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"How many deliveries to return (1 to 100, default 30).","title":"Per Page"},"cursor":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Cursor from the previous answer's Link header to fetch the next page of deliveries.","title":"Cursor"},"status":{"anyOf":[{"enum":["success","failure"],"type":"string"},{"type":"null"}],"default":null,"description":"Only deliveries with this outcome: success or failure.","title":"Status"}},"required":["owner","repo","hook_id"],"title":"list_repo_webhook_deliveriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}