Windmill · Capability

Windmill API — workspace

Windmill API — workspace. 103 operations. Lead operation: Create a New Deployment Request. Self-contained Naftiko capability covering one Windmill business surface.

Run with Naftiko Windmillworkspace

What You Can Do

POST
Createdeploymentrequest — Create a New Deployment Request
/v1/w/{workspace}/deployment-request
GET
Listdeploymentrequesteligibledeployers — List Users Eligible to be Deployment Request Assignees
/v1/w/{workspace}/deployment-request/eligible-deployers
GET
Getopendeploymentrequest — Get the Currently Open Deployment Request for this Fork
/v1/w/{workspace}/deployment-request/open
POST
Canceldeploymentrequest — Cancel an Open Deployment Request
/v1/w/{workspace}/deployment-request/{id}/cancel
POST
Closedeploymentrequestmerged — Close a Deployment Request After a Successful Merge
/v1/w/{workspace}/deployment-request/{id}/close-merged
POST
Createdeploymentrequestcomment — Append a Comment to an Open Deployment Request
/v1/w/{workspace}/deployment-request/{id}/comment
POST
Getgithubapptoken — Get Github App Token
/v1/w/{workspace}/github-app/token
PUT
Updatesharedui — Replace the Workspace Shared UI Folder (admin Only)
/v1/w/{workspace}/shared-ui
GET
Getsharedui — Get the Workspace Shared UI Folder (full Content)
/v1/w/{workspace}/shared-ui/get
GET
Listsharedui — List Paths/sizes of the Workspace Shared UI Folder
/v1/w/{workspace}/shared-ui/list
GET
Getshareduiversion — Get the Current Version of the Workspace Shared UI Folder
/v1/w/{workspace}/shared-ui/version
POST
Adduser — Add User to Workspace
/v1/w/{workspace}/workspaces/add-user
POST
Archiveworkspace — Archive Workspace
/v1/w/{workspace}/workspaces/archive
GET
Listavailableteamschannels — List Available Channels for a Specific Team
/v1/w/{workspace}/workspaces/available-teams-channels
GET
Listavailableteamsids — List Available Teams Ids
/v1/w/{workspace}/workspaces/available-teams-ids
POST
Changeworkspacecolor — Change Workspace Id
/v1/w/{workspace}/workspaces/change-workspace-color
POST
Changeworkspaceid — Change Workspace Id
/v1/w/{workspace}/workspaces/change-workspace-id
POST
Changeworkspacename — Change Workspace Name
/v1/w/{workspace}/workspaces/change-workspace-name
GET
Getcloudquotas — Get Cloud Quota Usage and Limits for Workspace
/v1/w/{workspace}/workspaces/cloud-quotas
GET
Compareworkspaces — Compare Two Workspaces
/v1/w/{workspace}/workspaces/compare/{target-workspace-id}
POST
Connectslack — Connect Slack (non-interactive; Pre-minted Bot Token)
/v1/w/{workspace}/workspaces/connect-slack
POST
Connectteams — Connect Teams
/v1/w/{workspace}/workspaces/connect-teams
POST
Createworkspacefork — Create Forked Workspace
/v1/w/{workspace}/workspaces/create-fork
POST
Createpgdatabase — Create a New PostgreSQL Database for a Datatable
/v1/w/{workspace}/workspaces/create-pg-database
POST
Createserviceaccount — Create a Service Account
/v1/w/{workspace}/workspaces/create-service-account
POST
Createworkspaceforkgitbranch — Create Forked Workspace Branch with Git Sync
/v1/w/{workspace}/workspaces/create-workspace-fork-branch
GET
Getworkspacedefaultapp — Get Default App for Workspace
/v1/w/{workspace}/workspaces/default-app
POST
Editdefaultscripts — Edit Default Scripts for Workspace
/v1/w/{workspace}/workspaces/default-scripts
GET
Getdefaultscripts — Get Default Scripts for Workspace
/v1/w/{workspace}/workspaces/default-scripts
DELETE
Deletegitsyncrepository — Delete Individual Git Sync Repository
/v1/w/{workspace}/workspaces/delete-git-sync-repository
POST
Deleteinvite — Delete User Invite
/v1/w/{workspace}/workspaces/delete-invite
POST
Dropforkeddatatabledatabases — Drop Forked Datatable Databases
/v1/w/{workspace}/workspaces/drop-forked-datatable-databases
POST
Editautoinvite — Edit Auto Invite
/v1/w/{workspace}/workspaces/edit-auto-invite
POST
Editcopilotconfig — Edit Copilot Config
/v1/w/{workspace}/workspaces/edit-copilot-config
POST
Editdatatableconfig — Edit Datatable Settings
/v1/w/{workspace}/workspaces/edit-datatable-config
POST
Editworkspacedefaultapp — Edit Default App for Workspace
/v1/w/{workspace}/workspaces/edit-default-app
POST
Editdeployto — Edit Deploy to
/v1/w/{workspace}/workspaces/edit-deploy-to
POST
Editworkspacedeployuisettings — Edit Workspace Deploy Ui Settings
/v1/w/{workspace}/workspaces/edit-deploy-ui-config
POST
Editducklakeconfig — Edit Ducklake Settings
/v1/w/{workspace}/workspaces/edit-ducklake-config
POST
Editerrorhandler — Edit Error Handler
/v1/w/{workspace}/workspaces/edit-error-handler
POST
Editworkspacegitsyncconfig — Edit Workspace Git Sync Settings
/v1/w/{workspace}/workspaces/edit-git-sync-config
POST
Editgitsyncrepository — Add or Update Individual Git Sync Repository
/v1/w/{workspace}/workspaces/edit-git-sync-repository
POST
Editinstancegroups — Edit Instance Groups
/v1/w/{workspace}/workspaces/edit-instance-groups
POST
Editlargefilestorageconfig — Edit Large File Storage Settings
/v1/w/{workspace}/workspaces/edit-large-file-storage-config
POST
Editslackcommand — Edit Slack Command
/v1/w/{workspace}/workspaces/edit-slack-command
POST
Editsuccesshandler — Edit Success Handler
/v1/w/{workspace}/workspaces/edit-success-handler
POST
Editteamscommand — Edit Teams Command
/v1/w/{workspace}/workspaces/edit-teams-command
POST
Editwebhook — Edit Webhook
/v1/w/{workspace}/workspaces/edit-webhook
GET
Getworkspaceencryptionkey — Retrieves the Encryption Key for this Workspace
/v1/w/{workspace}/workspaces/encryption-key
POST
Setworkspaceencryptionkey — Update the Encryption Key for this Workspace
/v1/w/{workspace}/workspaces/encryption-key
POST
Exportpgschema — Export the Schema of a PostgreSQL Database
/v1/w/{workspace}/workspaces/export-pg-schema
GET
Getworkspaceassuperadmin — Get Workspace as Super Admin (require to be Super Admin)
/v1/w/{workspace}/workspaces/get-as-superadmin
GET
Getcopilotinfo — Get Copilot Info
/v1/w/{workspace}/workspaces/get-copilot-info
GET
Getcopilotsettingsstate — Get Copilot Settings State
/v1/w/{workspace}/workspaces/get-copilot-settings-state
POST
Getdatatablefullschema — Get the Full Schema of a Datatable Database as TableEditorValues
/v1/w/{workspace}/workspaces/get-datatable-full-schema
GET
Getdatatabletableschema — Get One Datatable Table Schema
/v1/w/{workspace}/workspaces/get-datatable-table-schema
GET
Getdependencymap — Get Dependency Map
/v1/w/{workspace}/workspaces/get-dependency-map
GET
Getdependents — Get Dependents of an Imported Path
/v1/w/{workspace}/workspaces/get-dependents/{imported-path}
POST
Getdependentsamounts — Get Dependents Amounts for Multiple Imported Paths
/v1/w/{workspace}/workspaces/get-dependents-amounts
GET
Getdeployto — Get Deploy to
/v1/w/{workspace}/workspaces/get-deploy-to
GET
Getimports — Get Script Imports for an Importer Path
/v1/w/{workspace}/workspaces/get-imports/{importer-path}
GET
Getpublicsettings — Get Public Settings
/v1/w/{workspace}/workspaces/get-public-settings
GET
Getsettings — Get Settings (admin Only)
/v1/w/{workspace}/workspaces/get-settings
GET
Getworkspacename — Get Workspace Name
/v1/w/{workspace}/workspaces/get-workspace-name
GET
Getgitsyncenabled — Check if Git Sync is Available for this Workspace
/v1/w/{workspace}/workspaces/git-sync-enabled
POST
Importpgdatabase — Import a PostgreSQL Database from Source to Target via Pg_dump
/v1/w/{workspace}/workspaces/import-pg-database
POST
Inviteuser — Invite User to Workspace
/v1/w/{workspace}/workspaces/invite-user
GET
Getispremium — Get if Workspace is Premium
/v1/w/{workspace}/workspaces/is-premium
POST
Leaveworkspace — Leave Workspace
/v1/w/{workspace}/workspaces/leave
GET
Listdatatableschemas — List Schemas of All Connected Datatables
/v1/w/{workspace}/workspaces/list-datatable-schemas
GET
Listdatatabletables — List Tables of All Connected Datatables
/v1/w/{workspace}/workspaces/list-datatable-tables
GET
Listdatatables — List Datatables
/v1/w/{workspace}/workspaces/list-datatables
GET
Listducklakes — List Ducklakes
/v1/w/{workspace}/workspaces/list-ducklakes
GET
Listpendinginvites — List Pending Invites for a Workspace
/v1/w/{workspace}/workspaces/list-pending-invites
POST
Logaichat — Log AI Chat Message
/v1/w/{workspace}/workspaces/log-chat
POST
Updateoperatorsettings — Update Operator Settings for a Workspace
/v1/w/{workspace}/workspaces/operator-settings
GET
Getpremiuminfo — Get Premium Info
/v1/w/{workspace}/workspaces/premium-info
GET
Listprotectionrules — List All Protection Rules for a Workspace
/v1/w/{workspace}/workspaces/protection-rules
POST
Createprotectionrule — Create a New Protection Rule
/v1/w/{workspace}/workspaces/protection-rules
POST
Updateprotectionrule — Update an Existing Protection Rule
/v1/w/{workspace}/workspaces/protection-rules/{rule-name}
DELETE
Deleteprotectionrule — Delete a Protection Rule
/v1/w/{workspace}/workspaces/protection-rules/{rule-name}
POST
Pruneversions — Prune Old Versions of Scripts, Flows, or Apps
/v1/w/{workspace}/workspaces/prune-versions
POST
Rebuilddependencymap — Rebuild Dependency Map
/v1/w/{workspace}/workspaces/rebuild-dependency-map
POST
Resetdifftally — Resets the Ahead and Behind Deployement Counter After a Deployement
/v1/w/{workspace}/workspaces/reset-diff-tally/{fork-workspace-id}
POST
Runslackmessagetestjob — Run a Job that Sends a Message to Slack
/v1/w/{workspace}/workspaces/run-slack-message-test-job
POST
Runteamsmessagetestjob — Run a Job that Sends a Message to Teams
/v1/w/{workspace}/workspaces/run-teams-message-test-job
POST
Setenvironmentvariable — Set Environment Variable
/v1/w/{workspace}/workspaces/set-environment-variable
GET
Getworkspaceslackoauthconfig — Get Workspace Slack Oauth Config
/v1/w/{workspace}/workspaces/slack-oauth-config
POST
Setworkspaceslackoauthconfig — Set Workspace Slack Oauth Config
/v1/w/{workspace}/workspaces/slack-oauth-config
DELETE
Deleteworkspaceslackoauthconfig — Delete Workspace Slack Oauth Config
/v1/w/{workspace}/workspaces/slack-oauth-config
GET
Getthresholdalert — Get Threshold Alert Info
/v1/w/{workspace}/workspaces/threshold-alert
POST
Setthresholdalert — Set Threshold Alert Info
/v1/w/{workspace}/workspaces/threshold-alert
GET
Getworkspaceusage — Get Usage
/v1/w/{workspace}/workspaces/usage
GET
Getusedtriggers — Get Used Triggers
/v1/w/{workspace}/workspaces/used-triggers
GET
Isdomainallowed — Is Domain Allowed for Auto Invi
/v1/workspaces/allowed-domain-auto-invite
POST
Createworkspace — Create Workspace
/v1/workspaces/create
DELETE
Deleteworkspace — Delete Workspace (require Super Admin)
/v1/workspaces/delete/{workspace}
POST
Existsworkspace — Exists Workspace
/v1/workspaces/exists
POST
Existsusername — Exists Username
/v1/workspaces/exists-username
GET
Listworkspaces — List All Workspaces Visible to Me
/v1/workspaces/list
GET
Listworkspacesassuperadmin — List All Workspaces as Super Admin (require to be Super Admin)
/v1/workspaces/list-as-superadmin
POST
Unarchiveworkspace — Unarchive Workspace
/v1/workspaces/unarchive/{workspace}
GET
Listuserworkspaces — List All Workspaces Visible to Me with User Info
/v1/workspaces/users

