Viam Vision API

Detections, classifications, and 3D segmentation.

Operations 8

POST /viam.service.vision.v1.VisionService/GetDetectionsFromCamera Viam Get Detections From Camera #
POST /viam.service.vision.v1.VisionService/GetDetections Viam Get Detections #
POST /viam.service.vision.v1.VisionService/GetClassificationsFromCamera Viam Get Classifications From Camera #
POST /viam.service.vision.v1.VisionService/GetClassifications Viam Get Classifications #
POST /viam.service.vision.v1.VisionService/GetObjectPointClouds Viam Get Object Point Clouds #
POST /viam.service.vision.v1.VisionService/CaptureAllFromCamera Viam Capture All From Camera #
POST /viam.service.vision.v1.VisionService/GetProperties Viam Get Properties #
POST /viam.service.vision.v1.VisionService/DoCommand Viam Do Command #

Documentation

Specifications

Schemas & Data

Other Resources

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/viam-vision-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

viam-vision-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Viam Service Vision API
  description: 'REST/JSON transcoding of the Viam VisionService gRPC API. Run object detection,

    image classification, and 3D segmentation against a configured camera component.


    Canonical contract: https://github.com/viamrobotics/api/blob/main/proto/viam/service/vision/v1/vision.proto

    '
  version: '2026.05'
  contact:
    name: Viam Support
    url: https://www.viam.com/contact
servers:
- url: https://{machine_address}
  description: Per-machine viam-server endpoint.
  variables:
    machine_address:
      default: machine.local.viam.cloud:443
security:
- ApiKeyAuth: []
tags:
- name: Vision
  description: Detections, classifications, and 3D segmentation.
paths:
  /viam.service.vision.v1.VisionService/GetDetectionsFromCamera:
    post:
      summary: Viam Get Detections From Camera
      description: Run object detection against a configured camera component.
      operationId: getDetectionsFromCamera
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - camera_name
              properties:
                name:
                  type: string
                camera_name:
                  type: string
                extra:
                  type: object
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/GetDetections:
    post:
      summary: Viam Get Detections
      description: Run object detection against a provided image.
      operationId: getDetections
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - image
              - width
              - height
              - mime_type
              properties:
                name:
                  type: string
                image:
                  type: string
                  format: byte
                width:
                  type: integer
                height:
                  type: integer
                mime_type:
                  type: string
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/GetClassificationsFromCamera:
    post:
      summary: Viam Get Classifications From Camera
      description: Run image classification against a configured camera component.
      operationId: getClassificationsFromCamera
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - camera_name
              - n
              properties:
                name:
                  type: string
                camera_name:
                  type: string
                n:
                  type: integer
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/GetClassifications:
    post:
      summary: Viam Get Classifications
      description: Run image classification against a provided image.
      operationId: getClassifications
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - image
              - width
              - height
              - mime_type
              - n
              properties:
                name:
                  type: string
                image:
                  type: string
                  format: byte
                width:
                  type: integer
                height:
                  type: integer
                mime_type:
                  type: string
                n:
                  type: integer
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/GetObjectPointClouds:
    post:
      summary: Viam Get Object Point Clouds
      description: Segment 3D point clouds from a camera component into discrete objects.
      operationId: getObjectPointClouds
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - camera_name
              - mime_type
              properties:
                name:
                  type: string
                camera_name:
                  type: string
                mime_type:
                  type: string
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/CaptureAllFromCamera:
    post:
      summary: Viam Capture All From Camera
      description: Return image, detections, classifications, and point clouds in a single call.
      operationId: captureAllFromCamera
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - camera_name
              properties:
                name:
                  type: string
                camera_name:
                  type: string
                return_image:
                  type: boolean
                return_classifications:
                  type: boolean
                return_detections:
                  type: boolean
                return_object_point_clouds:
                  type: boolean
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/GetProperties:
    post:
      summary: Viam Get Properties
      description: Retrieve properties of the vision service.
      operationId: getProperties
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
      responses:
        '200':
          description: Successful response.
  /viam.service.vision.v1.VisionService/DoCommand:
    post:
      summary: Viam Do Command
      description: Model-specific custom commands.
      operationId: doCommand
      tags:
      - Vision
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - command
              properties:
                name:
                  type: string
                command:
                  type: object
      responses:
        '200':
          description: Successful response.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: key
      description: Viam API key or location secret.