Skip to main content
PUT
/
pipelines
/
{pipelineId}
Update a pipeline definition
curl --request PUT \
  --url https://api.artosai.com/pipelines/{pipelineId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "agentIds": [
    "<string>"
  ],
  "documents": [
    "<string>"
  ],
  "connectorId": "<string>",
  "referenceDocument": "<string>",
  "outputFileName": "<string>"
}
'
{
  "pipelineId": "<string>",
  "name": "<string>",
  "status": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "version": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pipelineId
string
required

Body

application/json
name
string
agentIds
string[]
documents
string[]
connectorId
string
referenceDocument
string
outputFileName
string

Response

200 - application/json

Pipeline updated

pipelineId
string
name
string
status
string
updated_at
string<date-time>
version
integer