MCP Tools

create-new-deployment-request

Create a New Deployment Request

list-users-eligible-be-deployment

List Users Eligible to be Deployment Request Assignees

read-only idempotent
get-currently-open-deployment-request

Get the Currently Open Deployment Request for this Fork

read-only idempotent
cancel-open-deployment-request

Cancel an Open Deployment Request

close-deployment-request-after-successful

Close a Deployment Request After a Successful Merge

append-comment-open-deployment-request

Append a Comment to an Open Deployment Request

get-github-app-token

Get Github App Token

read-only
replace-workspace-shared-ui-folder

Replace the Workspace Shared UI Folder (admin Only)

idempotent
get-workspace-shared-ui-folder

Get the Workspace Shared UI Folder (full Content)

read-only idempotent
list-paths-sizes-workspace-shared

List Paths/sizes of the Workspace Shared UI Folder

read-only idempotent
get-current-version-workspace-shared

Get the Current Version of the Workspace Shared UI Folder

read-only idempotent
add-user-workspace

Add User to Workspace

archive-workspace

Archive Workspace

list-available-channels-specific-team

List Available Channels for a Specific Team

read-only idempotent
list-available-teams-ids

List Available Teams Ids

read-only idempotent
change-workspace-id

Change Workspace Id

change-workspace-id-2

