You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access to the A/B testing API is available as part of the [Premium or Elevate plans](https://www.algolia.com/pricing).
24
24
25
-
To authenticate your API requests, add these headers:
25
+
Add these headers to authenticate requests:
26
26
27
27
- `x-algolia-application-id`. Your Algolia application ID.
28
28
- `x-algolia-api-key`. An API key with the necessary permissions to make the request.
@@ -46,12 +46,12 @@ info:
46
46
The A/B testing API returns JSON responses.
47
47
Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response.
48
48
49
-
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
Access to the A/B testing API is available as part of the [Premium or Elevate plans](https://www.algolia.com/pricing).
24
24
25
-
To authenticate your API requests, add these headers:
25
+
Add these headers to authenticate requests:
26
26
27
27
- `x-algolia-application-id`. Your Algolia application ID.
28
28
- `x-algolia-api-key`. An API key with the necessary permissions to make the request.
@@ -46,12 +46,12 @@ info:
46
46
The A/B testing API returns JSON responses.
47
47
Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response.
48
48
49
-
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
Copy file name to clipboardExpand all lines: specs/advanced-personalization/spec.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ info:
8
8
Use Algolia's API clients and libraries to reliably integrate Algolia's APIs with your apps.
9
9
The official API clients are covered by Algolia's [Service Level Agreement](https://www.algolia.com/policies/sla).
For more information, see [Algolia's ecosystem](https://www.algolia.com/doc/guides/getting-started/how-algolia-works/in-depth/ecosystem).
12
12
13
13
## Base URLs
14
14
@@ -23,7 +23,7 @@ info:
23
23
24
24
## Authentication
25
25
26
-
To authenticate your API requests, add these headers:
26
+
Add these headers to authenticate requests:
27
27
28
28
- `x-algolia-application-id`. Your Algolia application ID.
29
29
- `x-algolia-api-key`. An API key with the `search`, `browse` and `recommendation` ACL permissions.
@@ -39,7 +39,7 @@ info:
39
39
The Advanced Personalization API returns JSON responses.
40
40
Since JSON doesn't guarantee any specific ordering, don't rely on the order of attributes in the API response.
41
41
42
-
Successful responses return a `2xx` status. Client errors return a `4xx` status. Server errors are indicated by a `5xx` status.
Error responses have a `message` property with more information.
44
44
45
45
## Rate limiting
@@ -50,11 +50,11 @@ info:
50
50
51
51
- `x-ratelimit-limit`: The number of requests allowed every 60 seconds.
52
52
- `x-ratelimit-remaining`: The number of requests remaining in the current 60 second period.
53
-
- `x-ratelimit-reset`: [Unix timestamp](https://www.unixtimestamp.com) of the next time period.
53
+
- `x-ratelimit-reset`: Timestamp when the next time period starts, measured in seconds since the Unix epoch.
54
54
55
55
## Version
56
56
57
-
The current version of the Advanced Personalization API is version 2, as indicated by the `/2/` in each endpoint's URL.
57
+
The current version of the Advanced Personalization API is version 2, indicated by the `/2/` in each endpoint's URL.
Copy file name to clipboardExpand all lines: specs/analytics/paths/click/getPurchaseRate.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,16 @@ get:
8
8
description: |
9
9
Retrieves the purchase rate for all your searches with at least one purchase event, including a daily breakdown.
10
10
11
-
By default, the analyzed period includes the last eight days including the current day.
11
+
By default, the analyzed period includes the last eight days, including the current day.
12
12
13
-
The rate is the number of purchase conversion events divided by the number of tracked searches.
13
+
The rate is purchase conversion events divided by tracked searches.
14
14
A search is tracked if it returns a query ID (`clickAnalytics` is `true`).
15
-
This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
15
+
This differs from the response's `count`, which includes searches where `clickAnalytics` is `false`.
16
16
17
17
**There's a difference between a 0 and null purchase rate when `clickAnalytics` is enabled:**
18
18
19
-
- **Null** means there were no queries: since Algolia didn't receive any events, the purchase rate is null.
20
-
- **0** mean there _were_ queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
19
+
- **Null** means there were no queries. Algolia didn't receive any events, so the purchase rate is null.
20
+
- **0** means there were queries but no [purchase conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
Copy file name to clipboardExpand all lines: specs/analytics/paths/search/getTopHits.yml
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,11 @@ get:
9
9
description: |
10
10
Retrieves the object IDs of the 1,000 most frequent search results.
11
11
12
-
If you set the `clickAnalytics` query parameter to true, the response also includes:
12
+
If you set the `clickAnalytics` query parameter to `true`, the response also includes:
13
13
14
-
- Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
14
+
- Tracked searches count.
15
+
Tracked searches are Search API requests with `clickAnalytics` set to `true`.
16
+
This differs from the response's `count`, which includes searches where `clickAnalytics` is `false`.
15
17
- Click count
16
18
- Click-through rate (CTR)
17
19
- Conversion count
@@ -28,8 +30,8 @@ get:
28
30
29
31
**There's a difference between 0% rates and null rates:**
30
32
31
-
- **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null.
32
-
- **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
33
+
- **Null** means there were no queries. Algolia didn't receive any events, so rates are null.
34
+
- **0% rates** mean there were queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
Copy file name to clipboardExpand all lines: specs/analytics/paths/search/getTopSearches.yml
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,11 @@ get:
9
9
description: |
10
10
Returns the most popular searches. For each search, it also includes the average number of hits.
11
11
12
-
If you set the `clickAnalytics` query parameter to `true`, the response also includes
12
+
If you set the `clickAnalytics` query parameter to `true`, the response also includes:
13
13
14
-
- Tracked searches count. Tracked searches are Search API requests with the `clickAnalytics` parameter set to `true`. This differs from the response's `count`, which shows the overall number of searches, including those where `clickAnalytics` is `false`.
14
+
- Tracked searches count
15
+
Tracked searches are Search API requests with `clickAnalytics` set to `true`.
16
+
This differs from the response's `count`, which includes searches where `clickAnalytics` is `false`.
15
17
- Click count
16
18
- Click-through rate (CTR)
17
19
- Conversion count
@@ -28,8 +30,8 @@ get:
28
30
29
31
**There's a difference between 0% rates and null rates:**
30
32
31
-
- **Null** means there were no queries: since Algolia didn't receive any events, the rates (CTR, CR, ATCR, purchase rate) are null.
32
-
- **0% rates** mean there _were_ queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
33
+
- **Null** means there were no queries. Algolia didn't receive any events, so rates are null.
34
+
- **0% rates** mean there were queries but no [click or conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started) were received.
Access to the Analytics API is available as part of the [Premium or Elevate plans](https://www.algolia.com/pricing).
24
24
25
-
To authenticate your API requests, add these headers:
25
+
Add these headers to authenticate requests:
26
26
27
27
- `x-algolia-application-id`. Your Algolia application ID.
28
28
- `x-algolia-api-key`. An API key with the necessary permissions to make the request.
@@ -54,7 +54,7 @@ info:
54
54
55
55
## Version
56
56
57
-
The current version of the Analytics API is version 2, as indicated by the `/2/` in each endpoint's URL.
57
+
The current version of the Analytics API is version 2, indicated by the `/2/` in each endpoint's URL.
0 commit comments