Skip to main content
GET
/
auth
/
api_keys
Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.api_keys.list()

    # Handle response
    print(res)
{
  "data": [
    {
      "id": "tok_6VE1Wd37dXnZJ",
      "type": "api_keys",
      "attributes": {
        "name": "Dor Daidelos",
        "token_last_slice": "2daaa",
        "api_version": "2023-06-01",
        "read_only": false,
        "allowed_ips": [],
        "created_at": "2026-01-14T15:56:29+00:00",
        "updated_at": "2026-01-14T14:56:29+00:00",
        "last_used_at": null,
        "user": {
          "id": "user_Wel4PnEAmauQYZz3Vz83CkyV2BW",
          "email": "beckie.prosacco@willms.test"
        }
      }
    }
  ],
  "meta": {}
}

Authorizations

Authorization
string
header
required

Response

200 - application/vnd.api+json

Success

data
object[]
meta
object