---
title: "POST Complete A/B tests for a link"
description: "Cron job to complete a link's A/B tests if they are ready."
last_updated: "2026-10-05T05:08:30.096611+00:00"
canonical_url: "https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/api/cron/post-api-cron-links-linkid-complete-tests"
---

<APIEndpoint
  method={"POST"}
  path={"/api/cron/links/{linkId}/complete-tests"}
  summary={"Complete A/B tests for a link"}
  description={"Cron job to complete a link's A/B tests if they are ready."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"linkId","in":"path","required":true,"description":"The ID of the link","schema":{"type":"string"}}]} />

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successful operation"}
  contentType={"text/plain"}
/>

## Try It

<APIPlayground
  method={"POST"}
  path={"/api/cron/links/{linkId}/complete-tests"}
  parameters={[{"name":"linkId","in":"path","required":true,"description":"The ID of the link","schema":{"type":"string"}}]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/934e554a-e6a1-476f-bb2f-23e62d86c3fd/llms.txt) for all pages in this wiki.
