{ "opencollection": "1.0.0", "info": { "name": "Lightrun Actions Agents API", "version": "v1" }, "items": [ { "info": { "name": "Agents", "type": "folder" }, "items": [ { "info": { "name": "Get a list of agents", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8090/api/v1/agents", "params": [ { "name": "agentPoolId", "value": "", "type": "query", "description": "Agent pool ID. Mandatory when RBAC is enabled. Ignored when RBAC is disabled." }, { "name": "name", "value": "", "type": "query", "description": "Filter agents by display name, host and process ID, or tag name. This filter supports the * wildcard to match multiple values with a common pattern." }, { "name": "page", "value": "", "type": "query", "description": "Specifies a zero-based index of the results page to retrieve. The default is 0 (the first page)." }, { "name": "size", "value": "", "type": "query", "description": "The number of items to include on each page of results. The default is 20." }, { "name": "sort", "value": "", "type": "query", "description": "The sorting criteria in the format property (asc|desc), with ascending as the default. Multiple sort parameters can be chained to define primary, secondary, and further sorting levels (e.g., sort=field1,asc&sort=field2,desc). Supports multiple criteria." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a list of agents.\n\n**Required API permission level:** `DEV`" } ] } ], "bundled": true }