Streamlit · Capability

Streamlit Community Cloud API — Workspaces

Streamlit Community Cloud API — Workspaces. 1 operations. Lead operation: List Workspaces. Self-contained Naftiko capability covering one Streamlit business surface.

Run with Naftiko StreamlitWorkspaces

What You Can Do

GET
Listworkspaces — List Workspaces
/v1/workspaces

MCP Tools

list-workspaces

List Workspaces

read-only idempotent

Capability Spec

cloud-workspaces.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Streamlit Community Cloud API — Workspaces
  description: 'Streamlit Community Cloud API — Workspaces. 1 operations. Lead operation: List Workspaces. Self-contained
    Naftiko capability covering one Streamlit business surface.'
  tags:
  - Streamlit
  - Workspaces
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STREAMLIT_API_KEY: STREAMLIT_API_KEY
capability:
  consumes:
  - type: http
    namespace: cloud-workspaces
    baseUri: https://api.streamlit.io/v1
    description: Streamlit Community Cloud API — Workspaces business capability. Self-contained, no shared references.
    resources:
    - name: workspaces
      path: /workspaces
      operations:
      - name: listworkspaces
        method: GET
        description: List Workspaces
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.STREAMLIT_API_KEY}}'
  exposes:
  - type: rest
    namespace: cloud-workspaces-rest
    port: 8080
    description: REST adapter for Streamlit Community Cloud API — Workspaces. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/workspaces
      name: workspaces
      description: REST surface for workspaces.
      operations:
      - method: GET
        name: listworkspaces
        description: List Workspaces
        call: cloud-workspaces.listworkspaces
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: cloud-workspaces-mcp
    port: 9090
    transport: http
    description: MCP adapter for Streamlit Community Cloud API — Workspaces. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-workspaces
      description: List Workspaces
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: cloud-workspaces.listworkspaces
      outputParameters:
      - type: object
        mapping: $.