{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sealgate-ai/json-schema/sealgate-ai-approve-mcp-request-response-schema.json",
  "title": "ApproveMcpRequestResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sealgate-ai-admin-api-openapi.yml#/components/schemas/ApproveMcpRequestResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Operation result",
      "default": "success"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "Human-readable message"
    },
    "server_id": {
      "type": "integer",
      "title": "Server Id",
      "description": "Created server ID"
    },
    "request_id": {
      "type": "integer",
      "title": "Request Id",
      "description": "Approved request ID"
    },
    "server_name": {
      "type": "string",
      "title": "Server Name",
      "description": "Final (sanitized) name of the created server. Lets the dashboard continue straight into the post-approve setup steps (the setup stepper resolves OAuth status via GET /mcp/oauth/status/{name})."
    }
  },
  "type": "object",
  "required": [
    "message",
    "server_id",
    "request_id",
    "server_name"
  ]
}