{
  "opencollection": "1.0.0",
  "info": {
    "name": "Daytona admin workspace API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "workspace",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "[DEPRECATED] List all workspaces",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.daytona.io/api/workspace",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "verbose",
                "value": "",
                "type": "query",
                "description": "Include verbose output"
              },
              {
                "name": "labels",
                "value": "",
                "type": "query",
                "description": "JSON encoded labels to filter by"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] List all workspaces"
        },
        {
          "info": {
            "name": "[DEPRECATED] Create a new workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Create a new workspace"
        },
        {
          "info": {
            "name": "[DEPRECATED] Get workspace details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.daytona.io/api/workspace/:workspaceId",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "verbose",
                "value": "",
                "type": "query",
                "description": "Include verbose output"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Get workspace details"
        },
        {
          "info": {
            "name": "[DEPRECATED] Delete workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.daytona.io/api/workspace/:workspaceId",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "force",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Delete workspace"
        },
        {
          "info": {
            "name": "[DEPRECATED] Start workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/start",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Start workspace"
        },
        {
          "info": {
            "name": "[DEPRECATED] Stop workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/stop",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Stop workspace"
        },
        {
          "info": {
            "name": "[DEPRECATED] Replace workspace labels",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/labels",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Replace workspace labels"
        },
        {
          "info": {
            "name": "[DEPRECATED] Create workspace backup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/backup",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Create workspace backup"
        },
        {
          "info": {
            "name": "[DEPRECATED] Update public status",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/public/:isPublic",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "isPublic",
                "value": "",
                "type": "path",
                "description": "Public status to set"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Update public status"
        },
        {
          "info": {
            "name": "[DEPRECATED] Set workspace auto-stop interval",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/autostop/:interval",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "interval",
                "value": "",
                "type": "path",
                "description": "Auto-stop interval in minutes (0 to disable)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Set workspace auto-stop interval"
        },
        {
          "info": {
            "name": "[DEPRECATED] Set workspace auto-archive interval",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/autoarchive/:interval",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "interval",
                "value": "",
                "type": "path",
                "description": "Auto-archive interval in minutes (0 means the maximum interval will be used)"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Set workspace auto-archive interval"
        },
        {
          "info": {
            "name": "[DEPRECATED] Archive workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/archive",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Archive workspace"
        },
        {
          "info": {
            "name": "[DEPRECATED] Get preview URL for a workspace port",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/ports/:port/preview-url",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "port",
                "value": "",
                "type": "path",
                "description": "Port number to get preview URL for"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Get preview URL for a workspace port"
        },
        {
          "info": {
            "name": "[DEPRECATED] Get build logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.daytona.io/api/workspace/:workspaceId/build-logs",
            "headers": [
              {
                "name": "X-Daytona-Organization-ID",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "follow",
                "value": "",
                "type": "query",
                "description": "Whether to follow the logs stream"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "[DEPRECATED] Get build logs"
        }
      ]
    }
  ],
  "bundled": true
}