{"openapi":"3.1.0","info":{"title":"ZEV UK scoped agent pilot","version":"0.3.0","description":"Synthetic GBP project choice only. The user creates a session and approves bounded delegation in the UI. Keep the capability in a trusted executor, not in model prompts or URLs."},"servers":[{"url":"https://zev-uk-pilot-20261126-skwx3z2gxa-nw.a.run.app"}],"paths":{"/.well-known/zev-uk-agent.json":{"get":{"operationId":"readUkProjects","security":[],"responses":{"200":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent/context":{"get":{"operationId":"readMyGrant","security":[{"ScopedAgentCapability":[]}],"responses":{"200":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"410":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent/receipt":{"get":{"operationId":"readMyReceipt","security":[{"ScopedAgentCapability":[]}],"responses":{"200":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"410":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/agent/choose":{"post":{"operationId":"chooseUkProject","security":[{"ScopedAgentCapability":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"project_id":{"type":"string","enum":["reading-solar-battery","punl-camden-schools"]},"request_id":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-zA-Z0-9][a-zA-Z0-9_.:-]{0,99}$"}},"required":["project_id","request_id"],"additionalProperties":false}}}},"responses":{"200":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"410":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}},"503":{"description":"Capability-bound result or explicit error","content":{"application/json":{"schema":{"type":"object"}}}}}}}},"components":{"securitySchemes":{"ScopedAgentCapability":{"type":"http","scheme":"bearer","bearerFormat":"user-granted single-session synthetic project-choice capability"}}},"x-mcp":{"url":"https://zev-uk-pilot-20261126-skwx3z2gxa-nw.a.run.app/mcp","transport":"streamable-http","protocolVersions":["2025-11-25","2025-06-18","2025-03-26"],"authentication":"authorization code + PKCE S256 via protected resource metadata; pre-provisioned capability also supported"},"x-scope":{"canCompleteAsOwner":false,"canTransferFunds":false,"canMint":false,"canExpandBudget":false,"canDelegate":false}}