Menu
Get weighted routing
Get weighted routing
GET
/_cluster/routing/awareness/{attribute}/weightsUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Get weighted routing action (under cluster).
- Fill in the fields below, then reference the result from later steps as
{{getWeightedRouting.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with a any. Read it in later steps with {{getWeightedRouting.response.data.<field>}}.
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?