Search for a workflow
This is an experimental feature and is not recommended for use in a production environment. For updates on the progress of the feature or if you want to leave feedback, see the associated GitHub issue.
You can retrieve created workflows with their workflow_id
or search for workflows by using a query matching a field. You can use the use_case
field to search for similar workflows.
Path and HTTP methods
GET /_plugins/_flow_framework/workflow/_search
POST /_plugins/_flow_framework/workflow/_search
Example request: All created workflows
GET /_plugins/_flow_framework/workflow/_search
{
"query": {
"match_all": {}
}
}
copy
Example request: All workflows with a use_case
of REMOTE_MODEL_DEPLOYMENT
GET /_plugins/_flow_framework/workflow/_search
{
"query": {
"match": {
"use_case": "REMOTE_MODEL_DEPLOYMENT"
}
}
}
copy
Example response
OpenSearch responds with a list of workflow templates matching the search parameters.
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .