> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domesystems.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Gateway



## OpenAPI

````yaml POST /dome.gateway.v1.GatewayService/CreateGateway
openapi: 3.0.3
info:
  title: Dome Platform API
  description: Connect and REST APIs for the Dome agent governance platform.
  version: 2.0.0
servers:
  - url: https://api.domesystems.ai
    description: Production
security: []
tags:
  - name: Agents
  - name: Authorization
  - name: Guards
  - name: Tools
  - name: Tool Catalog
  - name: Models
  - name: Model Pools
  - name: Quotas
  - name: Gateways
  - name: Webhooks
  - name: Audit
  - name: Workspaces
  - name: Access Control
  - name: Tenants
  - name: Platform Keys
  - name: Enrollment
  - name: Platform
  - name: Identity
paths:
  /dome.gateway.v1.GatewayService/CreateGateway:
    post:
      tags:
        - Gateways
      summary: Create a Gateway
      operationId: GatewayService_CreateGateway
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateGatewayRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateGatewayResponse'
components:
  schemas:
    CreateGatewayRequest:
      type: object
      properties:
        workspace_id:
          type: string
        name:
          type: string
        description:
          type: string
    CreateGatewayResponse:
      type: object
      properties:
        gateway:
          $ref: '#/components/schemas/Gateway'
    Gateway:
      type: object
      properties:
        id:
          type: string
        workspace_id:
          type: string
        name:
          type: string
        description:
          type: string
        state:
          type: string
          description: >-
            One of: active | disabled. A disabled Gateway fails closed at its
            endpoint.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        grant_all_workspace_agents:
          type: boolean
          description: >-
            Whether every current and future workspace agent has an all-agents
            grant for this Gateway.
        is_default:
          type: boolean
          description: >-
            Whether this is the workspace's preselected Gateway. This marker
            grants no access.
        endpoints:
          $ref: '#/components/schemas/GatewayEndpoints'
      description: >-
        A workspace-scoped Gateway with explicit callable-resource membership
        and complete protocol endpoints.
    GatewayEndpoints:
      type: object
      properties:
        gateway_id:
          type: string
        gateway_url:
          type: string
          description: Complete call-ready Gateway base URL.
        mcp_url:
          type: string
          description: Complete MCP endpoint URL.
        openai_base_url:
          type: string
          description: Complete OpenAI-compatible base URL.
        anthropic_base_url:
          type: string
          description: Complete Anthropic-compatible base URL.

````