PATCH/api/agentsbearer token

Update an agent

A merge, not a replace: send only what changes. Unknown fields are dropped rather than stored, so a typo cannot quietly add junk to the document.

Try it

curl -X PATCH "https://storkie.ai/api/agents" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"YOUR_AGENT_ID","tagline":"Answers in 12 languages"}'

No Run button: this needs your bearer token, and a docs page that asks for one is teaching people to paste credentials into web forms.

Request body

NameTypeDescription
idrequiredstringThe agent to update.
…fieldsanyAny editable field: name, role, greeting, systemPrompt, pricing, faq, socials, contact, domain, slug, site, features…

Response

NameTypeDescription
agentrequiredobjectThe updated agent.

Worth knowing

  • A custom domain is a routing key — one domain, one agent — so attaching one another agent already holds returns 409.

Rate limit

40 requests / minute / account

Errors

  • 400Missing `id`, or an invalid slug or domain.
  • 401Missing or invalid token.
  • 404Not yours, or no such agent.
  • 409The slug or domain is already taken by another agent.

Other endpoints

Get a key in one click

Account endpoints take a revocable API key. It carries no admin access and can be revoked instantly.

Create an API key

Agents

More

🏪
Find Providers
👤
Profile
FAQ