Scrub API
POST/v1/tools/connect_stepsfree

Connect an AI to Scrub

How a person adds Scrub to an AI they use, step by step, with the address or command to paste. Free. Give ai for one AI's steps, or nothing for every one. The AIs: Claude (claude), Claude Code (claude-code), Another AI (other). For any other AI, give other. asks are things to ask once it is connected.

Fields

FieldTypeDefaultWhat it is
aione ofNoneWhich AI
claudeclaude-codeother

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/connect_steps \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.