Design or review the API for: $ARGUMENTS
Steps:
- Gather requirements from the codebase and any existing API patterns
- Design endpoints following REST conventions (or GraphQL schema)
- Define request/response schemas with types
- Document error responses and status codes
- Write or update OpenAPI spec if applicable