list_operations¶
List operations (running or completed).
TL;DR¶
Use when: Finding operation IDs, monitoring
Returns: List of operations with status
Cost: No VM needed
Parameters¶
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
No |
|
Max operations to return |
|
string |
No |
|
Filter by status |
|
string |
No |
|
Filter by kind |
|
string |
No |
|
Created after |
Response¶
{
"operations": [
{
"uuid": "op-abc123",
"kind": "instance",
"state": "SUCCESS",
"created_at": "2024-01-15T10:30:00Z"
}
]
}
Examples¶
List Running¶
{"tool": "list_operations", "args": {"status": "running"}}
List by Kind¶
{"tool": "list_operations", "args": {"kind": "image_import"}}
See Also¶
get_operation - Get single operation
cancel_operation - Cancel operation