---
title: "Make Agent Public"
method: POST
path: "/v1/agents/{agent_id}/make_public"
tags: ["[beta] A2A Agents"]
---

# Make Agent Public

`POST /v1/agents/{agent_id}/make_public`

Make an agent publicly discoverable

Example Request:
```bash
curl -X POST "http://localhost:4000/v1/agents/123e4567-e89b-12d3-a456-426614174000/make_public" \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Content-Type: application/json"
```

Example Response:
```json
{
    "agent_id": "123e4567-e89b-12d3-a456-426614174000",
    "agent_name": "my-custom-agent",
    "litellm_params": {
        "make_public": true
    },
    "agent_card_params": {...},
    "created_at": "2025-11-15T10:30:00Z",
    "updated_at": "2025-11-15T10:35:00Z",
    "created_by": "user123",
    "updated_by": "user123"
}
```

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- AgentMakePublicResponse
  - `message` string, required
  - `public_agent_groups` string[], required
  - `updated_by` string, required

## Other responses

- `422` — Validation Error

## Changes

> 14 revisions in range; 4 could not be searched.

- **2026-08-29** `404bba17aabe` — 2 info
  - api tag `[beta] A2A Agents` added
  - api tag `agents` removed
- **2026-08-11** `64da173199de` — 2 info
  - api tag `[beta] A2A Agents` added
  - api tag `agents` removed

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/agents/:agent_id/make_public/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/404bba17aabe/schema)
