sdk-v3

Rename Agent

Rename one named agent.

The id is what the SDK passes, so a rename changes how runs select this agent: steps naming the old id stop resolving. The default agent is the contract for "no agent id was sent" and cannot be renamed.

patch/v3/sdk/agents/{agent_id}

Request

  • Base URL: https://api.pandas-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pandas-ai.com/v3/sdk/agents/{agent_id}
  • Auth: none declared

Path parameters

agent_idstring required

Request body

agent_idstring required

The agent's new id

Response

Successful Response

agent_idstring required
contentstring required
is_defaultboolean required

True when the agent serves the built-in default persona (no customized content is stored)

updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.