Change Workspace Id

change-workspace-name

Change Workspace Name

get-cloud-quota-usage-and

Get Cloud Quota Usage and Limits for Workspace

read-only idempotent
compare-two-workspaces

Compare Two Workspaces

read-only idempotent
connect-slack-non-interactive-pre

Connect Slack (non-interactive; Pre-minted Bot Token)

connect-teams

Connect Teams

create-forked-workspace

Create Forked Workspace

create-new-postgresql-database-datatable

Create a New PostgreSQL Database for a Datatable

create-service-account

Create a Service Account

create-forked-workspace-branch-git

Create Forked Workspace Branch with Git Sync

get-default-app-workspace

Get Default App for Workspace

read-only idempotent
edit-default-scripts-workspace

Edit Default Scripts for Workspace

get-default-scripts-workspace

Get Default Scripts for Workspace

read-only idempotent
delete-individual-git-sync-repository

Delete Individual Git Sync Repository

idempotent
delete-user-invite

Delete User Invite

drop-forked-datatable-databases

Drop Forked Datatable Databases

edit-auto-invite

Edit Auto Invite

edit-copilot-config

Edit Copilot Config

edit-datatable-settings

Edit Datatable Settings

edit-default-app-workspace

Edit Default App for Workspace

edit-deploy

Edit Deploy to

