Skip to content

Keys and sign-in

A key is your organisation's credential. Your assistant or your software sends it with every call, and Legisail answers within the limits the key carries.

Where the key goes

Send it in the Authorization header as Bearer lsk_…, with your key in place of the dots. Clients that take a header, such as Claude Code and Cursor, keep it in their settings; the quickstart has the line for each. Over REST the header is the same.

Authorization: Bearer lsk_…

What a key is limited to

  • A number of calls a minute and, for an evaluation key, a number of calls a day.
  • The jurisdictions it may ask about.
  • For an evaluation key, a last day. An evaluation lasts 30 days.

A call outside any of these is refused with a message that says which, and when to try again. The rate limits page has the numbers.

Without a key

The server still introduces itself and lists its tools, so you can look before you ask for one. It refuses to call them.

Keeping a key safe

Keep it out of anything a browser downloads or a repository others can read. We keep only a hash of it; the key itself is in the email that brought it.

Replacing or revoking a key

Write to [email protected] from the address the key was sent to. We revoke it and, if you want one, send a new key the same way.

Signing in from Claude and ChatGPT

In Claude and ChatGPT you connect by signing in with Google instead of pasting a key. Use the Google account your access was approved for; the assistant then calls Legisail on your organisation's behalf, within the same limits. In ChatGPT, choose Legisail in each chat where you want it to answer; otherwise ChatGPT answers from its own web search.