---
title: "Refresh external agent card"
method: POST
path: "/v2/agents/external/{agent_key}:refreshCard"
tags: ["Agents"]
---

# Refresh external agent card

`POST /v2/agents/external/{agent_key}:refreshCard`

## Request

- Base URL: `https://my.orq.ai`
- URL: `https://my.orq.ai/v2/agents/external/{agent_key}:refreshCard`
- Auth: HTTP bearer

Securely fetches the current agent card and replaces the cached card metadata.

## Path parameters

- `agent_key` string, required

## Request body

- RefreshExternalAgentCardRequest

## Response `200`

OK

- RefreshExternalAgentCardResponse
  - `agent` ExternalAgent
    - `agent_id` string, required
    - `key` string, required
    - `display_name` string, required
    - `description` string, required
    - `path` string, required
    - `project_id` string, required
    - `agent_url` string, required
    - `card_url` string
    - `headers` object, required
    - `protocol_version` string, required
    - `preferred_transport` string, required
    - `cached_card` object, required
    - `card_refreshed_at` string, date-time
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `created_by_id` string, required
    - `updated_by_id` string, required
    - `version` string, required

## Other responses

- `401`: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.

## Changes

> 554 revisions in range; 71 not diffed.

- **2026-10-23** `0b4e519a544f`: 1 info
  - endpoint added
- **2026-10-23** `732aed62833a`: 1 breaking
  - api path removed without deprecation
- **2026-10-22** `4f826b2c3a0e`: 1 info
  - endpoint added
- **2026-10-22** `8f0dc569f247`: 1 breaking
  - api path removed without deprecation
- **2026-10-21** `08b800d640e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/orq-ai/apis/orq-ai-api/changes/v2/agents/external/:agent_key:refreshCard/post.md)

---

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