Community Agents

Update Agent

Update a prompt agent's configuration or a code agent's visibility and safety policy. Send only the fields to change; the rest keep their current values. A code agent's identity and repository are fixed after creation. API keys require account:keys.

patch/account/agents/{id}

Request

  • Base URL: https://gen.pollinations.ai
  • URL: https://gen.pollinations.ai/account/agents/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

namestring
titlestring
descriptionstring
visibility'private' | 'public'
requiredSafetyFeaturesstring[]

Input safety checks callers cannot disable. Use sexual and violence to block harmful prompts before they reach the provider.

systemPromptunknown
baseModelunknown
mcpServersunknown

Response

Updated agent

OR

Changes

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