---
title: "Create Dome Config"
method: POST
path: "/v1/dome-configs"
tags: ["Dome", "dome-configs"]
---

# Create Dome Config

`POST /v1/dome-configs`

Create a new Dome configuration.

If no config_body is provided, uses the default configuration.
A dome config is standalone and can be assigned to multiple agents via the agent's dome_config_id.

## Query parameters

- `team_id` string, uuid, required — Team ID (required)

## Request body

- DomeConfigCreate — Request model for creating a Dome configuration.
  - `config_body` object, nullable — Guard configuration. If not provided, uses default config.
  - `agent_id` string, uuid, nullable — Agent to bind this config to. When set, writes config_pending.json to storage.

## Response `201`

Successful Response

- DomeConfigResponse — API response model for Dome configuration. ``id`` and optional ``agent_id`` are top-level fields. ``config_body`` is the guard configuration dict (Dome-facing payload). Other metadata (e.g. team_id, timestamps, created_by) is included in the wire shape as returned by the domain model's ``to_wire()`` — see OpenAPI schema for the full response shape.
  - `id` string, uuid, required
  - `status` string
  - `agent_id` string, uuid, nullable
  - `config_body` object
  - `dome_instance_url` string, nullable
  - `created_at` integer, required
  - `created_by` string, uuid, required
  - `updated_at` integer, nullable
  - `updated_by` string, uuid, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/vijilai/apis/vijil-console-api-combined.md) · [All operations](https://skmtc.net/vijilai/apis/vijil-console-api-combined/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vijilai/vijil-console-api-combined/versions/a8b2ee2b2d06/schema)
