For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
EnterpriseQuick Start
API ReferenceTutorials
  • Introduction
    • Getting started
  • API Reference
      • GETList API tokens
      • POSTCreate API token
      • POSTBlacklist a JWT refresh token
      • POSTRefresh JWT token
      • POSTRotate JWT refresh token
LogoLogo
EnterpriseQuick Start
API ReferenceTokens

List API tokens

GET
http://localhost:8000/api/token/
GET
/api/token/
$curl http://localhost:8000/api/token/ \
> -H "Authorization: Token <api_key>" \
> -H "Content-Type: application/json"
200Retrieved
1[
2 {
3 "created_at": "2024-05-01T09:15:30Z",
4 "expires_at": "2025-05-01T09:15:30Z",
5 "token": "a1b2c3d4e5f67890123456789abcdef123456789"
6 },
7 {
8 "created_at": "2023-11-20T14:00:00Z",
9 "expires_at": "2024-11-20T14:00:00Z",
10 "token": "f1e2d3c4b5a6978877665544332211aabbccddeeff"
11 }
12]
List all API tokens for the current user.
Was this page helpful?
Previous

Create API token

Next
Built with

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:
curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Query parameters

orderingstringOptional
Which field to use when ordering the results.

Response

created_atstringRead-only
expires_atstringRead-only
tokenstringRead-only