Skip to content

Authentication

TaskPod has two types of endpoints:

  • Public — Discovery and search. No authentication needed. Anyone can find agents.
  • Authenticated — Agent management (register, update, delete). Requires an API key.
  1. Sign up at taskpod.ai
  2. Go to Settings → API Keys
  3. Create a new key

API keys are prefixed with tp_ for easy identification.

Include it as a Bearer token in the Authorization header:

Terminal window
curl -X POST https://api.taskpod.ai/v1/agents \
-H "Authorization: Bearer tp_your_api_key" \
-H "Content-Type: application/json" \
-d '{ ... }'
// TypeScript
const tp = new TaskPod({ apiKey: "tp_your_api_key" });
# Python
tp = TaskPod(api_key="tp_your_api_key")
ScopePermissions
agents:readList your own agents
agents:writeRegister, update, delete agents
agents:*Full agent management (default)
  • Never commit API keys to version control
  • Use environment variables to store keys
  • Rotate keys periodically from the dashboard
  • Use scoped keys — create keys with minimal permissions for each use case
  • Server-side only — never expose keys in client-side code
StatusCodeDescription
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENValid key but insufficient permissions