edit-workspace-deploy-ui-settings

Edit Workspace Deploy Ui Settings

edit-ducklake-settings

Edit Ducklake Settings

edit-error-handler

Edit Error Handler

edit-workspace-git-sync-settings

Edit Workspace Git Sync Settings

add-update-individual-git-sync

Add or Update Individual Git Sync Repository

edit-instance-groups

Edit Instance Groups

edit-large-file-storage-settings

Edit Large File Storage Settings

edit-slack-command

Edit Slack Command

edit-success-handler

Edit Success Handler

edit-teams-command

Edit Teams Command

edit-webhook

Edit Webhook

retrieves-encryption-key-this-workspace

Retrieves the Encryption Key for this Workspace

read-only idempotent
update-encryption-key-this-workspace

Update the Encryption Key for this Workspace

export-schema-postgresql-database

Export the Schema of a PostgreSQL Database

get-workspace-super-admin-require

Get Workspace as Super Admin (require to be Super Admin)

read-only idempotent
get-copilot-info

Get Copilot Info

read-only idempotent
get-copilot-settings-state

Get Copilot Settings State

read-only idempotent
get-full-schema-datatable-database

Get the Full Schema of a Datatable Database as TableEditorValues

read-only
get-one-datatable-table-schema

Get One Datatable Table Schema

read-only idempotent
get-dependency-map

Get Dependency Map

read-only idempotent
get-dependents-imported-path

Get Dependents of an Imported Path

