Overview
GET/ecosystem/applications/{appId}/tokensecosystem

List an application’s API tokens (metadata only; raw values never returned)

Fetch a record from tokens by appId.

Auth: bearerAuth — calls run as the authenticated user.

Parameters
  • appIdpathstring
Responses
200

API tokens

  • idstring
  • namestring
  • prefixstring

    Non-secret leading chars, for display

  • createdAtstring
  • expiresAtstring?
  • lastUsedAtstring?
  • scopeoptionalstring[]?

    REST path prefixes this token may reach (e.g. ["/content/markdown"], optional ":read" suffix, "*" = all). null = legacy curated-only.

Example
[
  {
    "id": "string",
    "name": "string",
    "prefix": "string",
    "createdAt": "string",
    "expiresAt": "string",
    "lastUsedAt": "string",
    "scope": [
      "string"
    ]
  }
]
401

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/ecosystem/applications/{appId}/tokens" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/ecosystem/applications/{appId}/tokens", {
  method: "GET",
  headers: {
    "Authorization": "Bearer YOUR_TOKEN"
  },
});
const data = await res.json();