{
  "opencollection": "1.0.0",
  "info": {
    "name": "Letta Admin Client-Side Access Tokens API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Client-Side Access Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Tokens (Cloud-only)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.letta.com/v1/client-side-access-tokens",
            "params": [
              {
                "name": "agentId",
                "value": "",
                "type": "query",
                "description": "The agent ID to filter tokens by. If provided, only tokens for this agent will be returned."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The offset for pagination. Defaults to 0."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The number of tokens to return per page. Defaults to 10."
              }
            ]
          },
          "docs": "List all client side access tokens for the current account. This is only available for cloud users."
        },
        {
          "info": {
            "name": "Create Token (Cloud-only)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.letta.com/v1/client-side-access-tokens",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new client side access token with the specified configuration."
        },
        {
          "info": {
            "name": "Delete Token (Cloud-only)",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.letta.com/v1/client-side-access-tokens/:token",
            "params": [
              {
                "name": "token",
                "value": "",
                "type": "path",
                "description": "The access token to delete"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete a client side access token."
        }
      ]
    }
  ],
  "bundled": true
}