#Is there an api to talk to krill the helper that is responding to all of these posts

1 messages · Page 1 of 1 (latest)

pale mauve
#

i want my openclaw to be able to ask krill directly instead of via discord

wanton yarrowBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

spark dawnBOT
#

There isn’t a “Krill API” you can call as a hosted service — Krill is just the helper bot instance running in this Discord.

But if what you mean is: “I want my own OpenClaw to be usable without Discord / from code”, you’ve got two good options:

1) Just talk to your OpenClaw directly (no chat app)

Use the Control UI in your browser (it’s the same agent, just not Discord):

Docs: https://docs.openclaw.ai/gateway/configuration

2) Programmatic “API”: enable Webhooks (HTTP)

OpenClaw can expose a small HTTP endpoint (“hooks”) so you can POST prompts into it:

Docs: https://docs.openclaw.ai/automation/webhook

Minimal config:

#
{
  hooks: {
    enabled: true,
    token: "shared-secret",
    path: "/hooks",
  },
}

Then you can POST /hooks/agent with:

  • Authorization: Bearer <token> (recommended)

One important caveat: /hooks/agent is primarily an async trigger (it can deliver the response to one of your configured channels / “last” recipient), not a classic “request → response body” chat API.

If you tell me which you want:

  • A) interactive chat UI (browser), or