{
  "opencollection": "1.0.0",
  "info": {
    "name": "Grid Agent Management API Tokens API",
    "version": "2025-10-13"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "API Tokens",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List tokens",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.lightspark.com/grid/2025-10-13/tokens",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Filter by name of the token"
              },
              {
                "name": "createdAfter",
                "value": "",
                "type": "query",
                "description": "Filter customers created after this timestamp (inclusive)"
              },
              {
                "name": "createdBefore",
                "value": "",
                "type": "query",
                "description": "Filter customers created before this timestamp (inclusive)"
              },
              {
                "name": "updatedAfter",
                "value": "",
                "type": "query",
                "description": "Filter customers updated after this timestamp (inclusive)"
              },
              {
                "name": "updatedBefore",
                "value": "",
                "type": "query",
                "description": "Filter customers updated before this timestamp (inclusive)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return (default 20, max 100)"
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor for pagination (returned from previous request)"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a list of API tokens with optional filtering parameters. Returns all tokens that match\nthe specified filters. If no filters are provided, returns all tokens (paginated).\n"
        },
        {
          "info": {
            "name": "Create a new API token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.lightspark.com/grid/2025-10-13/tokens",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new API token to access the Grid APIs."
        },
        {
          "info": {
            "name": "Get API token by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.lightspark.com/grid/2025-10-13/tokens/:tokenId",
            "params": [
              {
                "name": "tokenId",
                "value": "",
                "type": "path",
                "description": "System-generated unique token identifier"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve an API token by their system-generated ID"
        },
        {
          "info": {
            "name": "Delete API token by ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.lightspark.com/grid/2025-10-13/tokens/:tokenId",
            "params": [
              {
                "name": "tokenId",
                "value": "",
                "type": "path",
                "description": "System-generated unique token identifier"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Delete an API token by their system-generated ID"
        }
      ]
    }
  ],
  "bundled": true
}