@@ -409,32 +409,11 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
409
409
410
410
### Parameters
411
411
412
- | Name | In | Type | Required | Description |
413
- | ------------- | ----- | ------ | -------- | ------------------------------------------------------ |
414
- | ` owner ` | query | string | false | Filter by owner username |
415
- | ` template ` | query | string | false | Filter by template name |
416
- | ` name ` | query | string | false | Filter with partial-match by workspace name |
417
- | ` status ` | query | string | false | Filter by workspace status |
418
- | ` has_agent ` | query | string | false | Filter by agent status |
419
- | ` deleting_by ` | query | string | false | Filter workspaces scheduled to be deleted by this time |
420
-
421
- #### Enumerated Values
422
-
423
- | Parameter | Value |
424
- | ----------- | -------------- |
425
- | ` status ` | ` pending ` |
426
- | ` status ` | ` running ` |
427
- | ` status ` | ` stopping ` |
428
- | ` status ` | ` stopped ` |
429
- | ` status ` | ` failed ` |
430
- | ` status ` | ` canceling ` |
431
- | ` status ` | ` canceled ` |
432
- | ` status ` | ` deleted ` |
433
- | ` status ` | ` deleting ` |
434
- | ` has_agent ` | ` connected ` |
435
- | ` has_agent ` | ` connecting ` |
436
- | ` has_agent ` | ` disconnected ` |
437
- | ` has_agent ` | ` timeout ` |
412
+ | Name | In | Type | Required | Description |
413
+ | -------- | ----- | ------- | -------- | ------------------------------------------------------------------------------------------------------------------ |
414
+ | ` q ` | query | string | false | Search query in the format ` key:value ` . Available keys are: owner, template, name, status, has-agent, deleting_by. |
415
+ | ` limit ` | query | integer | false | Page limit |
416
+ | ` offset ` | query | integer | false | Page offset |
438
417
439
418
### Example responses
440
419
0 commit comments