Last active
April 10, 2025 22:15
-
-
Save keithmancuso/5069ff1cbff22bfd35035acb019be513 to your computer and use it in GitHub Desktop.
Glean Workflow API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.0", | |
"info": { | |
"title": "Glean Workflow API", | |
"version": "1.0.0" | |
}, | |
"paths": { | |
"/runworkflow": { | |
"post": { | |
"summary": "Trigger Glean Workflow", | |
"operationId": "runWorkflow", | |
"requestBody": { | |
"required": true, | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"fields": { | |
"type": "object", | |
"properties": { | |
"Lead Name": { "type": "string" }, | |
"Lead Summary": { "type": "string" }, | |
"Offerings List": { "type": "string" }, | |
"Outreach Method": { "type": "string" } | |
}, | |
"required": ["Lead Name", "Lead Summary", "Offerings List", "Outreach Method"] | |
}, | |
"saveAsChat": { "type": "boolean" }, | |
"stream": { "type": "boolean" }, | |
"workflowId": { "type": "string" } | |
}, | |
"required": ["fields", "saveAsChat", "stream", "workflowId"] | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Successful response", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "object" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment