> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acusight.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Set desired pipeline config

> Sets the desired config that will be pushed to the edge device on next checkin



## OpenAPI

````yaml /api-spec.json put /core/devices/{device_id}/pipelines/{pipeline_id}/config
openapi: 3.0.0
info:
  contact:
    name: Acusight API Support
  description: >-
    Acusight platform API - custom endpoints + Portainer proxy routes for edge
    AI deployments
  title: Acusight API
  version: 1.0.0
servers:
  - url: https://acusight.io/api
    description: AcuSight Cloud (hosted)
security: []
tags:
  - name: Devices & provisioning
    description: Register, provision, and manage edge devices and their agents.
  - name: Virtual devices
    description: Create and drive simulated devices for testing and demos.
  - name: Alerts & telemetry
    description: Model alerts, alert rules, and product telemetry.
  - name: Organization
    description: Organization-level settings.
  - name: Datasets & data
    description: Projects, batches, datasets, images, annotations, and drift.
  - name: Models & training
    description: Model registry, training jobs, exports, and inference.
  - name: Pipeline data
    description: Detection time-series and aggregated pipeline analytics.
paths:
  /core/devices/{device_id}/pipelines/{pipeline_id}/config:
    put:
      tags:
        - Devices & provisioning
      summary: Set desired pipeline config
      description: >-
        Sets the desired config that will be pushed to the edge device on next
        checkin
      parameters:
        - description: Device ID
          in: path
          name: device_id
          required: true
          schema:
            type: string
        - description: Pipeline ID
          in: path
          name: pipeline_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
        description: Desired config JSON
        required: true
      responses:
        '200':
          description: Config updated
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
        '400':
          description: Invalid JSON
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
        '404':
          description: Pipeline not found
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token. Paste the token only; the Bearer prefix is added
        automatically.

````