# Compass API Reference

Source: https://dev.arcxp.com/content-recommendations/content-recommendations-api-reference/

Interactive OpenAPI reference for the Arc XP Compass Collector API and Recommendations API, generated from the services' request and response schemas.

This page renders the OpenAPI specification for Arc XP Compass. It covers these operations:

| Operation                                                      | Purpose                                                                   | Key collection  |
| -------------------------------------------------------------- | ------------------------------------------------------------------------- | --------------- |
| POST /collector/v1/events                                      | Send one user behavior event.                                             | **collector**   |
| POST /collector/v1/events/batch                                | Send 1 to 100 user behavior events.                                       | **collector**   |
| POST /collector/v1/content                                     | Publish, update, or delete one content item.                              | **collector**   |
| POST /collect-web/v1/events, POST /collect-web/v1/events/batch | The same event operations, for browsers. The Compass Web SDK calls these. | **collect-web** |
| GET /experiences/recommend/v1/recommendations                  | Personalized recommendations for one reader.                              | **experiences** |
| GET /experiences/recommend/v1/popular                          | A site’s most-read content.                                               | **experiences** |
| GET /experiences/recommend/v1/trending                         | A site’s fastest-climbing content.                                        | **experiences** |
| GET /experiences/storyline/v1/catch-up                         | A reader’s Catch Up card. The Compass Web SDK calls this.                 | **experiences** |

The specification also lists the Recommendations API operations under the deprecated `/recommend/v1` base path. Use `/experiences/recommend/v1` instead.

For field-level detail, the per-event-type `event_value` rules, cold-start behavior, and status codes, see [Collector and Recommendations API](https://dev.arcxp.com/content-recommendations/content-recommendations-api-developer-guide/).

## Authentication

Every Content Recommendations API is headless and authenticates with a **Headless API token** passed in the `X-API-Key` request header on every request:

```
X-API-Key: <your-token>
```

Each operation accepts only a token from the key collection shown in the table. For details on provisioning tokens and separating keys per API, see [Compass Authentication and Tokens](https://dev.arcxp.com/content-recommendations/content-recommendations-api-developer-guide/#authentication-and-tokens).

## Specification

See https://alc-swagger-template.s3.amazonaws.com/docs/swagger/arc-products/compass-api.yml for Open API specs
