# API reference (/docs/api) [Browse the OpenAPI JSON](/api/v1/openapi.json). Using the CLI? Run `okae login` to authorise a workspace. The CLI stores the credential in your OS keychain and sends it with its requests. Run `okae auth status` to see which account and workspace you're using. Authorise access to a workspace in your browser, then exchange the code for an access token. Send `Authorization: Bearer ` with each authenticated request. Resolve your repository, read its settings, and preview changes before applying them. Enter your API token under **Authorization** and choose **Send**. The token is used for the request and stays out of copied code examples.