openapi: 3.2.0 info: title: AI Gateway MCP Server Document Review API description: Universal MCP Gateway with OAuth integration - Modern Architecture version: 2.0.3290 tags: - name: Document Review paths: /api/v1/document-review/{review_id}: get: summary: Document Review Page Endpoint description: The human review page (browser shell; data loads token-gated). operationId: document_review_page_endpoint_api_v1_document_review__review_id__get parameters: - name: review_id in: path required: true schema: type: string title: Review Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Document Review /api/v1/document-review/{review_id}/data: get: summary: Document Review Data Endpoint description: Full review payload for the human reviewer (browser only). operationId: document_review_data_endpoint_api_v1_document_review__review_id__data_get parameters: - name: review_id in: path required: true schema: type: string title: Review Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Document Review /api/v1/document-review/{review_id}/decide: post: summary: Document Review Decide Endpoint description: 'Apply the human decision: toggles, additions, approve/reject.' operationId: document_review_decide_endpoint_api_v1_document_review__review_id__decide_post parameters: - name: review_id in: path required: true schema: type: string title: Review Id responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Document Review components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type input: title: Input ctx: type: object title: Context type: object required: - loc - msg - type title: ValidationError