Google Nest Smart Device Management Nest Enterprises API

The Nest Enterprises API from Google Nest Smart Device Management — 7 operation(s) for nest enterprises.

GitHub OpenAPI

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 /v1/enterprises/{enterprisesId}/structures/{structuresId} Get a structure · Get structures #
Ask an LLM
“What are the details of one building managed by my enterprise?”
“Can I look up a structure by its ID?”
Tell an agent
Get structure {structure} in enterprise {enterprise}.
Show the details of building {structure} for {enterprise}.
GET /v1/enterprises/{enterprisesId}/structures List structures · List structures #
Ask an LLM
“Which buildings does my enterprise manage?”
“Can I filter the list of structures?”
Tell an agent
List structures in enterprise {enterprise}.
Show {enterprise}'s buildings matching {filter}.
GET /v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms/{roomsId} Get a room · Get rooms #
Ask an LLM
“What are the details of one room in a structure?”
“Can I fetch a single room by its ID?”
Tell an agent
Get room {room} in structure {structure} of enterprise {enterprise}.
Show the details of room {room} in {structure} for {enterprise}.
GET /v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms List rooms in a structure · List rooms #
Ask an LLM
“Which rooms are in a particular building?”
“Can I list rooms under one structure?”
Tell an agent
List rooms in structure {structure} for enterprise {enterprise}.
Show every room in {structure} under {enterprise}.
POST /v1/enterprises/{enterprisesId}/devices/{devicesId}:executeCommand Send a command to a device · Execute command devices #
Ask an LLM
“How do I send a command to a smart device?”
“Can I execute a command on a device by its ID?”
Tell an agent
Execute command {command} on device {device} in enterprise {enterprise}.
Send {command} to device {device} in {enterprise} with parameters {params}.
GET /v1/enterprises/{enterprisesId}/devices List devices · List devices #
Ask an LLM
“Which smart devices does my enterprise manage?”
“Can I filter devices by custom name?”
Tell an agent
List devices in enterprise {enterprise}.
Show devices in {enterprise} matching {filter}.
GET /v1/enterprises/{enterprisesId}/devices/{devicesId} Get a device · Get devices #
Ask an LLM
“What are the details of one smart device?”
“Can I look up a device by its ID?”
Tell an agent
Get device {device} in enterprise {enterprise}.
Show the details of device {device} for {enterprise}.

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/google-nest:google-nest-enterprises-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

google-nest-enterprises-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Smart Device Management Enterprises API
  version: v1
  description: Generated from Google's published Discovery document for Smart Device Management API (smartdevicemanagement v1, revision 20261106). 7 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://smartdevicemanagement.googleapis.com
