Patch by persisted kind after ownership is established.
OOTB workflows accept only workflowConfiguration.steps, name, description, projects, and editors; a protected field sent to an OOTB workflow is rejected with 422. Custom workflows keep their existing partial-update contract.
Partial-update body for a workflow; send only the fields to change. companyId is immutable.
- API EUhttps://api.cloud.hypatos.ai/v2/agent-workflows/{id}
- API UShttps://api.cloud.hypatos.com/v2/agent-workflows/{id}
- Mock serverhttps://hypatos.redocly.app/_mock/openapi/agent-workflows/{id}
curl -i -X PATCH \
'https://api.cloud.hypatos.ai/v2/agent-workflows/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"companyId": "string",
"projects": "string",
"name": "string",
"model": "string",
"description": "string",
"trainingCompanyId": "string",
"trainingProjects": "string",
"similarityThreshold": 0,
"useOcrTextPages": true,
"editors": [
"string"
],
"similarityApi": true,
"useImages": true,
"maxNumTrainingDocuments": 0,
"bboxRegionDetectionMode": "WORD_MATCHING",
"workflowType": "EXTRACTION",
"workflowConfiguration": {}
}'Successful Response
Comma separated list of projectIds
Description of Workflow
Comma separated list of training projectIds used as source documents repository
Date when Workflow was added
Id of the caller that created the workflow; an OAuth client id when created via this API
Id of the caller that last updated the workflow; an OAuth client id when updated via this API
Date when Workflow was last modified
Defines the minimum similarity between the uploaded document and context examples from the training project
Ability to use ocrTextPages (Google OCR) in the prompt
Ability to set similarity service API for document training data
Maximum number of training documents used in the workflow
The bounding boxes region detection mode of prompting-settings
Type of workflow (EXTRACTION returns value-form entities, PREPROCESSING returns raw JSON)
The workflow's step configuration: the agents to run and how they are chained
Source workflow identifier for imported workflows
Concrete source workflow version used for import
{ "id": "dcbc075f-a99c-4199-86ed-fb4ed5684dd9", "companyId": "6081acde0377a83b93f05a10", "projects": "6299d91c04dd5dd5d81c99bb,63bc7bf22b5bc8f3d0625092", "name": "Some very nice workflow", "model": "dcbc075f-a99c-4199-86ed-fb4ed5684dd9", "description": "Some more verbose description", "trainingCompanyId": "6081acde0377a83b93f05a10", "trainingProjects": "6523b5bcac1cb469d7fc1bd9", "createdAt": "2023-10-27T11:38:18.000Z", "createdBy": "acme-integration", "updatedBy": "acme-integration", "updatedAt": "2023-10-27T12:38:18.000Z", "similarityThreshold": 0.78, "useOcrTextPages": false, "editors": [ "string" ], "similarityApi": true, "useImages": false, "maxNumTrainingDocuments": 2, "bboxRegionDetectionMode": "WORD_MATCHING", "workflowType": "EXTRACTION", "workflowConfiguration": {}, "version": "string", "sourceWorkflowId": "eb3ffc5d-a273-4862-91d2-41d306d39afe", "sourceWorkflowVersion": "string", "isOotb": false }