Skip to main content
POST
/
v2
/
agents
/
{key}
/
card
/
refresh
Refresh A2A agent card
curl --request POST \
  --url https://api.orq.ai/v2/agents/{key}/card/refresh \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({})
};

fetch('https://api.orq.ai/v2/agents/{key}/card/refresh', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.orq.ai/v2/agents/{key}/card/refresh"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "message": "<string>",
  "card": "<unknown>"
}
{
  "message": "<string>"
}
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key
string
required

The unique key identifier of the agent

Body

application/json

The body is of type object.

Response

Agent card refreshed successfully

message
string
required
card
any