{ "opencollection": "1.0.0", "info": { "name": "Runloop agents network-policies API", "version": "0.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "network-policies", "type": "folder" }, "items": [ { "info": { "name": "List NetworkPolicies.", "type": "http" }, "http": { "method": "GET", "url": "https://api.runloop.ai/v1/network-policies", "params": [ { "name": "name", "value": "", "type": "query", "description": "Filter by name (partial match supported)." }, { "name": "id", "value": "", "type": "query", "description": "Filter by ID." }, { "name": "limit", "value": "", "type": "query", "description": "The limit of items to return. Default is 20. Max is 5000." }, { "name": "starting_after", "value": "", "type": "query", "description": "Load the next page of data starting after the item with the given ID." }, { "name": "include_total_count", "value": "", "type": "query", "description": "If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets." } ] }, "docs": "List all NetworkPolicies for the authenticated account." }, { "info": { "name": "Create a NetworkPolicy.", "type": "http" }, "http": { "method": "POST", "url": "https://api.runloop.ai/v1/network-policies", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new NetworkPolicy with the specified egress rules. The policy can then be applied to blueprints, devboxes, or snapshot resumes." }, { "info": { "name": "Get a NetworkPolicy.", "type": "http" }, "http": { "method": "GET", "url": "https://api.runloop.ai/v1/network-policies/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the NetworkPolicy." } ] }, "docs": "Get a specific NetworkPolicy by its unique identifier." }, { "info": { "name": "Update a NetworkPolicy.", "type": "http" }, "http": { "method": "POST", "url": "https://api.runloop.ai/v1/network-policies/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the NetworkPolicy to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing NetworkPolicy. All fields are optional." }, { "info": { "name": "Delete a NetworkPolicy.", "type": "http" }, "http": { "method": "POST", "url": "https://api.runloop.ai/v1/network-policies/:id/delete", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the NetworkPolicy to delete." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete an existing NetworkPolicy. This action is irreversible." } ] } ], "bundled": true }