tags:
- name: Enterprises
paths:
  /v1/enterprises/{enterprisesId}/structures/{structuresId}:
    get:
      operationId: smartdevicemanagement.enterprises.structures.get
      summary: Get structures
      description: Gets a structure managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: structuresId
        in: path
        required: true
        description: Resource name segment (structuresId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Structure'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/structures:
    get:
      operationId: smartdevicemanagement.enterprises.structures.list
      summary: List structures
      description: Lists structures managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: filter
        in: query
        required: false
        description: Optional filter to list structures.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ListStructuresResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms/{roomsId}:
    get:
      operationId: smartdevicemanagement.enterprises.structures.rooms.get
      summary: Get rooms
      description: Gets a room managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: structuresId
        in: path
        required: true
        description: Resource name segment (structuresId).
        schema:
          type: string
      - name: roomsId
        in: path
        required: true
        description: Resource name segment (roomsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Room'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms:
    get:
      operationId: smartdevicemanagement.enterprises.structures.rooms.list
      summary: List rooms
      description: Lists rooms managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: structuresId
        in: path
        required: true
        description: Resource name segment (structuresId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ListRoomsResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/devices/{devicesId}:executeCommand:
    post:
      operationId: smartdevicemanagement.enterprises.devices.executeCommand
      summary: Execute command devices
      description: Executes a command to device managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: devicesId
        in: path
        required: true
        description: Resource name segment (devicesId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/devices:
    get:
      operationId: smartdevicemanagement.enterprises.devices.list
      summary: List devices
      description: Lists devices managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: filter
        in: query
        required: false
        description: 'Optional filter to list devices. Filters can be done on: Device custom name (substring match): ''customName=wing'''
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ListDevicesResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
  /v1/enterprises/{enterprisesId}/devices/{devicesId}:
    get:
      operationId: smartdevicemanagement.enterprises.devices.get
      summary: Get devices
      description: Gets a device managed by the enterprise.
      parameters:
      - name: enterprisesId
        in: path
        required: true
        description: Resource name segment (enterprisesId).
        schema:
          type: string
      - name: devicesId
        in: path
        required: true
        description: Resource name segment (devicesId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Device'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/sdm.service
      - apiKey: []
      tags:
      - Enterprises
components:
  schemas:
    GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse:
      description: Response message for SmartDeviceManagementService.ExecuteDeviceCommand
      type: object
      properties:
        results:
          type: object
          additionalProperties:
            description: Properties of the object.
          description: The results of executing the command.
    GoogleHomeEnterpriseSdmV1Structure:
      type: object
      properties:
        name:
          type: string
          description: 'Output only. The resource name of the structure. For example: "enterprises/XYZ/structures/ABC".'
          readOnly: true
        traits:
          additionalProperties:
            description: Properties of the object.
          description: Structure traits.
          type: object
      description: Structure resource represents an instance of enterprise managed home or hotel room.
    GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest:
      description: Request message for SmartDeviceManagementService.ExecuteDeviceCommand
      properties:
        params:
          additionalProperties:
            description: Properties of the object.
          description: The command message to execute, represented as a Struct.
          type: object
        command:
          description: The command name to execute, represented by the fully qualified protobuf message name.
          type: string
      type: object
    GoogleHomeEnterpriseSdmV1ListStructuresResponse:
      properties:
        structures:
          items:
            $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Structure'
          type: array
          description: The list of structures.
      description: Response message for SmartDeviceManagementService.ListStructures
      type: object
    GoogleHomeEnterpriseSdmV1ParentRelation:
      type: object
      description: Represents device relationships, for instance, structure/room to which the device is assigned to.
      properties:
        parent:
          readOnly: true
          type: string
          description: 'Output only. The name of the relation -- e.g., structure/room where the device is assigned to. For example: "enterprises/XYZ/structures/ABC" or "enterprises/XYZ/structures/ABC/rooms/123"'
        displayName:
          readOnly: true
          type: string
          description: Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    GoogleHomeEnterpriseSdmV1ListDevicesResponse:
      properties:
        devices:
          items:
            $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Device'
          description: The list of devices.
          type: array
      type: object
      description: Response message for SmartDeviceManagementService.ListDevices
    GoogleHomeEnterpriseSdmV1ListRoomsResponse:
      properties:
        rooms:
          items:
            $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1Room'
          type: array
          description: The list of rooms.
      description: Response message for SmartDeviceManagementService.ListRooms
      type: object
    GoogleHomeEnterpriseSdmV1Room:
      properties:
        name:
          readOnly: true
          description: 'Output only. The resource name of the room. For example: "enterprises/XYZ/structures/ABC/rooms/123".'
          type: string
        traits:
          description: Room traits.
          additionalProperties:
            description: Properties of the object.
          type: object
      description: Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.
      type: object
    GoogleHomeEnterpriseSdmV1Device:
      type: object
      properties:
        name:
          type: string
          description: 'Required. The resource name of the device. For example: "enterprises/XYZ/devices/123".'
        traits:
          readOnly: true
          type: object
          additionalProperties:
            description: Properties of the object.
          description: Output only. Device traits.
        type:
          type: string
          readOnly: true
          description: 'Output only. Type of the device for general display purposes. For example: "THERMOSTAT". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device.'
        parentRelations:
          items:
            $ref: '#/components/schemas/GoogleHomeEnterpriseSdmV1ParentRelation'
          description: Assignee details of the device.
          type: array
      description: Device resource represents an instance of enterprise managed device in the property.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/sdm.service: See and/or control the devices that you selected
externalDocs:
  url: https://developers.google.com/nest/device-access
x-provenance:
  method: harvested
  publisher: Google
  source: https://smartdevicemanagement.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)