Netography Traffic Sources - Devices API

The Traffic Sources - Devices API from Netography — 11 operation(s) for traffic sources - devices.

OpenAPI Specification

netography-traffic-sources-devices-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Netography (Vectra Fusion) Analytics Traffic Sources - Devices API
  version: '1.0'
  description: Netography Fusion (now Vectra Fusion) REST API. Harvested from the provider's public API reference (docs.fusion.vectra.ai, formerly docs.netography.com).
  x-apievangelist-source: https://docs.fusion.vectra.ai/api-reference (formerly docs.netography.com); harvested from embedded OpenAPI blocks
  x-apievangelist-method: searched
  x-apievangelist-generated: '2026-07-20'
servers:
- url: https://api.netography.com
  description: Netography API
tags:
- name: Traffic Sources - Devices
paths:
  /api/v1/devices:
    get:
      operationId: v1_devices_get
      summary: List Devices
      description: Returns an array of devices.
      tags:
      - Traffic Sources - Devices
      responses:
        '200':
          description: List of Devices Requested, or an array containing the new/updated Device after a Create or Update operation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  meta:
                    type: object
                    additionalProperties: false
                    readOnly: true
                    properties:
                      code:
                        description: API response code.  200 ok, 400 you did something wrong.  500 we did something wrong
                        type: integer
                        readOnly: true
                        format: int32
                      count:
                        description: Number of documents retrieved or updated.
                        type: integer
                        readOnly: true
                        format: int32
                  data:
                    description: Result set from API call
                    type: array
                    maxItems: 1000
                    items:
                      required:
                      - id
                      - name
                      - ips
                      - samplerate
                      allOf:
                      - type: object
                        required:
                        - id
                        additionalProperties: false
                        properties:
                          id:
                            type: string
                            readOnly: true
                            description: The ID for the device.  This is immutable.
                      - required:
                        - name
                        - ips
                        - samplerate
                        additionalProperties: false
                        properties:
                          name:
                            description: The name of the device. Eg. router1.site.company.com
                            type: string
                          ips:
                            description: An array of IPs that this device sends flows from.
                            type: array
                            items:
                              type: string
                              format: cidr
                          samplerate:
                            description: The samplerate of flows this device will send.
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 65535
                          payload:
                            description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                            type: boolean
                          tags:
                            description: An array of strings to tag every flow from this device with.
                            type: array
                            items:
                              type: string
                          site:
                            description: The site identifier for this device.
                            type: string
        '400':
          description: Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '401':
          description: Access token is missing or invalid
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '403':
          description: Access is forbidden
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        default:
          description: Unknown Error Occurred
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - name
                - message
                additionalProperties: false
                properties:
                  status:
                    description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                    type: integer
                    readOnly: true
                    format: int32
                  name:
                    description: They type of error
                    type: string
                    readOnly: true
                  message:
                    description: description of the error
                    type: string
                    readOnly: true
  /api/v1/device:
    post:
      operationId: v1_device_post
      summary: Create Device
      description: Creates a device from the data that's been supplied.  Do not provide an id.  IDs are auto generated
      requestBody:
        description: Device to be added
        required: true
        content:
          application/json:
            schema:
              required:
              - name
              - ips
              - samplerate
              additionalProperties: false
              properties:
                name:
                  description: The name of the device. Eg. router1.site.company.com
                  type: string
                ips:
                  description: An array of IPs that this device sends flows from.
                  type: array
                  items:
                    type: string
                    format: cidr
                samplerate:
                  description: The samplerate of flows this device will send.
                  type: integer
                  format: int32
                  minimum: 1
                  maximum: 65535
                payload:
                  description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                  type: boolean
                tags:
                  description: An array of strings to tag every flow from this device with.
                  type: array
                  items:
                    type: string
                site:
                  description: The site identifier for this device.
                  type: string
      tags:
      - Traffic Sources - Devices
      responses:
        '201':
          description: List of Devices Requested, or an array containing the new/updated Device after a Create or Update operation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  meta:
                    type: object
                    additionalProperties: false
                    readOnly: true
                    properties:
                      code:
                        description: API response code.  200 ok, 400 you did something wrong.  500 we did something wrong
                        type: integer
                        readOnly: true
                        format: int32
                      count:
                        description: Number of documents retrieved or updated.
                        type: integer
                        readOnly: true
                        format: int32
                  data:
                    description: Result set from API call
                    type: array
                    maxItems: 1000
                    items:
                      required:
                      - id
                      - name
                      - ips
                      - samplerate
                      allOf:
                      - type: object
                        required:
                        - id
                        additionalProperties: false
                        properties:
                          id:
                            type: string
                            readOnly: true
                            description: The ID for the device.  This is immutable.
                      - required:
                        - name
                        - ips
                        - samplerate
                        additionalProperties: false
                        properties:
                          name:
                            description: The name of the device. Eg. router1.site.company.com
                            type: string
                          ips:
                            description: An array of IPs that this device sends flows from.
                            type: array
                            items:
                              type: string
                              format: cidr
                          samplerate:
                            description: The samplerate of flows this device will send.
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 65535
                          payload:
                            description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                            type: boolean
                          tags:
                            description: An array of strings to tag every flow from this device with.
                            type: array
                            items:
                              type: string
                          site:
                            description: The site identifier for this device.
                            type: string
        '400':
          description: Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '401':
          description: Access token is missing or invalid
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '403':
          description: Access is forbidden
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        default:
          description: Unknown Error Occurred
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - name
                - message
                additionalProperties: false
                properties:
                  status:
                    description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                    type: integer
                    readOnly: true
                    format: int32
                  name:
                    description: They type of error
                    type: string
                    readOnly: true
                  message:
                    description: description of the error
                    type: string
                    readOnly: true
  /api/v1/device/{id}:
    get:
      operationId: v1_device_id_get
      summary: Fetch Device
      description: Fetches a specific device from the ID supplied in the path.
      tags:
      - Traffic Sources - Devices
      parameters:
      - name: id
        in: path
        required: true
        description: The ID of the device to be returned.
        schema:
          type: string
      responses:
        '200':
          description: List of Devices Requested, or an array containing the new/updated Device after a Create or Update operation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  meta:
                    type: object
                    additionalProperties: false
                    readOnly: true
                    properties:
                      code:
                        description: API response code.  200 ok, 400 you did something wrong.  500 we did something wrong
                        type: integer
                        readOnly: true
                        format: int32
                      count:
                        description: Number of documents retrieved or updated.
                        type: integer
                        readOnly: true
                        format: int32
                  data:
                    description: Result set from API call
                    type: array
                    maxItems: 1000
                    items:
                      required:
                      - id
                      - name
                      - ips
                      - samplerate
                      allOf:
                      - type: object
                        required:
                        - id
                        additionalProperties: false
                        properties:
                          id:
                            type: string
                            readOnly: true
                            description: The ID for the device.  This is immutable.
                      - required:
                        - name
                        - ips
                        - samplerate
                        additionalProperties: false
                        properties:
                          name:
                            description: The name of the device. Eg. router1.site.company.com
                            type: string
                          ips:
                            description: An array of IPs that this device sends flows from.
                            type: array
                            items:
                              type: string
                              format: cidr
                          samplerate:
                            description: The samplerate of flows this device will send.
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 65535
                          payload:
                            description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                            type: boolean
                          tags:
                            description: An array of strings to tag every flow from this device with.
                            type: array
                            items:
                              type: string
                          site:
                            description: The site identifier for this device.
                            type: string
        '400':
          description: Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '401':
          description: Access token is missing or invalid
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '403':
          description: Access is forbidden
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        default:
          description: Unknown Error Occurred
          content:
            application/json:
              schema:
                type: object
                required:
                - status
                - name
                - message
                additionalProperties: false
                properties:
                  status:
                    description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                    type: integer
                    readOnly: true
                    format: int32
                  name:
                    description: They type of error
                    type: string
                    readOnly: true
                  message:
                    description: description of the error
                    type: string
                    readOnly: true
    put:
      operationId: v1_devoce_id_put
      summary: Update Device
      description: Update a device given the provided object.  This does not do a diff.  You must send the complete object.
      requestBody:
        description: Device to be updated
        required: true
        content:
          application/json:
            schema:
              required:
              - name
              - ips
              - samplerate
              additionalProperties: false
              properties:
                name:
                  description: The name of the device. Eg. router1.site.company.com
                  type: string
                ips:
                  description: An array of IPs that this device sends flows from.
                  type: array
                  items:
                    type: string
                    format: cidr
                samplerate:
                  description: The samplerate of flows this device will send.
                  type: integer
                  format: int32
                  minimum: 1
                  maximum: 65535
                payload:
                  description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                  type: boolean
                tags:
                  description: An array of strings to tag every flow from this device with.
                  type: array
                  items:
                    type: string
                site:
                  description: The site identifier for this device.
                  type: string
      tags:
      - Traffic Sources - Devices
      parameters:
      - name: id
        in: path
        required: true
        description: The ID of the device to be updated
        schema:
          type: string
      responses:
        '200':
          description: List of Devices Requested, or an array containing the new/updated Device after a Create or Update operation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                properties:
                  meta:
                    type: object
                    additionalProperties: false
                    readOnly: true
                    properties:
                      code:
                        description: API response code.  200 ok, 400 you did something wrong.  500 we did something wrong
                        type: integer
                        readOnly: true
                        format: int32
                      count:
                        description: Number of documents retrieved or updated.
                        type: integer
                        readOnly: true
                        format: int32
                  data:
                    description: Result set from API call
                    type: array
                    maxItems: 1000
                    items:
                      required:
                      - id
                      - name
                      - ips
                      - samplerate
                      allOf:
                      - type: object
                        required:
                        - id
                        additionalProperties: false
                        properties:
                          id:
                            type: string
                            readOnly: true
                            description: The ID for the device.  This is immutable.
                      - required:
                        - name
                        - ips
                        - samplerate
                        additionalProperties: false
                        properties:
                          name:
                            description: The name of the device. Eg. router1.site.company.com
                            type: string
                          ips:
                            description: An array of IPs that this device sends flows from.
                            type: array
                            items:
                              type: string
                              format: cidr
                          samplerate:
                            description: The samplerate of flows this device will send.
                            type: integer
                            format: int32
                            minimum: 1
                            maximum: 65535
                          payload:
                            description: Whether to store payload sample or not.  SFLOW only.  Default to false if not set.
                            type: boolean
                          tags:
                            description: An array of strings to tag every flow from this device with.
                            type: array
                            items:
                              type: string
                          site:
                            description: The site identifier for this device.
                            type: string
        '400':
          description: Bad Request. Typically due to a malformatted JSON body, or parameter values are not validating.
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
                      readOnly: true
                - type: object
                  properties:
                    status: {}
                    name: {}
                    message: {}
        '401':
          description: Access token is missing or invalid
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - status
                  - name
                  - message
                  additionalProperties: false
                  properties:
                    status:
                      description: "API response code: \n  * 4xx - you did something dumb\n  * 5xx - we did something dumb\n"
                      type: integer
                      readOnly: true
                      format: int32
                    name:
                      description: They type of error
                      type: string
                      readOnly: true
                    message:
                      description: description of the error
                      type: string
     

# --- truncated at 32 KB (153 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/netography/refs/heads/main/openapi/netography-traffic-sources-devices-api-openapi.yml