Skip to content
AACSearch

Enqueue source changes

Uses only the connector and collection explicitly bound to this installation source. The installation key never grants tenant-wide API access.

Full-key operation

Requires a full key; a search key or a browser key gets a 403. See Keys and credits.
POST
/cms/runtime/stores/{storeId}/sources/{sourceId}/events

Uses only the connector and collection explicitly bound to this installation source. The installation key never grants tenant-wide API access.

Path Parameters

storeId*string
sourceId*string

Header Parameters

X-AACSEARCH-INSTALLATION-KEY*string

Dedicated installation credential, issued once in Console.

Match^aac_install_[a-f0-9]{64}$
X-AACSEARCH-INSTALLATION-ORIGIN*string

HTTPS origin pinned to this installation; clones require another installation.

Formaturi

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

One event or a batch. Each event may reserve event_id (a stable string up to 128 characters) and source_revision (a nonnegative safe integer, increasing per source document, including deletions). Repeated or older revisions are ignored; an unversioned event cannot overwrite an already versioned document. These metadata fields are not indexed as document attributes.

One event or a batch. Each event may reserve event_id (a stable string up to 128 characters) and source_revision (a nonnegative safe integer, increasing per source document, including deletions). Repeated or older revisions are ignored; an unversioned event cannot overwrite an already versioned document. These metadata fields are not indexed as document attributes.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/cms/runtime/stores/string/sources/string/events" \  -H "X-AACSEARCH-INSTALLATION-KEY: string" \  -H "X-AACSEARCH-INSTALLATION-ORIGIN: http://example.com" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true,  "data": {    "received": 0,    "upserted": 0,    "deleted": 0,    "job_id": "string"  }}