Cancel a website links run
curl --request POST \
--url https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"run": {
"id": "<string>",
"status": "queued",
"createdAt": "<string>",
"startedAt": "<string>",
"finishedAt": "<string>",
"coreVersion": "<string>",
"judgeModel": "<string>",
"writerModel": "<string>",
"seeds": [
"<string>"
],
"stats": {
"discovered": 0,
"selected": 0,
"read": 0,
"proposed": 0,
"alreadyLinked": 0,
"noDestination": 0,
"noPlacement": 0,
"duplicates": 0,
"skipped": 0,
"failed": 0,
"carried": 0,
"applied": 0,
"kinds": {
"article": {
"found": 0,
"read": 0
},
"docs": {
"found": 0,
"read": 0
},
"marketing": {
"found": 0,
"read": 0
},
"never": {
"found": 0,
"read": 0
}
},
"sources": {
"declared": 0,
"sitemaps": 0,
"probes": 0,
"crawl": 0
},
"judgeCalls": 0,
"writerCalls": 0,
"inputTokens": 0,
"outputTokens": 0,
"edits": {
"linkPhrase": 0,
"addSentence": 0,
"fixed": 0
},
"firstResultMs": 0,
"ms": 0,
"timedOut": true,
"linkStorefront": 0
},
"error": "<string>"
},
"stopping": true
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}Sellers
Cancel a website links run
A queued run is removed and closed at once; a running one is asked to stop and closes itself after the page in hand (stopping). The pages and suggestions written so far stay.
POST
/
v1
/
sellers
/
{sellerId}
/
links
/
runs
/
{runId}
/
cancel
Cancel a website links run
curl --request POST \
--url https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zeroclick.io/v1/sellers/{sellerId}/links/runs/{runId}/cancel"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"run": {
"id": "<string>",
"status": "queued",
"createdAt": "<string>",
"startedAt": "<string>",
"finishedAt": "<string>",
"coreVersion": "<string>",
"judgeModel": "<string>",
"writerModel": "<string>",
"seeds": [
"<string>"
],
"stats": {
"discovered": 0,
"selected": 0,
"read": 0,
"proposed": 0,
"alreadyLinked": 0,
"noDestination": 0,
"noPlacement": 0,
"duplicates": 0,
"skipped": 0,
"failed": 0,
"carried": 0,
"applied": 0,
"kinds": {
"article": {
"found": 0,
"read": 0
},
"docs": {
"found": 0,
"read": 0
},
"marketing": {
"found": 0,
"read": 0
},
"never": {
"found": 0,
"read": 0
}
},
"sources": {
"declared": 0,
"sitemaps": 0,
"probes": 0,
"crawl": 0
},
"judgeCalls": 0,
"writerCalls": 0,
"inputTokens": 0,
"outputTokens": 0,
"edits": {
"linkPhrase": 0,
"addSentence": 0,
"fixed": 0
},
"firstResultMs": 0,
"ms": 0,
"timedOut": true,
"linkStorefront": 0
},
"error": "<string>"
},
"stopping": true
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}{
"error": "organization_required",
"note": "<string>"
}Authorizations
API key created in the ZeroClick dashboard under Settings → API keys. Keys start with zc_. Send them as Authorization: Bearer zc_....
Path Parameters
Minimum string length:
1Minimum string length:
1