Skip to content
Olimpia
Esc
↑↓navigate↵open⌘Jpreview
On this page

Personal tokens

Create tokens to use the API from scripts and CI, or to connect agents that don't use OAuth.

A personal token gives programmatic access to your account, with the same permissions you have. Use it for the REST API, to deploy from your CI, and for agents without OAuth.

Create a token

Open Agents and tokens

In the console, go to Account → Agents and tokens.

Create the token

Under Personal tokens, enter a name that says where you’ll use it (github-actions, script-backups) and click Create token.

Copy it now

The token starts with olimpia_pat_ and is shown only once. Store it in your CI’s or your team’s secrets manager. It expires after 90 days: before that date, create a new one and replace it.

Use it

Send it in the Authorization header:

curl -H "Authorization: Bearer olimpia_pat_..." https://api.olimpia.dev/projects

What a token can’t do

For security reasons, some actions require a browser session and don’t work with a token:

  • viewing or ending sessions,
  • creating other tokens,
  • linking GitHub.

Revoke

In Agents and tokens, you can see when each token was last used and when it expires. Revoke invalidates it immediately. You can have up to 50 tokens.

Was this page helpful?