Create pipeline
Creates a new pipeline that continuously ingests data from a source system and sends each record to an agent for processing. Each source record creates a new agent session. A pipeline is distinct from an agent schedule, which is a recurring single execution of an agent. It is also distinct from a connector, which is a bidirectional chat integration like Slack. A pipeline is an automated, one-directional flow of all source data through an agent.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"key": "sharepoint-legal-ingest",
"name": "SharePoint Legal Docs Ingest",
"source": {
"type": "sharepoint",
"site_url": "https://contoso.sharepoint.com/sites/legal",
"tenant_id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"client_id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
"folder_path": "/Contracts/2026"
},
"trigger": {
"type": "cron",
"expression": "0 */6 * * *"
},
"transform": {
"type": "agent",
"agent_key": "customer_support",
"verification": {
"type": "condition",
"expression": "get('$.output.status') == 'success'",
"reason_expression": "'Status was ' + get('$.output.status')"
}
},
"processing_options": {
"record_timeout_minutes": 60,
"max_concurrent_records": 6
}
}Response
The created pipeline.
Example response
{
"key": "sharepoint-legal-ingest",
"name": "SharePoint Legal Docs Ingest",
"description": "Ingests legal contracts from SharePoint and indexes them into the legal corpus.",
"source": {
"type": "sharepoint",
"site_url": "https://contoso.sharepoint.com/sites/legal",
"tenant_id": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"client_id": "0a1b2c3d-4e5f-6789-abcd-ef0123456789",
"folder_path": "/Contracts/2026"
},
"trigger": {
"type": "cron",
"expression": "0 */6 * * *"
},
"transform": {
"type": "agent",
"agent_key": "customer_support",
"verification": {
"type": "condition",
"expression": "get('$.output.status') == 'success'",
"reason_expression": "'Status was ' + get('$.output.status')"
}
},
"processing_options": {
"record_timeout_minutes": 60,
"max_concurrent_records": 6
},
"watermark": {
"value": "2026-02-19T08:00:00Z"
}
}Changes
Changed in 4 of the 8 revisions of this API.3116
- ▲
added to the
response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added
wolken_ticketsdiscriminator mapping keys to therequest propertyrequest-property-discriminator-mapping-added
- ○
added to the
request propertyoneOflistrequest-property-one-of-added
- ○
added
wolken_ticketsdiscriminator mapping keys to theresponse property for the response statusresponse-property-discriminator-mapping-added
- ▲
- ▲
the
/////////response property's max was increased from20.00to50.00for the response statusresponse-property-max-increased
- ▲
added to the
response propertyoneOflist for the response statusresponse-property-one-of-added
- ○
added the new optional request property
new-optional-request-property
- ○
added the new optional request property
/////////new-optional-request-property
- ○
request property
/////////deprecatedrequest-property-deprecated
- ○
added
docebodiscriminator mapping keys to therequest propertyrequest-property-discriminator-mapping-added
- ○
the
/////////request property's max was increased from20.00to50.00request-property-max-increased
- ○
added to the
request propertyoneOflistrequest-property-one-of-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////////to the response with the statusresponse-optional-property-added
- ○
response property
source/oneOf[WebSourceConfiguration]/allOf[BaseWebSource]/max_concurrentdeprecatedresponse-property-deprecated
- ○
added
docebodiscriminator mapping keys to theresponse property for the response statusresponse-property-discriminator-mapping-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
//////////new-optional-request-property
- ○
added the optional property
//////////to the response with the statusresponse-optional-property-added
- ○
- ●
added the new
mapsenum value to the/////////response property for the response statusresponse-property-enum-value-added
- ○
added the new
mapsenum value to the request property/////////request-property-enum-value-added
- ●