Menu
Get script contexts
Get script contexts
GET
/_script_contextUse it in a workflow
- Add a step and choose the Elasticsearch connector.
- Pick the Get script contexts action (under script).
- Fill in the fields below, then reference the result from later steps as
{{getScriptContexts.response.data}}.
Fields
Response
Returns 200 with an object. Read it in later steps with {{getScriptContexts.response.data.<field>}}.
{
"contexts": [
{
"methods": [
{
"name": null,
"return_type": "string",
"params": [
{
"name": null,
"type": null
}
]
}
],
"name": null
}
]
}
Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.
Was this page helpful?