Give an AI agent a safe key
You decide how much an AI assistant may do in your LazyRelay account. In a local setup it works through a key, a secret code that lets it act as your account, and when you make the key you set its limit, called a scope. We suggest Safe for most jobs, and this page shows why.
Two ways to connect
Signing in through a connector (the Claude connector, or claude mcp add) uses no key and has no scope, so it acts with full access. Safe, Read only and Full keys exist only for the local setup, where a small LazyRelay program runs on your own computer with your key.
The three scopes
- Safe can read, create, schedule, edit, pause, resume, approve and reply. It cannot delete anything, publish at once, disconnect an account or change settings. Posts must be scheduled at least 5 minutes ahead.
- Read only can look at posts, accounts and results. It cannot change anything.
- Full can do everything a key is allowed to do. Making new keys and some account settings still need you signed in. If you do not choose, the key is Full.
You choose the scope when the key is made, and it cannot be changed afterwards. To change it, make a new key.
Make a key
- In your LazyRelay dashboard, open More, then API Keys. More is a menu in your dashboard.
- Type a key name, so you can tell your keys apart later. Under "What can this key do?" pick a scope, then press Create key.
- Copy the key right away, because LazyRelay shows it only once. Keep it private, like a password.
Which one to give
- An assistant that drafts, schedules and replies: Safe. It can do the whole job without a way to delete or post at once.
- An assistant that only reports on results: Read only.
- Only three jobs need a Full key: posting right now (
publish_post_now), deleting a scheduled post (delete_scheduled_post) and switching off a review link (revoke_review_link).
A worked example
- Make a Safe key and paste it into your assistant's setup under the name
LAZYRELAY_API_KEY. The guide for your assistant on the integrations page shows where. - Type: "Schedule a post for tomorrow at 9am." It works, because the time is more than 5 minutes ahead.
- Type: "Now publish it right away." The assistant tries
publish_post_now, and LazyRelay says no. That is the Safe key doing its job.
Your assistant could not delete a post or disconnect an account by mistake, because a Safe key has no way to do either.
What a refusal looks like
Your assistant still sees all 28 tools whatever the key. If you ask for something the key does not allow, LazyRelay answers with a short message (its type is called key_scope) that says why and asks the assistant not to try again.
For a Safe key asked to publish now, the message reads: “This API key has the "write_safe" scope, which cannot publish immediately. Schedule the post at least 5 minutes ahead, or use a full key.”
We have not tried a refused call ourselves, because our test session had no Safe key. The wording above comes from our code.
What to check
- A Read only key also cannot make proof links or list review links, because both give out public web addresses.
- A Safe key cannot post right now, so a time less than 5 minutes ahead is refused. Pick a time a little later and it goes through.
How we know
We have not tried a Safe or Read only key, because our test session had none, so the refusal below comes from our code. The same code decides it every time. Claude's connector at mcp.lazyrelay.com/mcp was tested on 12 November 2026 and uses no key. For every other assistant, the setup was checked against that assistant's own documentation when the guide was written (2 September 2026). We have not run those assistants ourselves.
More jobs for an AI assistant
- Schedule a week of posts
- Client approval with an AI assistant
- Every tool, with its exact description
You get 30 new credits every month. No card needed. MCP is included on every plan.