Menu
Scripts painless execute (GET)
Scripts painless execute
GET
/_scripts/painless/_executeUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Scripts painless execute (GET) action (under core).
- Fill in the fields below, then reference the result from later steps as
{{scriptsPainlessExecuteGet.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{scriptsPainlessExecuteGet.response.data.<field>}}.
{
"result": null
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?