Make your product agent-ready
API Surface
HTTP, OpenAPI, and service contracts that agents can discover and call reliably
Last verified 2026-09-24
Summary
API Surface is the contract layer for HTTP services: , operation semantics, workflow descriptions, extensions, versioning, and event delivery. Use it when agents need to discover or generate calls against a web API without guessing from prose.
- Owns: HTTP APIs, OpenAPI 3.1/3.2, workflows, , API versioning, and machine-readable service contracts.
- Does not own: cross-framework tool registry design; see Tool Design. protocol servers; see MCP Servers.
- Agent-ready means: complete schemas, stable operation IDs, explicit safety/idempotency semantics, structured errors, and versioned behavior.
Start Here
- OpenAPI for Agents - Make the API spec the source of truth for agent calls.
- Tool Definitions - Translate HTTP operations into clear generated tools.
- Arazzo Workflows - Document multi-step API sequences agents should not infer.
- OpenAPI Extensions - Add agent-facing metadata without breaking the base contract.
- API Versioning - Keep agents pinned to stable behavior.
- Webhooks and Events - Expose asynchronous state changes agents can react to.
Related
- Tool Design - Hand-authored or framework-portable tool definitions.
- MCP Servers - Protocol-specific exposure of tools, resources, and prompts.
- Error Handling - Problem Details and retry guidance for API failures.
- Authentication - Credentials, scopes, and delegated access for agent callers.
- Discovery - Public routes that help agents find API specs and catalogs.
Retrieval and lifecycle behavior
Retrieval and Job Contracts covers REST and , asynchronous jobs, bulk operations, partial errors, schema completeness, and client compatibility.