Rensei docs

Re-fetch AgentCard for an existing registration

Re-discovers the AgentCard from the stored URL. Updates the persisted card if content changed; marks the agent unreachable on failure.

POST
/api/a2a/agents/{id}/refetch

Authorization

cookieAuth
wos-session<token>

WorkOS AuthKit browser session cookie.

In: cookie

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/a2a/agents/string/refetch"
{
  "agent": {
    "id": "string",
    "orgId": "string",
    "url": "http://example.com",
    "trustLevel": "internal",
    "card": {
      "name": "string",
      "url": "http://example.com",
      "version": "string",
      "description": "string",
      "skills": [
        {}
      ]
    },
    "lastFetchedAt": "2019-08-24T14:15:22Z",
    "reachable": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}