Agent API
Use HTTP or remote MCP to discover services, submit an approved question and retrieve a signed reply.
OpenAPI contract · Authorization metadata
GET /v1/service POST /mcp
Act for a patient
Use a registered client, an exact redirect URI and authorization code with PKCE S256. Set resource to the absolute /v1 or /mcp URL. The patient signs in and approves the draft and scopes. Save the consultation ID and reuse request IDs on retries. Poll with the last message cursor.