Overview
GET/persona/personas/{id}/tokensregistry

List a persona's API tokens (metadata only; raw values never returned)

Fetch a record from tokens by id.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • idpathstring
Responses
200

the persona's outstanding tokens (metadata only, newest first)

  • tokensRegistryPersonaToken[]
Example
{
  "tokens": [
    {
      "id": "string",
      "name": "string",
      "prefix": "string",
      "createdAt": "string",
      "expiresAt": "string",
      "lastUsedAt": "string",
      "personaId": "string"
    }
  ]
}
400

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
401

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
403

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
404

Error

  • erroroptionalobject
Example
{
  "error": {
    "message": "string",
    "code": "string"
  }
}
Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/persona/personas/{id}/tokens" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/persona/personas/{id}/tokens", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();