Link Search Menu Expand Document Documentation Menu

This version of the OpenSearch documentation is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

Search for a workflow

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": {}
  }
}

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"
    }
  }
}

Example response

OpenSearch responds with a list of workflow templates matching the search parameters.

350 characters left

Have a question? .

Want to contribute? or .