---
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

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/1e929292ddd5/schema)
