Menu
Analyze (POST /_analyze)
Analyze
POST
/_analyzeUse it in a workflow
- Add a step and choose the OpenSearch connector.
- Pick the Analyze (POST /_analyze) action (under indices).
- Fill in the fields below, then reference the result from later steps as
{{analyzePostAnalyze.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{analyzePostAnalyze.response.data.<field>}}.
{
"detail": {
"custom_analyzer": false,
"analyzer": {
"name": "string",
"tokens": [
{
"bytes": "string",
"end_offset": 0,
"position": 0,
"positionLength": 0,
"start_offset": 0,
"termFrequency": 0,
"token": "string",
"type": "string",
"keyword": false
}
]
},
"charfilters": [
{
"filtered_text": [
"string"
],
"name": "string"
}
],
"tokenfilters": [
{
"name": "string",
"tokens": [
{
"bytes": "string",
"end_offset": 0,
"position": 0,
"positionLength": 0,
"start_offset": 0,
"termFrequency": 0,
"token": "string",
"type": "string",
"keyword": false
}
]
}
],
"tokenizer": {
"name": "string",
"tokens": [
{
"bytes": "string",
"end_offset": 0,
"position": 0,
"positionLength": 0,
"start_offset": 0,
"termFrequency": 0,
"token": "string",
"type": "string",
"keyword": false
}
]
}
},
"tokens": [
{
"end_offset": 0,
"position": 0,
"start_offset": 0,
"token": "string",
"type": "string",
"positionLength": 0
}
]
}
Need more? See the OpenSearch guide for connection setup and behaviour shared by every action.
Was this page helpful?