API reference

Recommendations

Generate content recommendations from a finished run and read them.

How recommendations work

Recommendations turn a finished run into content fixes. A brand that has never been run has nothing to work from and answers 409 no_completed_run. Start a run first.

Content recommendations

POST /v1/recommendations/content/generate

Generate content recommendations. Billed per call

Times out after 1m30s.

ParameterInRequiredDescription
Idempotency-KeyheaderYesA retry with the same key is answered from the stored response and charged once.

Returns 202. Counts of recommendations written. Read them with GET /v1/recommendations/content.

GET /v1/recommendations/content/jobs

Status of a recommendations job. Free

ParameterInRequiredDescription
brand_domainqueryNoThe brand's domain, as listed on the key.

Returns 200. The job.

GET /v1/recommendations/content

List content recommendations. Free

ParameterInRequiredDescription
brand_domainqueryNoThe brand's domain, as listed on the key.

Returns 200. The recommendations.