---
title: "PUT /inference-pipelines/{inferencePipelineId}"
method: PUT
path: "/inference-pipelines/{inferencePipelineId}"
tags: ["Monitoring"]
---

# PUT /inference-pipelines/{inferencePipelineId}

`PUT /inference-pipelines/{inferencePipelineId}`

Update inference pipeline.

## Path parameters

- `inferencePipelineId` string, uuid, required

## Request body

- object
  - `referenceDatasetUri` string, nullable — The storage uri of your reference dataset. We recommend using the Python SDK or the UI to handle your reference dataset updates.

## Response `200`

Status OK.

- InferencePipeline
  - `id` string, uuid, required — The inference pipeline id.
  - `projectId` string, uuid, required — The project id.
  - `workspaceId` string, uuid — The workspace id.
  - `project` Project
    - `id` string, uuid, required — The project id.
    - `workspaceId` string, uuid, nullable, required — The workspace id.
    - `creatorId` string, uuid, nullable, required — The project creator id.
    - `name` string, required — The project name.
    - `dateCreated` string, date-time, required — The project creation date.
    - `dateUpdated` string, date-time, required — The project last updated date.
    - `description` string, nullable — The project description.
    - `source` 'web' | 'api' | 'null', nullable, required — The source of the project.
    - `taskType` 'llm-base' | 'tabular-classification' | 'tabular-regression' | 'text-classification', required — The task type of the project.
    - `versionCount` integer, required — The number of versions (commits) in the project.
    - `inferencePipelineCount` integer, required — The number of inference pipelines in the project.
    - `goalCount` integer, required — The total number of tests in the project.
    - `developmentGoalCount` integer, required — The number of tests in the development mode of the project.
    - `monitoringGoalCount` integer, required — The number of tests in the monitoring mode of the project.
    - `links` object, required — Links to the project.
      - `app` string, required
    - `gitRepo` GitRepo
      - `id` string, uuid, required
      - `gitId` integer, required
      - `dateConnected` string, date-time, required
      - `dateUpdated` string, date-time, required
      - `branch` string
      - `name` string, required
      - `private` boolean, required
      - `slug` string, required
      - `url` string, url, required
      - `rootDir` string
      - `projectId` string, uuid, required
      - `gitAccountId` string, uuid, required
  - `workspace` Workspace
    - `id` string, uuid, required — The workspace id.
    - `name` string, required — The workspace name.
    - `slug` string, required — The workspace slug.
    - `dateCreated` string, date-time, required — The workspace creation date.
    - `dateUpdated` string, date-time, required — The workspace last updated date.
    - `creatorId` string, uuid, nullable, required — The workspace creator id.
    - `inviteCode` string — The workspace invite code.
    - `wildcardDomains` string[]
    - `projectCount` integer, required — The number of projects in the workspace.
    - `memberCount` integer, required — The number of members in the workspace.
    - `monthlyUsage` object[]
      - `monthYear` string, date
      - `predictionCount` integer
      - `executionTimeMs` integer, nullable
    - `inviteCount` integer, required — The number of invites in the workspace.
    - `periodStartDate` string, date-time, nullable, required — The start date of the current billing period.
    - `periodEndDate` string, date-time, nullable, required — The end date of the current billing period.
    - `samlOnlyAccess` boolean — Whether the workspace only allows SAML authentication.
    - `status` 'active' | 'past_due' | 'unpaid' | 'canceled' | 'incomplete' | 'incomplete_expired' | 'trialing' | 'paused', required
  - `name` string, required — The inference pipeline name.
  - `dateCreated` string, date-time, required — The creation date.
  - `dateUpdated` string, date-time, required — The last updated date.
  - `dateLastSampleReceived` string, date-time, nullable, required — The last data sample received date.
  - `dateLastPolled` string, date-time, nullable — The last time the data was polled.
  - `totalRecordsCount` integer, nullable — The total number of records in the data backend.
  - `description` string, nullable, required — The inference pipeline description.
  - `dateLastEvaluated` string, date-time, nullable, required — The last test evaluation date.
  - `dateOfNextEvaluation` string, date-time, nullable, required — The next test evaluation date.
  - `passingGoalCount` integer, required — The number of tests passing.
  - `failingGoalCount` integer, required — The number of tests failing.
  - `totalGoalCount` integer, required — The total number of tests.
  - `status` 'queued' | 'running' | 'paused' | 'failed' | 'completed' | 'unknown', required — The status of test evaluation for the inference pipeline.
  - `statusMessage` string, nullable, required — The status message of test evaluation for the inference pipeline.
  - `links` object, required
    - `app` string, required
  - `dataBackend` union
    - object
      - `backendType` 'bigquery', required
      - `bigqueryConnectionId` string, uuid, nullable, required
      - `projectId` string, required
      - `datasetId` string, required
      - `tableId` string, nullable, required
      - `partitionType` 'DAY' | 'MONTH' | 'YEAR', nullable
      - `config` DatastreamConfigUpdate, required
        - `inferenceIdColumnName` string, nullable — Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
        - `latencyColumnName` string, nullable — Name of the column with the latencies.
        - `timestampColumnName` string, nullable — Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
        - `groundTruthColumnName` string, nullable — Name of the column with the ground truths.
        - `humanFeedbackColumnName` string, nullable — Name of the column with human feedback.
    - object
      - `backendType` 'default', required
    - object
      - `backendType` 'snowflake', required
      - `snowflakeConnectionId` string, uuid, nullable, required
      - `database` string, required
      - `schema` string, required
      - `table` string, nullable, required
      - `config` DatastreamConfigUpdate, required
        - `inferenceIdColumnName` string, nullable — Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
        - `latencyColumnName` string, nullable — Name of the column with the latencies.
        - `timestampColumnName` string, nullable — Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
        - `groundTruthColumnName` string, nullable — Name of the column with the ground truths.
        - `humanFeedbackColumnName` string, nullable — Name of the column with human feedback.
    - object
      - `backendType` 'databricks_dtl', required
      - `databricksDtlConnectionId` string, uuid, nullable, required
      - `tableId` string, nullable, required
      - `config` DatastreamConfigUpdate, required
        - `inferenceIdColumnName` string, nullable — Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
        - `latencyColumnName` string, nullable — Name of the column with the latencies.
        - `timestampColumnName` string, nullable — Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
        - `groundTruthColumnName` string, nullable — Name of the column with the ground truths.
        - `humanFeedbackColumnName` string, nullable — Name of the column with human feedback.
    - object
      - `backendType` 'redshift', required
      - `redshiftConnectionId` string, uuid, nullable, required
      - `schemaName` string, required
      - `tableName` string, required
      - `config` DatastreamConfigUpdate, required
        - `inferenceIdColumnName` string, nullable — Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
        - `latencyColumnName` string, nullable — Name of the column with the latencies.
        - `timestampColumnName` string, nullable — Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
        - `groundTruthColumnName` string, nullable — Name of the column with the ground truths.
        - `humanFeedbackColumnName` string, nullable — Name of the column with human feedback.
    - object
      - `backendType` 'postgres', required
      - `postgresConnectionId` string, uuid, nullable, required
      - `database` string, required
      - `schema` string, required
      - `table` string, nullable, required
      - `config` DatastreamConfigUpdate, required
        - `inferenceIdColumnName` string, nullable — Name of the column with the inference ids. This is useful if you want to update rows at a later point in time. If not provided, a unique id is generated by Openlayer.
        - `latencyColumnName` string, nullable — Name of the column with the latencies.
        - `timestampColumnName` string, nullable — Name of the column with the timestamps. Timestamps must be in UNIX sec format. If not provided, the upload timestamp is used.
        - `groundTruthColumnName` string, nullable — Name of the column with the ground truths.
        - `humanFeedbackColumnName` string, nullable — Name of the column with human feedback.

## Other responses

- `default` — Unexpected error.

---

[API](https://skmtc.net/openlayer/apis/openlayer-api.md) · [All operations](https://skmtc.net/openlayer/apis/openlayer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openlayer/openlayer-api/versions/d0e74f00c900/schema)
