Skip to main content
GET
/
v1
/
auth
/
api-tokens
List Api Tokens Endpoint
curl --request GET \
  --url https://api.agentpowers.ai/v1/auth/api-tokens
import requests

url = "https://api.agentpowers.ai/v1/auth/api-tokens"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api.agentpowers.ai/v1/auth/api-tokens', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "tokens": [
    {
      "id": "<string>",
      "masked_token": "<string>",
      "name": "<string>",
      "created_at": "<string>",
      "expires_at": "<string>",
      "last_used_at": "<string>"
    }
  ]
}

Response

200 - application/json

Successful Response

tokens
ApiTokenItem · object[]
required