Clatter LabsHelp Center

What do I need before I can call the Agent API?

FAQUpdated

You need four things:

  1. A Clatter Labs account. Create one at accounts.clatterlabs.com.
  2. Your Account ID. Sign in to the Console; the ID (CL-…) is on the Home page with a copy button.
  3. An API key. In API keys › Create key, tick runs:write and runs:read (and account:read if you want to read your balance). Copy the clsk_… key straight away; it's shown once.
  4. Credits. New accounts get $5 of free credit. Top up from $1 to $800 per purchase in Billing › Credits.

Then check everything works#

curl https://api.agent.clatterlabs.xyz/agent-config \
  -H "Authorization: Bearer $CLATTER_API_KEY" \
  -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"

With a valid key, the answer includes your key's permissions and rate limit, your balance and can_run.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.