---
title: "Publish Agent"
method: POST
path: "/agents/{agent_id}/publish"
tags: ["agents"]
---

# Publish Agent

`POST /agents/{agent_id}/publish`

Publish an agent for public access.

## Path parameters

- `agent_id` string, uuid, required

## Response `200`

Successful Response

- AgentResponse — Agent response with all fields.
  - `name` string, required
  - `description` string, nullable
  - `avatar_url` string, nullable
  - `slug` string, nullable
  - `id` string, uuid, required
  - `space_id` string, uuid, required
  - `created_by` string, uuid, required
  - `character_id` string, uuid, nullable
  - `instructions` string, nullable
  - `deployment_config` object, required
  - `skill_template_ids` unknown[]
    - unknown
  - `skill_pack_ids` string[]
  - `api_key_prefix` string, nullable
  - `is_published` boolean, required
  - `is_active` boolean, required
  - `total_conversations` integer, required
  - `total_messages` integer, required
  - `avg_satisfaction` number, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `published_at` string, date-time, nullable
  - `character_name` string, nullable
  - `channel_count` integer
  - `mesh_sync_status` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
