---
title: "Get publish impact"
method: GET
path: "/v3/ai-agents/{agent_id}/publish-impact"
tags: ["v3", "ai-agents"]
---

# Get publish impact

`GET /v3/ai-agents/{agent_id}/publish-impact`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/ai-agents/{agent_id}/publish-impact`
- Auth: HTTP bearer

Returns a summary of active workflows that will be affected when the agent's draft is published.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `mentium-workspace-id` string, nullable

## Response `200`

Successful Response

- AIAgentPublishImpactResponse: Impact summary returned before confirming a publish.
  - `has_impact` boolean, required: True when at least one active workflow references this agent.
  - `impacted_workflow_count` integer: Number of active workflows that use this agent.
  - `impacted_workflows` ImpactedWorkflowRef[]: List of impacted active workflows.
    - `workflow_id` string, required
    - `workflow_name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mentium/apis/mentium-api.md) - [All operations](https://skmtc.dev/mentium/apis/mentium-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mentium/apis/mentium-api/revisions/b4ed8e59432e?raw)
