Workflows
Workflow management and execution endpoints
Get user workflows
Retrieves all workflows accessible to the authenticated user
Authorization<token>
API key for authentication. Use 'Bearer ' format.
In: header
Response Body
curl -X GET "https://app.meingpt.com/api/workflows/v1/user-workflows"
{
"status": "success",
"workflows": [
{}
]
}
{
"status": "error",
"message": "string"
}
Get workflow input variables
Retrieves the input variables/parameters required to run a specific workflow
Authorization<token>
API key for authentication. Use 'Bearer ' format.
In: header
Path Parameters
workflowIdstring
The workflow ID
Response Body
curl -X GET "https://app.meingpt.com/api/workflows/v1/workflow-inputs/string"
{
"status": "success",
"inputs": [
{
"name": "string",
"type": "string",
"description": "string",
"defaultValue": null,
"options": [
{
"label": "string",
"value": "string"
}
]
}
]
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}
Run a workflow
Executes a workflow with the provided input parameters
Authorization<token>
API key for authentication. Use 'Bearer ' format.
In: header
Path Parameters
workflowIdstring
The workflow ID to execute
inputobject
Input parameters for the workflow execution
Empty Object
Response Body
curl -X POST "https://app.meingpt.com/api/workflows/v1/string/run" \ -H "Content-Type: application/json" \ -d '{ "input": {} }'
{
"status": "success",
"messages": [
{
"content": "string",
"role": "user",
"model": "string",
"knowledgeCollectionSearchResults": [
{
"knowledgeCollectionId": "string",
"knowledgeCollectionName": "string",
"queries": [
"string"
],
"resultComponents": [
{
"documentId": "string",
"documentTitle": "string",
"score": 0,
"result": "string",
"sourceNumber": 0
}
]
}
]
}
],
"documentUrl": "string"
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}
{
"status": "error",
"message": "string"
}