Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/analytics/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ The Sourcegraph Analytics API is an API that provides programmatic access to you

## Access tokens

For Sourcegraph Analytics, you can generate an access token for programmatic access. Tokens are long-lived with an optional expiry and have the same permissions to access instance data as the user who created them.
For Sourcegraph Analytics, you can generate an access token for programmatic access using your session cookie. Tokens are long-lived with an optional expiry and have the same permissions to access instance data as the user who created them.

### Token management APIs
### Getting Started

Token management is currently only available via the Sourcegraph Analytics API. Token management APIs are authenticated via the `cas` session cookie.
Tokens are first retrieved via the `cas` session cookie and then used to generate a long-lived access token. Token management is currently only available via the Sourcegraph Analytics API.

- Sign in to [Sourcegraph Analytics](https://analytics.sourcegraph.com).
- Retrieve your session cookie, `cas`, from your browser's developer tools.
Expand Down