Azure Cosmos DB Notebook Workspaces Resource API

The NotebookWorkspacesResource API from Azure Cosmos DB — 5 operation(s) for notebookworkspacesresource.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces List notebook workspaces in a Cosmos DB account · Notebook workspaces list by database account #
Ask an LLM
“Which Jupyter notebook workspaces exist in my Cosmos DB account?”
“Can I see all notebook workspaces for one database account?”
Tell an agent
List notebook workspaces in Cosmos DB account {accountName}.
Show every notebook workspace under account {accountName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName} Get a notebook workspace · Notebook workspaces get #
Ask an LLM
“What are the details of one notebook workspace in my Cosmos DB account?”
“Can I fetch a single notebook workspace by name?”
Tell an agent
Get notebook workspace {notebookWorkspaceName} in account {accountName}.
Show the configuration of notebook workspace {notebookWorkspaceName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName} Create or update a notebook workspace · Notebook workspaces create or update #
Ask an LLM
“How do I create a notebook workspace for a Cosmos DB account?”
“Can I update an existing notebook workspace's settings?”
Tell an agent
Create notebook workspace {notebookWorkspaceName} in account {accountName}.
Create or replace notebook workspace {notebookWorkspaceName} in account {accountName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName} Delete a notebook workspace · Notebook workspaces delete #
Ask an LLM
“How do I delete a notebook workspace from a Cosmos DB account?”
“Can I remove a notebook workspace I no longer use?”
Tell an agent destructive · confirm first
Delete notebook workspace {notebookWorkspaceName} from account {accountName}.
Remove notebook workspace {notebookWorkspaceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/listConnectionInfo Get connection info for a notebook workspace · Notebook workspaces list connection info #
Ask an LLM
“What connection details do I need to connect to a notebook workspace?”
“Can I retrieve the endpoint and token for a notebook workspace?”
Tell an agent
Get the connection info for notebook workspace {notebookWorkspaceName} in account {accountName}.
Show how to connect to notebook workspace {notebookWorkspaceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/regenerateAuthToken Regenerate a notebook workspace auth token · Notebook workspaces regenerate auth token #
Ask an LLM
“How do I rotate the authentication token for a notebook workspace?”
“Can I issue a new token for a notebook workspace?”
Tell an agent destructive · confirm first
Regenerate the auth token for notebook workspace {notebookWorkspaceName} in account {accountName}.
Rotate the token of notebook workspace {notebookWorkspaceName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/start Start a notebook workspace · Notebook workspaces start #
Ask an LLM
“How do I start a stopped notebook workspace?”
“Can I bring a notebook workspace online again?”
Tell an agent
Start notebook workspace {notebookWorkspaceName} in account {accountName}.
Bring notebook workspace {notebookWorkspaceName} online.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-cosmos-db:azure-cosmos-db-notebookworkspacesresource-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-cosmos-db-notebookworkspacesresource-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cosmos DB Notebook Workspaces Resource API
  version: '2026-07-15'
  description: Azure Cosmos DB Throughput Pool REST API
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: NotebookWorkspacesResource
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces
  : get:
      operationId: NotebookWorkspaces_ListByDatabaseAccount
      tags:
      - NotebookWorkspacesResource
      description: Gets the notebook workspace resources of an existing Cosmos DB account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotebookWorkspaceListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Notebook workspaces list by database account
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}
  : get:
      operationId: NotebookWorkspaces_Get
      tags:
      - NotebookWorkspacesResource
      description: Gets the notebook workspace for a Cosmos DB account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotebookWorkspace'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      summary: Notebook workspaces get
      x-summary-source: derived
    put:
      operationId: NotebookWorkspaces_CreateOrUpdate
      tags:
      - NotebookWorkspacesResource
      description: Creates the notebook workspace for a Cosmos DB account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: The request has succeeded.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotebookWorkspace'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/NotebookWorkspace'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotebookWorkspaceCreateUpdateParameters'
        description: The notebook workspace to create for the current database account.
        required: true
      summary: Notebook workspaces create or update
      x-summary-source: derived
    delete:
      operationId: NotebookWorkspaces_Delete
      tags:
      - NotebookWorkspacesResource
      description: Deletes the notebook workspace for a Cosmos DB account.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '202':
          description: Resource deletion accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Notebook workspaces delete
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/listConnectionInfo
  : post:
      operationId: NotebookWorkspaces_ListConnectionInfo
      tags:
      - NotebookWorkspacesResource
      description: Retrieves the connection info for the notebook workspace
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotebookWorkspaceConnectionInfoResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      summary: Notebook workspaces list connection info
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/regenerateAuthToken
  : post:
      operationId: NotebookWorkspaces_RegenerateAuthToken
      tags:
      - NotebookWorkspacesResource
      description: Regenerates the auth token for the notebook workspace
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Notebook workspaces regenerate auth token
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/notebookWorkspaces/{notebookWorkspaceName}/start
  : post:
      operationId: NotebookWorkspaces_Start
      tags:
      - NotebookWorkspacesResource
      description: Starts the notebook workspace
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: accountName
        in: path
        description: Cosmos DB database account name.
        required: true
        schema:
          type: string
          maxLength: 50
          minLength: 3
          pattern: ^[a-z0-9]+(-[a-z0-9]+)*
      - name: notebookWorkspaceName
        in: path
        description: The name of the notebook workspace resource.
        required: true
        x-ms-enum:
          name: NotebookWorkspaceName
          modelAsString: true
          values:
          - name: Default
            value: default
        schema:
          type: string
          enum:
          - default
      responses:
        '200':
          description: Azure operation completed successfully.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TypesErrorResponse'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Notebook workspaces start
      x-summary-source: derived
components:
  schemas:
    NotebookWorkspaceProperties:
      type: object
      description: Properties of a notebook workspace resource.
      properties:
        notebookServerEndpoint:
          type: string
          description: Specifies the endpoint of Notebook server.
          readOnly: true
        status:
          type: string
          description: 'Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.'
          readOnly: true
    NotebookWorkspaceConnectionInfoResult:
      type: object
      description: The connection info for the given notebook workspace
      properties:
        authToken:
          type: string
          format: password
          description: Specifies auth token used for connecting to Notebook server (uses token-based auth).
          readOnly: true
          x-ms-secret: true
        notebookServerEndpoint:
          type: string
          description: Specifies the endpoint of Notebook server.
          readOnly: true
    NotebookWorkspaceListResult:
      type: object
      description: A list of notebook workspace resources
      properties:
        value:
          type: array
          description: Array of notebook workspace resources
          items:
            $ref: '#/components/schemas/NotebookWorkspace'
        nextLink:
          type: string
    TypesErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    ARMProxyResource:
      type: object
      description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags
      properties:
        id:
          type: string
          description: The unique resource identifier of the database account.
          readOnly: true
        name:
          type: string
          description: The name of the database account.
          readOnly: true
        type:
          type: string
          description: The type of Azure resource.
          readOnly: true
    NotebookWorkspaceCreateUpdateParameters:
      type: object
      description: Parameters to create a notebook workspace resource
      allOf:
      - $ref: '#/components/schemas/ARMProxyResource'
    NotebookWorkspace:
      type: object
      description: A notebook workspace resource
      properties:
        properties:
          $ref: '#/components/schemas/NotebookWorkspaceProperties'
          description: Resource properties.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.