Hatch

Whether this account keeps AI keys (the person turns it on), and the keys. Sealed on the server; only this account’s own sessions get them.

On this page

GET/api/ai-keys

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Response

200: It worked

  • on boolean (required): The person chose to keep keys in the account
  • keys array<AiKey> (required)

    • name string: At most 64 characters
    • key string: At most 4000 characters

Other answers:

  • 4XX: Refused, with a message to show the person