read-only idempotent
get-dependents-amounts-multiple-imported

Get Dependents Amounts for Multiple Imported Paths

read-only
get-deploy

Get Deploy to

read-only idempotent
get-script-imports-importer-path

Get Script Imports for an Importer Path

read-only idempotent
get-public-settings

Get Public Settings

read-only idempotent
get-settings-admin-only

Get Settings (admin Only)

read-only idempotent
get-workspace-name

Get Workspace Name

read-only idempotent
check-if-git-sync-is

Check if Git Sync is Available for this Workspace

read-only idempotent
import-postgresql-database-source-target

Import a PostgreSQL Database from Source to Target via Pg_dump

read-only
invite-user-workspace

Invite User to Workspace

get-if-workspace-is-premium

Get if Workspace is Premium

read-only idempotent
leave-workspace

Leave Workspace

list-schemas-all-connected-datatables

List Schemas of All Connected Datatables

read-only idempotent
list-tables-all-connected-datatables

List Tables of All Connected Datatables

read-only idempotent
list-datatables

List Datatables

read-only idempotent
list-ducklakes

List Ducklakes

read-only idempotent
list-pending-invites-workspace

List Pending Invites for a Workspace

read-only idempotent
log-ai-chat-message

Log AI Chat Message

update-operator-settings-workspace

Update Operator Settings for a Workspace

get-premium-info

Get Premium Info

read-only idempotent
list-all-protection-rules-workspace

List All Protection Rules for a Workspace

read-only idempotent
create-new-protection-rule

Create a New Protection Rule

update-existing-protection-rule

Update an Existing Protection Rule

delete-protection-rule

Delete a Protection Rule

idempotent
prune-old-versions-scripts-flows

Prune Old Versions of Scripts, Flows, or Apps

rebuild-dependency-map

Rebuild Dependency Map

resets-ahead-and-behind-deployement

Resets the Ahead and Behind Deployement Counter After a Deployement

run-job-that-sends-message

Run a Job that Sends a Message to Slack

run-job-that-sends-message-2

Run a Job that Sends a Message to Teams

set-environment-variable

Set Environment Variable

get-workspace-slack-oauth-config

Get Workspace Slack Oauth Config

read-only idempotent
set-workspace-slack-oauth-config

Set Workspace Slack Oauth Config

delete-workspace-slack-oauth-config

Delete Workspace Slack Oauth Config

idempotent
get-threshold-alert-info

Get Threshold Alert Info

read-only idempotent
set-threshold-alert-info

Set Threshold Alert Info

get-usage

Get Usage

read-only idempotent
get-used-triggers

Get Used Triggers

read-only idempotent
is-domain-allowed-auto-invi

Is Domain Allowed for Auto Invi

read-only idempotent
create-workspace

Create Workspace

delete-workspace-require-super-admin

Delete Workspace (require Super Admin)

idempotent
exists-workspace

Exists Workspace

exists-username

Exists Username

list-all-workspaces-visible-me

List All Workspaces Visible to Me

read-only idempotent
list-all-workspaces-super-admin

List All Workspaces as Super Admin (require to be Super Admin)

read-only idempotent
unarchive-workspace

Unarchive Workspace

list-all-workspaces-visible-me-2

List All Workspaces Visible to Me with User Info

read-only idempotent

Capability Spec

