Insights API (0.0.1)
Download OpenAPI specification:Download
API powering the Insights feature of Algolia.
Send requests to the Algolia REST API.
This method allow you to send requests to the Algolia REST API.
path Parameters
path required | string Example: /keys The path of the API endpoint to target, anything after the /1 needs to be specified. |
query Parameters
parameters | string Example: parameters=?query=mySearchQuery&hitsPerPage=10 URL-encoded query string. Force some query parameters to be applied for each query made with this API key. |
Responses
Response samples
- 200
- 400
- 402
- 403
- 404
{ }
Send requests to the Algolia REST API.
This method allow you to send requests to the Algolia REST API.
path Parameters
path required | string Example: /keys The path of the API endpoint to target, anything after the /1 needs to be specified. |
query Parameters
parameters | string Example: parameters=?query=mySearchQuery&hitsPerPage=10 URL-encoded query string. Force some query parameters to be applied for each query made with this API key. |
Request Body schema: application/json
The parameters to send with the custom request.
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 400
- 402
- 403
- 404
{ }
Send requests to the Algolia REST API.
This method allow you to send requests to the Algolia REST API.
path Parameters
path required | string Example: /keys The path of the API endpoint to target, anything after the /1 needs to be specified. |
query Parameters
parameters | string Example: parameters=?query=mySearchQuery&hitsPerPage=10 URL-encoded query string. Force some query parameters to be applied for each query made with this API key. |
Request Body schema: application/json
The parameters to send with the custom request.
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 400
- 402
- 403
- 404
{ }
Send requests to the Algolia REST API.
This method allow you to send requests to the Algolia REST API.
path Parameters
path required | string Example: /keys The path of the API endpoint to target, anything after the /1 needs to be specified. |
query Parameters
parameters | string Example: parameters=?query=mySearchQuery&hitsPerPage=10 URL-encoded query string. Force some query parameters to be applied for each query made with this API key. |
Request Body schema: application/json
The parameters to send with the custom request.
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 400
- 402
- 403
- 404
{ }
Pushes an array of events.
This command pushes an array of events.
Request Body schema: application/json
required | Array of objects (InsightEvent) [ items ] Array of events sent. | ||||||||||||||||||
Array
|
Responses
Request samples
- Payload
{- "events": [
- {
- "eventType": "click",
- "eventName": "string",
- "index": "string",
- "userToken": "string",
- "timestamp": 0,
- "queryID": "string",
- "objectIDs": [
- "string"
], - "filters": [
- "string"
], - "positions": [
- 0
]
}
]
}
Response samples
- 200
- 400
- 402
- 403
- 404
{- "message": "string"
}