Create a CI binding
Create a binding linking a wallet-signed delegation to a GitHub OIDC subject pattern + project + capability scope. Optional route_scopes delegate narrow Web Routes changes such as /admin and /admin/*; omitted means no route authority. The body's signed_delegation is a SIWE/SIWX-shaped wallet-signed message verified byte-for-byte against canonical Statement and Resources builders (services/ci-bindings.ts). Position-A trust model: deployed function code runs with the project's runtime authority (RUN402_SERVICE_KEY, adminDb(), configured secrets) — disclosed verbatim in the wallet-UI consent text. Out of scope for v1: secrets_set, domain_bind, subdomain_claim, lifecycle/billing/contracts/faucet calls; non-EVM wallets; non-GitHub federation.
Request
- Base URL: https://api.run402.com
- URL: https://api.run402.com/ci/v1/bindings
- Auth: API key in header SIGN-IN-WITH-X
Headers
SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.
Request body
Response
Binding created
Changes
No recorded changes to this operation across all 1 revision of this API.