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

Authorizations

Authorization
string
header
required

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

Body

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

Response

201 - application/json

Pipeline created

pipelineId
string
name
string
status
string
created_at
string<date-time>
created_by
string