POST/api/agentsbearer token

Create an agent

Creates an agent with sensible defaults for anything you leave out, so a name and a role are enough to get something that works.

Try it

curl -X POST "https://storkie.ai/api/agents" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Support bot","role":"Answers product questions"}'

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
namerequiredstringDisplay name.
rolestringWhat it does, in a sentence.
useCasestringPreset to start from.

Response

NameTypeDescription
agentrequiredobjectThe created agent, including its `id`.

Rate limit

40 requests / minute / account

Errors

  • 400 β€” Missing `name`.
  • 401 β€” Missing or invalid token.
  • 429 β€” Rate limited.

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