---
title: Your account
description: Signing out computers, revoking keys and apps, deleting snapshot pictures, and what happens to your data when you do.
sidebar:
  order: 6
---

You sign in to Hindsight with Hack Club, and each computer you track on gets its own key. This page covers what you can end, and what that does to your data.

:::warning
There's no button yet to export or delete your whole account, and nothing in the code does it for you. What you can remove yourself is listed below. For anything else, ask on [GitHub](https://github.com/MIXIDtheSilly/Hindsight/issues).
:::

## Sign out this computer

In the app, open Settings, then Profile, press **Sign out** and confirm. The daemon uploads what's waiting (it waits up to 15 seconds), asks the server to end this computer's key (up to 10 seconds), and forgets the key. Your history stays on the computer. If some events couldn't upload, they go up after your next sign in.

Your hours stay on your account. Nothing more is uploaded from this computer until you sign in again.

## Sign out another computer

Settings, then Setup, lists **Your computers** with when each was last seen. Press **Sign out** on one and confirm with **Sign it out**. Its key stops working straight away. What it already uploaded stays, and its hours stay on your account. The computer you're on has no button there, since it signs out from Profile instead. The website's Settings page has the same list.

If a computer is lost, signing it out is the thing to do. The key was the only way it could upload.

## Sign out of the website

**Sign out** at the top of the website's Settings page ends the browser session. It doesn't touch your computers.

<a id="api-keys-and-apps"></a>

## API keys and apps

On the website, Settings, then API keys, you can make keys for your own scripts. A key starts with `hsk_`, can read only your own time (`self:read`), and expires in 30 days, 90 days, a year or never. You can have 20 at once. The server keeps only a hash of each key, so the key is shown once when it's made. **Revoke** ends one. Its name is free to reuse afterwards.

Revoking also ends a key an admin promoted, and the change is written to an audit trail with who did it.

Under Settings, Connections, **Connected apps** lists every app you approved for "Sign in with Hindsight". **Disconnect** removes the grant and kills the app's tokens.

If you built an app yourself, deleting it in Settings, then OAuth apps, stops it working and signs out everyone who signed in through it.

## Snapshot pictures

A picture is yours to delete. In the app's Snapshots page, open it and press **Delete picture**, then **Delete it**. The next sync removes it from the server, too. Turning **Upload snapshot pictures** off, under Privacy, stops new pictures going up. It doesn't remove ones already uploaded.

The snapshot's event stays in your history either way, with its salted hash and no picture.

## Settings you can change

- **Public stats.** Settings, then Privacy. Turning it off makes your profile look like it doesn't exist again. See [who can see your data](/docs/privacy/who-can-see).
- **Day summaries.** In the app, Settings, then Tracking. Pick an agent, Automatic, or **Off**. Off stops new ones being written. Summaries already uploaded stay.
- **Profile.** Display name, username (once every 30 days), country and time zone, on Settings, then Profile. **Use Slack name and picture** copies them again from Slack.
- **Where your data lives.** `HINDSIGHT_DATA_DIR` moves the daemon's data folder. `hindsight-daemon status` prints where it is now.

## Getting your data out

You can read your own data back:

- The website's dashboard shows it, and `/api/v1/my/time`, `/api/v1/my/projects`, `/api/v1/my/spans` and `/api/v1/my/days` return it as JSON to a key with `self:read`.
- Your notes to Byte come back from `GET /api/v1/checkins`, up to 31 days at a time, with a computer's key.
- Your event history is in `hindsight.db` in your data folder, a SQLite file on your computer.

## What stays when you stop

Uploaded events can't be taken back: they're sealed into a hash chain, and the chain is the point. Signing out, revoking a key or disconnecting an app doesn't delete what's already on the server. There is no retention schedule in the code either, so nothing expires on its own.

On your computer, `hindsight-daemon disconnect` removes the hooks and plugins that `connect` added. Commit hooks in your repos stay, and do nothing once the daemon is gone. To remove the git hook from a repo, delete its `.git/hooks/post-commit` file if it says `# hindsight-git-hook`.