windmill-workspace.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Windmill API — workspace
  description: 'Windmill API — workspace. 103 operations. Lead operation: Create a New Deployment Request. Self-contained
    Naftiko capability covering one Windmill business surface.'
  tags:
  - Windmill
  - workspace
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WINDMILL_API_KEY: WINDMILL_API_KEY
capability:
  consumes:
  - type: http
    namespace: windmill-workspace
    baseUri: ''
    description: Windmill API — workspace business capability. Self-contained, no shared references.
    resources:
    - name: w-workspace-deployment_request
      path: /w/{workspace}/deployment_request
      operations:
      - name: createdeploymentrequest
        method: POST
        description: Create a New Deployment Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-deployment_request-eligible_deployers
      path: /w/{workspace}/deployment_request/eligible_deployers
      operations:
      - name: listdeploymentrequesteligibledeployers
        method: GET
        description: List Users Eligible to be Deployment Request Assignees
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-deployment_request-open
      path: /w/{workspace}/deployment_request/open
      operations:
      - name: getopendeploymentrequest
        method: GET
        description: Get the Currently Open Deployment Request for this Fork
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-deployment_request-id-cancel
      path: /w/{workspace}/deployment_request/{id}/cancel
      operations:
      - name: canceldeploymentrequest
        method: POST
        description: Cancel an Open Deployment Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
    - name: w-workspace-deployment_request-id-close_merged
      path: /w/{workspace}/deployment_request/{id}/close_merged
      operations:
      - name: closedeploymentrequestmerged
        method: POST
        description: Close a Deployment Request After a Successful Merge
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
    - name: w-workspace-deployment_request-id-comment
      path: /w/{workspace}/deployment_request/{id}/comment
      operations:
      - name: createdeploymentrequestcomment
        method: POST
        description: Append a Comment to an Open Deployment Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-github_app-token
      path: /w/{workspace}/github_app/token
      operations:
      - name: getgithubapptoken
        method: POST
        description: Get Github App Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-shared_ui
      path: /w/{workspace}/shared_ui
      operations:
      - name: updatesharedui
        method: PUT
        description: Replace the Workspace Shared UI Folder (admin Only)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-shared_ui-get
      path: /w/{workspace}/shared_ui/get
      operations:
      - name: getsharedui
        method: GET
        description: Get the Workspace Shared UI Folder (full Content)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-shared_ui-list
      path: /w/{workspace}/shared_ui/list
      operations:
      - name: listsharedui
        method: GET
        description: List Paths/sizes of the Workspace Shared UI Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-shared_ui-version
      path: /w/{workspace}/shared_ui/version
      operations:
      - name: getshareduiversion
        method: GET
        description: Get the Current Version of the Workspace Shared UI Folder
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-add_user
      path: /w/{workspace}/workspaces/add_user
      operations:
      - name: adduser
        method: POST
        description: Add User to Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-archive
      path: /w/{workspace}/workspaces/archive
      operations:
      - name: archiveworkspace
        method: POST
        description: Archive Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-available_teams_channels
      path: /w/{workspace}/workspaces/available_teams_channels
      operations:
      - name: listavailableteamschannels
        method: GET
        description: List Available Channels for a Specific Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: team_id
          in: query
          type: string
          description: Microsoft Teams team ID
          required: true
    - name: w-workspace-workspaces-available_teams_ids
      path: /w/{workspace}/workspaces/available_teams_ids
      operations:
      - name: listavailableteamsids
        method: GET
        description: List Available Teams Ids
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: search
          in: query
          type: string
          description: Search teams by name. If omitted, returns first page of all teams.
        - name: next_link
          in: query
          type: string
          description: Pagination cursor URL from previous response. Pass this to fetch the next page of results.
    - name: w-workspace-workspaces-change_workspace_color
      path: /w/{workspace}/workspaces/change_workspace_color
      operations:
      - name: changeworkspacecolor
        method: POST
        description: Change Workspace Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: w-workspace-workspaces-change_workspace_id
      path: /w/{workspace}/workspaces/change_workspace_id
      operations:
      - name: changeworkspaceid
        method: POST
        description: Change Workspace Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: w-workspace-workspaces-change_workspace_name
      path: /w/{workspace}/workspaces/change_workspace_name
      operations:
      - name: changeworkspacename
        method: POST
        description: Change Workspace Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: w-workspace-workspaces-cloud_quotas
      path: /w/{workspace}/workspaces/cloud_quotas
      operations:
      - name: getcloudquotas
        method: GET
        description: Get Cloud Quota Usage and Limits for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-compare-target_workspace_id
      path: /w/{workspace}/workspaces/compare/{target_workspace_id}
      operations:
      - name: compareworkspaces
        method: GET
        description: Compare Two Workspaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: target_workspace_id
          in: path
          type: string
          description: The ID of the workspace to compare with
          required: true
    - name: w-workspace-workspaces-connect_slack
      path: /w/{workspace}/workspaces/connect_slack
      operations:
      - name: connectslack
        method: POST
        description: Connect Slack (non-interactive; Pre-minted Bot Token)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-connect_teams
      path: /w/{workspace}/workspaces/connect_teams
      operations:
      - name: connectteams
        method: POST
        description: Connect Teams
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-create_fork
      path: /w/{workspace}/workspaces/create_fork
      operations:
      - name: createworkspacefork
        method: POST
        description: Create Forked Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-create_pg_database
      path: /w/{workspace}/workspaces/create_pg_database
      operations:
      - name: createpgdatabase
        method: POST
        description: Create a New PostgreSQL Database for a Datatable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-create_service_account
      path: /w/{workspace}/workspaces/create_service_account
      operations:
      - name: createserviceaccount
        method: POST
        description: Create a Service Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-create_workspace_fork_branch
      path: /w/{workspace}/workspaces/create_workspace_fork_branch
      operations:
      - name: createworkspaceforkgitbranch
        method: POST
        description: Create Forked Workspace Branch with Git Sync
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-default_app
      path: /w/{workspace}/workspaces/default_app
      operations:
      - name: getworkspacedefaultapp
        method: GET
        description: Get Default App for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-default_scripts
      path: /w/{workspace}/workspaces/default_scripts
      operations:
      - name: editdefaultscripts
        method: POST
        description: Edit Default Scripts for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: getdefaultscripts
        method: GET
        description: Get Default Scripts for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-delete_git_sync_repository
      path: /w/{workspace}/workspaces/delete_git_sync_repository
      operations:
      - name: deletegitsyncrepository
        method: DELETE
        description: Delete Individual Git Sync Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-delete_invite
      path: /w/{workspace}/workspaces/delete_invite
      operations:
      - name: deleteinvite
        method: POST
        description: Delete User Invite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-drop_forked_datatable_databases
      path: /w/{workspace}/workspaces/drop_forked_datatable_databases
      operations:
      - name: dropforkeddatatabledatabases
        method: POST
        description: Drop Forked Datatable Databases
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_auto_invite
      path: /w/{workspace}/workspaces/edit_auto_invite
      operations:
      - name: editautoinvite
        method: POST
        description: Edit Auto Invite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_copilot_config
      path: /w/{workspace}/workspaces/edit_copilot_config
      operations:
      - name: editcopilotconfig
        method: POST
        description: Edit Copilot Config
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_datatable_config
      path: /w/{workspace}/workspaces/edit_datatable_config
      operations:
      - name: editdatatableconfig
        method: POST
        description: Edit Datatable Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_default_app
      path: /w/{workspace}/workspaces/edit_default_app
      operations:
      - name: editworkspacedefaultapp
        method: POST
        description: Edit Default App for Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_deploy_to
      path: /w/{workspace}/workspaces/edit_deploy_to
      operations:
      - name: editdeployto
        method: POST
        description: Edit Deploy to
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_deploy_ui_config
      path: /w/{workspace}/workspaces/edit_deploy_ui_config
      operations:
      - name: editworkspacedeployuisettings
        method: POST
        description: Edit Workspace Deploy Ui Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_ducklake_config
      path: /w/{workspace}/workspaces/edit_ducklake_config
      operations:
      - name: editducklakeconfig
        method: POST
        description: Edit Ducklake Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_error_handler
      path: /w/{workspace}/workspaces/edit_error_handler
      operations:
      - name: editerrorhandler
        method: POST
        description: Edit Error Handler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_git_sync_config
      path: /w/{workspace}/workspaces/edit_git_sync_config
      operations:
      - name: editworkspacegitsyncconfig
        method: POST
        description: Edit Workspace Git Sync Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_git_sync_repository
      path: /w/{workspace}/workspaces/edit_git_sync_repository
      operations:
      - name: editgitsyncrepository
        method: POST
        description: Add or Update Individual Git Sync Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_instance_groups
      path: /w/{workspace}/workspaces/edit_instance_groups
      operations:
      - name: editinstancegroups
        method: POST
        description: Edit Instance Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_large_file_storage_config
      path: /w/{workspace}/workspaces/edit_large_file_storage_config
      operations:
      - name: editlargefilestorageconfig
        method: POST
        description: Edit Large File Storage Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_slack_command
      path: /w/{workspace}/workspaces/edit_slack_command
      operations:
      - name: editslackcommand
        method: POST
        description: Edit Slack Command
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_success_handler
      path: /w/{workspace}/workspaces/edit_success_handler
      operations:
      - name: editsuccesshandler
        method: POST
        description: Edit Success Handler
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_teams_command
      path: /w/{workspace}/workspaces/edit_teams_command
      operations:
      - name: editteamscommand
        method: POST
        description: Edit Teams Command
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-edit_webhook
      path: /w/{workspace}/workspaces/edit_webhook
      operations:
      - name: editwebhook
        method: POST
        description: Edit Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-encryption_key
      path: /w/{workspace}/workspaces/encryption_key
      operations:
      - name: getworkspaceencryptionkey
        method: GET
        description: Retrieves the Encryption Key for this Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setworkspaceencryptionkey
        method: POST
        description: Update the Encryption Key for this Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-export_pg_schema
      path: /w/{workspace}/workspaces/export_pg_schema
      operations:
      - name: exportpgschema
        method: POST
        description: Export the Schema of a PostgreSQL Database
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-get_as_superadmin
      path: /w/{workspace}/workspaces/get_as_superadmin
      operations:
      - name: getworkspaceassuperadmin
        method: GET
        description: Get Workspace as Super Admin (require to be Super Admin)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_copilot_info
      path: /w/{workspace}/workspaces/get_copilot_info
      operations:
      - name: getcopilotinfo
        method: GET
        description: Get Copilot Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_copilot_settings_state
      path: /w/{workspace}/workspaces/get_copilot_settings_state
      operations:
      - name: getcopilotsettingsstate
        method: GET
        description: Get Copilot Settings State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_datatable_full_schema
      path: /w/{workspace}/workspaces/get_datatable_full_schema
      operations:
      - name: getdatatablefullschema
        method: POST
        description: Get the Full Schema of a Datatable Database as TableEditorValues
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-get_datatable_table_schema
      path: /w/{workspace}/workspaces/get_datatable_table_schema
      operations:
      - name: getdatatabletableschema
        method: GET
        description: Get One Datatable Table Schema
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: datatable_name
          in: query
          type: string
          required: true
        - name: schema_name
          in: query
          type: string
          required: true
        - name: table_name
          in: query
          type: string
          required: true
    - name: w-workspace-workspaces-get_dependency_map
      path: /w/{workspace}/workspaces/get_dependency_map
      operations:
      - name: getdependencymap
        method: GET
        description: Get Dependency Map
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_dependents-imported_path
      path: /w/{workspace}/workspaces/get_dependents/{imported_path}
      operations:
      - name: getdependents
        method: GET
        description: Get Dependents of an Imported Path
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: imported_path
          in: path
          type: string
          description: The imported path to get dependents for
          required: true
    - name: w-workspace-workspaces-get_dependents_amounts
      path: /w/{workspace}/workspaces/get_dependents_amounts
      operations:
      - name: getdependentsamounts
        method: POST
        description: Get Dependents Amounts for Multiple Imported Paths
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-get_deploy_to
      path: /w/{workspace}/workspaces/get_deploy_to
      operations:
      - name: getdeployto
        method: GET
        description: Get Deploy to
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_imports-importer_path
      path: /w/{workspace}/workspaces/get_imports/{importer_path}
      operations:
      - name: getimports
        method: GET
        description: Get Script Imports for an Importer Path
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: importer_path
          in: path
          type: string
          description: The script path to get imports for
          required: true
    - name: w-workspace-workspaces-get_public_settings
      path: /w/{workspace}/workspaces/get_public_settings
      operations:
      - name: getpublicsettings
        method: GET
        description: Get Public Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_settings
      path: /w/{workspace}/workspaces/get_settings
      operations:
      - name: getsettings
        method: GET
        description: Get Settings (admin Only)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-get_workspace_name
      path: /w/{workspace}/workspaces/get_workspace_name
      operations:
      - name: getworkspacename
        method: GET
        description: Get Workspace Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-git_sync_enabled
      path: /w/{workspace}/workspaces/git_sync_enabled
      operations:
      - name: getgitsyncenabled
        method: GET
        description: Check if Git Sync is Available for this Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-import_pg_database
      path: /w/{workspace}/workspaces/import_pg_database
      operations:
      - name: importpgdatabase
        method: POST
        description: Import a PostgreSQL Database from Source to Target via Pg_dump
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-invite_user
      path: /w/{workspace}/workspaces/invite_user
      operations:
      - name: inviteuser
        method: POST
        description: Invite User to Workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: w-workspace-workspaces-is_premium
      path: /w/{workspace}/workspaces/is_premium
      operations:
      - name: getispremium
        method: GET
        description: Get if Workspace is Premium
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: w-workspace-workspaces-leave
      path: /w/{workspace}/workspa

# --- truncated at 32 KB (124 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/windmill/refs/heads/main/capabilities/windmill-workspace.yaml