Colab API (colaboratory:v1)

2026-11-04

3 new methods | New API

Additions

    Methods
  • ▼ ▲ colaboratory.operations.get

      Parameters :

        name

          Pattern : ^operations/.*$

          Type : string

          Location : path

          Required : Yes

          Description : The name of the operation resource.

      Description : Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Scopes :

    • https://www.googleapis.com/auth/colaboratory
    • https://www.googleapis.com/auth/colaboratory.readonly
    • HTTP Method : GET

      Flat Path : v1/operations/{operationsId}

      Parameter Order : name

      Path : v1/{+name}

  • ▼ ▲ colaboratory.operations.list

      HTTP Method : GET

      Flat Path : v1/operations

      Path : v1/operations

      Description : Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Parameters :

        pageSize

          Location : query

          Format : int32

          Description : The standard list page size.

          Type : integer

        pageToken

          Location : query

          Type : string

          Description : The standard list page token.

      Scopes :

    • https://www.googleapis.com/auth/colaboratory
    • https://www.googleapis.com/auth/colaboratory.readonly
  • ▼ ▲ colaboratory.operations.wait

      Description : Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

      Scopes :

    • https://www.googleapis.com/auth/colaboratory
    • https://www.googleapis.com/auth/colaboratory.readonly
    • Parameters :

        name

          Location : path

          Required : Yes

          Pattern : ^operations/[^/]+$

          Type : string

          Description : The name of the operation resource to wait on.

        timeout

          Format : google-duration

          Description : The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used.

          Type : string

          Location : query

      Path : v1/{+name}:wait

      HTTP Method : GET

      Parameter Order : name

      Flat Path : v1/operations/{operationsId}:wait