Tasks
Related events: site_change.applied · site_change.opened · site_change.rolled_back · task.created · task.deleted · task.updated · task.verified
The Task object
Attributes
idstringUnique identifier of the object (prefixed, opaque).
objectstringtaskbrandstringThe brand the object belongs to (
br_…).titlestringdescriptionstringnullableCut to 280 characters in a list; whole on the task itself.
statusenumKanban columns of the "À traiter" screen, in board order: À faire → En cours → En vérification → Vérifié. Transitions move one column at a time (the card CTA moves forward, the "←" button moves back); a verified task is terminal.
Possible values:
todo·in_progress·in_verification·verifiedkindenumNature of the fix — matches the mockup filter pills (Write-back / Contenu / Technique). Write-back = applicable in one click on a Shopify product (description, SEO, barcode — SKO-151); everything else is done by hand, with a guide.
Possible values:
writeback·content·technicaltypeenumnullableWhat a fix is about — the « Type » a task, an alert and every line of « Correctifs » carry (the Guigz, 2026-10-09): the theme of the thing to fix, not the nature of the work (TaskKind: write-back, content, technical, which stays internal). Derived once from the source of a generated task (TaskSource::type()) or the kind of an alert (AlertKind::type()); chosen, or left empty, on a manual task. | | |---| |
audit<br/> AI readiness: the technical audit (robots, llms.txt, schemas, feed…). | |seo<br/> The SEO checks and the regressions a crawl finds. | |perception<br/> What the assistants say: wrong, distorted or missing facts and differentiators. | |traffic<br/> The pages that turn citations into visits (Google, visits, AI citations). | |competitors<br/> The competitors: territories to take, sources to win, newcomers. | |listing<br/> The listings of an establishment (local vertical). | |visibility<br/> The brand's share of answers (a drop in visibility). |Possible values:
audit·seo·perception·traffic·competitors·listing·visibilityeffortenumnullableT-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).
Possible values:
s·m·lsourceenumWhere the task came from: created by hand ("+ Correctif manuel"), from a failing SEO or readiness check, from a vacant territory on the Concurrents screen, from a source the assistants cite without the brand (« Sources à conquérir »), or from a query where the assistants name competitors and never the brand (« Contenu manquant »). Never an alert: an alert is its own fix since 2026-10-14 (the tasks it opened before were folded into it). | | |---| |
manual<br/> | |seo_check<br/> | |readiness<br/> | |opportunity<br/> | |perception<br/> | |source_gap<br/> | |insight<br/> A finding of the « Pages » screen (Insights\Services\InsightRules), its key insource_check. | |listing<br/> A gap of the « Fiches » report (Listings\Services\ListingReport):listing:{id}:{kind}orlisting_missing:{platform}insource_check. | |content_gap<br/> A query of the market where competitors are named and the brand never is, two cycles in a row (Visibility\Services\QueryContentGaps): the query's uuid insource_check, the brief of the page to publish as plan. |Possible values:
manual·seo_check·readiness·opportunity·perception·source_gap·insight·listing·content_gapsource_labelstringnullablemarketstringnullableThe market the task is about (ISO 3166-1 alpha-2); null for a task of the whole brand.
productstringnullableimpactstringnullableimpact_pointsintegernullableThe points the fix would win, when its source measures them (readiness, perception); null otherwise.
gainstringnullableguideobjectnullableShow child attributes
topicstringplatformenumPossible values:
shopify·genericstepsarray of string
assigneeobjectnullableShow child attributes
namestring
started_atstringnullablepublished_atstringnullableverify_atstringnullableverified_atstringnullableverified_viaenumnullableHow a fix was verified: proved by the measure (a sampling, a crawl, a readiness pass) or marked verified by hand. Only a verification by the measure is rewarded in Progression.
Possible values:
measure·handverificationobjectnullableShow child attributes
reasonenumWhy a fix in verification has no verdict yet (HerVé, 2026-11-02), written by RecordVerificationAttempt at every measure that did not prove it, with its facts (
tasks.verification_facts): -awaiting_sampling— no measure taken since the publication yet (the next sampling, crawl, audit or listing read will judge it); -not_judged— the measure came, but did not talk about it enough:{judged, min_runs}answers that judged the element; -still_observed— the measure still sees the problem:{runs, by_model: {model: runs}, last_observed_at}(perception), or no facts (a « Pages » finding still on its page); -check_not_ok— the check of the crawl, the audit or the listing read is not green:{status}; -not_cited_yet— the source, or the query, is still answered without the brand; -not_measurable— Skoup cannot measure this fix (manual, opportunity, ACP declaration, page with issues, ignored gap): it is verified by hand; -market_unknown— the fix's market is not measured (any more), or a fix of the whole brand on a brand without a primary market.Possible values:
awaiting_sampling·not_judged·still_observed·check_not_ok·not_cited_yet·not_measurable·market_unknownfactsobjectnullablelast_checked_atstringnullablenext_check_atstringnullable
livemodebooleantruefor live data,falsefor the test-mode sandbox.createdintegerTime at which the object was created (unix timestamp, seconds).
updatedstringTime at which the object was last updated.
{
"id": "task_031CQmvL2QQbe3t38Gyo91",
"object": "task",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"title": "Ajouter les données structurées Product à la Grizl CF SL 7",
"description": "La fiche ne déclare ni prix ni disponibilité aux assistants.",
"status": "in_progress",
"kind": "technical",
"type": "audit",
"effort": "s",
"source": "readiness",
"source_label": "Audit IA · données structurées Product",
"market": "FR",
"product": "Grizl CF SL 7",
"impact": "+4 pts readiness",
"gain": null,
"guide": {
"topic": "product_schema",
"platform": "shopify",
"steps": [
"In Shopify: Online Store → Themes → « … » → Edit code, open sections/main-product.liquid.",
"Search for « application/ld+json ». If it is missing, add before the end of the section: <script type=\"application/ld+json\">{{ product | structured_data }}</script>.",
"Check that a single Product block is rendered (an SEO app may add a second one).",
"Test a product page in Google's « Rich Results Test », then run the audit again."
]
},
"assignee": {
"name": "Camille Martin"
},
"started_at": "2026-09-21T09:12:00Z",
"published_at": null,
"verify_at": null,
"verified_at": null,
"verified_via": null,
"livemode": true,
"created": 1790000000,
"updated": 1790003600
}The Task plan object
Attributes
objectstringtask_plantaskstringstatusenumA fix plan being written (
pending), written (ready), or not written (failed: no provider key, the model failed or answered nothing usable — the task keeps its fixed guide, nothing is invented).Possible values:
pending·ready·failedcontentobjectnullableShow child attributes
summarystringstepsarray of objectShow child attributes
titlestringdetailstringwherestringnullable
verificationstringcaveatsarray of string
platformenumnullableWhat the brand's site runs on. Chosen by a person (onboarding, Réglages → Marque, an agency adding the brand), set by a connected integration, or detected from the site's crawl (Seo\Services\PlatformDetector) — see BrandPlatformSource. Shopify and WooCommerce have a connector; any other store is read from its own site (catalogue source
crawl), and the platform tells the fix plans which admin to walk through.custom= a site built in-house.Possible values:
shopify·woocommerce·prestashop·magento·bigcommerce·wix·squarespace·webflow·wordpress·lovable·customlocalestringgenerated_atstringnullablelivemodebooleantruefor live data,falsefor the test-mode sandbox.
{
"object": "task_plan",
"task": "task_034ofz9YVp1OJwgvw6Kl58",
"status": "pending",
"content": {
"summary": "string",
"steps": [
{
"title": "Grizl CF SL 7",
"detail": "string",
"where": "string"
}
],
"verification": "string",
"caveats": [
"string"
]
},
"platform": "shopify",
"locale": "fr",
"generated_at": "2026-09-21T02:40:00Z",
"livemode": true
}The Site change object
Attributes
idstringUnique identifier of the object (prefixed, opaque).
objectstringsite_changebrandstringThe brand the object belongs to (
br_…).taskstringnullablealertstringnullableproviderenumPossible values:
github·wordpress·shopifystatusenumWhere a site fix sent to GitHub stands.
preparingis a queue state (StuckState): the pull request is being written.opened= it waits on the client;applied= merged;rolled_back= undone by Skoup.closed(pull request closed without merge) andfailedend without a change on the site.Possible values:
preparing·opened·applied·closed·failed·rolled_backchecksarray of stringurlobjectThe pull request, or the WordPress draft's or the Shopify article's edit screen, where the client reviews it.
filesarray of stringrollback_ofstringnullableerrorstringnullableopened_atstringnullableapplied_atstringnullablerollback_untilstringnullablerolled_back_atstringnullablelivemodebooleantruefor live data,falsefor the test-mode sandbox.createdintegerTime at which the object was created (unix timestamp, seconds).
{
"id": "sfix_031Rrx6w0foDNDq05Ans4p",
"object": "site_change",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"task": "task_031CQg4La2D4FtcCN87OUU",
"alert": null,
"provider": "github",
"status": "opened",
"checks": [
"llms_txt"
],
"url": "https://github.com/nordvelo/site/pull/42",
"files": [
"public/llms.txt"
],
"rollback_of": null,
"error": null,
"opened_at": "2026-10-16T09:12:04Z",
"applied_at": null,
"rollback_until": null,
"rolled_back_at": null,
"livemode": true,
"created": 1792140720
}Create a task
POST/v1/brands/{brand}/tasks
Adds a manual fix to the backlog, in the todo column.
Parameters
brandstringrequiredBrand id (
br_…).titlestringrequireddescriptionstringnullablekindenumNature of the fix — matches the mockup filter pills (Write-back / Contenu / Technique). Write-back = applicable in one click on a Shopify product (description, SEO, barcode — SKO-151); everything else is done by hand, with a guide.
Possible values:
writeback·content·technicaltypeenumnullableWhat a fix is about — the « Type » a task, an alert and every line of « Correctifs » carry (the Guigz, 2026-10-09): the theme of the thing to fix, not the nature of the work (TaskKind: write-back, content, technical, which stays internal). Derived once from the source of a generated task (TaskSource::type()) or the kind of an alert (AlertKind::type()); chosen, or left empty, on a manual task. | | |---| |
audit<br/> AI readiness: the technical audit (robots, llms.txt, schemas, feed…). | |seo<br/> The SEO checks and the regressions a crawl finds. | |perception<br/> What the assistants say: wrong, distorted or missing facts and differentiators. | |traffic<br/> The pages that turn citations into visits (Google, visits, AI citations). | |competitors<br/> The competitors: territories to take, sources to win, newcomers. | |listing<br/> The listings of an establishment (local vertical). | |visibility<br/> The brand's share of answers (a drop in visibility). |Possible values:
audit·seo·perception·traffic·competitors·listing·visibilityeffortenumnullableT-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).
Possible values:
s·m·lproductstringnullableimpactstringnullablesource_labelstringnullable
Returns
Returns the created task object. Raises an error if something goes wrong.
curl
curl -X POST https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \
-H "Content-Type: application/json" \
-d '{"title":"Grizl CF SL 7","description":"Rewrite the product copy so the frame warranty is stated."}'{
"id": "task_031CQmvL2QQbe3t38Gyo91",
"object": "task",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"title": "Ajouter les données structurées Product à la Grizl CF SL 7",
"description": "La fiche ne déclare ni prix ni disponibilité aux assistants.",
"status": "in_progress",
"kind": "technical",
"type": "audit",
"effort": "s",
"source": "readiness",
"source_label": "Audit IA · données structurées Product",
"market": "FR",
"product": "Grizl CF SL 7",
"impact": "+4 pts readiness",
"gain": null,
"guide": {
"topic": "product_schema",
"platform": "shopify",
"steps": [
"In Shopify: Online Store → Themes → « … » → Edit code, open sections/main-product.liquid.",
"Search for « application/ld+json ». If it is missing, add before the end of the section: <script type=\"application/ld+json\">{{ product | structured_data }}</script>.",
"Check that a single Product block is rendered (an SEO app may add a second one).",
"Test a product page in Google's « Rich Results Test », then run the audit again."
]
},
"assignee": {
"name": "Camille Martin"
},
"started_at": "2026-09-21T09:12:00Z",
"published_at": null,
"verify_at": null,
"verified_at": null,
"verified_via": null,
"livemode": true,
"created": 1790000000,
"updated": 1790003600
}Update a task
PATCH/v1/brands/{brand}/tasks/{task}
Updates its fields and/or moves it on the kanban with status. Forward,
it may skip columns — todo to in_verification in one call goes
through in_progress, each step dated and sent as task.updated —;
backward, one column at a time (invalid_transition otherwise).
Moving to verified may record the measured gain. A refused move
changes nothing.
Parameters
brandstringrequiredBrand id (
br_…).taskstringrequiredTask id (
task_…).titlestringdescriptionstringnullablekindenumNature of the fix — matches the mockup filter pills (Write-back / Contenu / Technique). Write-back = applicable in one click on a Shopify product (description, SEO, barcode — SKO-151); everything else is done by hand, with a guide.
Possible values:
writeback·content·technicaltypeenumnullableWhat a fix is about — the « Type » a task, an alert and every line of « Correctifs » carry (the Guigz, 2026-10-09): the theme of the thing to fix, not the nature of the work (TaskKind: write-back, content, technical, which stays internal). Derived once from the source of a generated task (TaskSource::type()) or the kind of an alert (AlertKind::type()); chosen, or left empty, on a manual task. | | |---| |
audit<br/> AI readiness: the technical audit (robots, llms.txt, schemas, feed…). | |seo<br/> The SEO checks and the regressions a crawl finds. | |perception<br/> What the assistants say: wrong, distorted or missing facts and differentiators. | |traffic<br/> The pages that turn citations into visits (Google, visits, AI citations). | |competitors<br/> The competitors: territories to take, sources to win, newcomers. | |listing<br/> The listings of an establishment (local vertical). | |visibility<br/> The brand's share of answers (a drop in visibility). |Possible values:
audit·seo·perception·traffic·competitors·listing·visibilityeffortenumnullableT-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).
Possible values:
s·m·lproductstringnullableimpactstringnullablesource_labelstringnullableverify_atstringnullablestatusenumKanban columns of the "À traiter" screen, in board order: À faire → En cours → En vérification → Vérifié. Transitions move one column at a time (the card CTA moves forward, the "←" button moves back); a verified task is terminal.
Possible values:
todo·in_progress·in_verification·verifiedgainstringnullable
Returns
Returns the updated task object. Raises an error if something goes wrong.
curl
curl -X PATCH https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc" \
-H "Content-Type: application/json" \
-d '{"title":"Grizl CF SL 7","description":"Rewrite the product copy so the frame warranty is stated."}'{
"id": "task_031CQmvL2QQbe3t38Gyo91",
"object": "task",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"title": "Ajouter les données structurées Product à la Grizl CF SL 7",
"description": "La fiche ne déclare ni prix ni disponibilité aux assistants.",
"status": "in_progress",
"kind": "technical",
"type": "audit",
"effort": "s",
"source": "readiness",
"source_label": "Audit IA · données structurées Product",
"market": "FR",
"product": "Grizl CF SL 7",
"impact": "+4 pts readiness",
"gain": null,
"guide": {
"topic": "product_schema",
"platform": "shopify",
"steps": [
"In Shopify: Online Store → Themes → « … » → Edit code, open sections/main-product.liquid.",
"Search for « application/ld+json ». If it is missing, add before the end of the section: <script type=\"application/ld+json\">{{ product | structured_data }}</script>.",
"Check that a single Product block is rendered (an SEO app may add a second one).",
"Test a product page in Google's « Rich Results Test », then run the audit again."
]
},
"assignee": {
"name": "Camille Martin"
},
"started_at": "2026-09-21T09:12:00Z",
"published_at": null,
"verify_at": null,
"verified_at": null,
"verified_via": null,
"livemode": true,
"created": 1790000000,
"updated": 1790003600
}Retrieve a task
GET/v1/brands/{brand}/tasks/{task}
Parameters
brandstringrequiredBrand id (
br_…).taskstringrequiredTask id (
task_…).
Returns
Returns the task object. Raises an error if something goes wrong.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "task_031CQmvL2QQbe3t38Gyo91",
"object": "task",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"title": "Ajouter les données structurées Product à la Grizl CF SL 7",
"description": "La fiche ne déclare ni prix ni disponibilité aux assistants.",
"status": "in_progress",
"kind": "technical",
"type": "audit",
"effort": "s",
"source": "readiness",
"source_label": "Audit IA · données structurées Product",
"market": "FR",
"product": "Grizl CF SL 7",
"impact": "+4 pts readiness",
"gain": null,
"guide": {
"topic": "product_schema",
"platform": "shopify",
"steps": [
"In Shopify: Online Store → Themes → « … » → Edit code, open sections/main-product.liquid.",
"Search for « application/ld+json ». If it is missing, add before the end of the section: <script type=\"application/ld+json\">{{ product | structured_data }}</script>.",
"Check that a single Product block is rendered (an SEO app may add a second one).",
"Test a product page in Google's « Rich Results Test », then run the audit again."
]
},
"assignee": {
"name": "Camille Martin"
},
"started_at": "2026-09-21T09:12:00Z",
"published_at": null,
"verify_at": null,
"verified_at": null,
"verified_via": null,
"livemode": true,
"created": 1790000000,
"updated": 1790003600
}List site changes
GET/v1/brands/{brand}/site_changes
The site fixes sent to GitHub as pull requests, newest first, with the files they changed and where to review them. Failed attempts are listed too.
Parameters
brandstringrequiredBrand id (
br_…).taskstringstatusstringlimitintegerNumber of objects to return, between 1 and 100 (default 20).
starting_afterstringCursor: the
idof the last object of the previous page.
Returns
A dictionary with a data property holding up to limit site_change objects, newest first, and has_more telling whether another page exists. Raises an error if something goes wrong.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/site_changes?limit=3 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "list",
"url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/site_changes",
"has_more": false,
"data": [
{
"id": "sfix_031Rrx6w0foDNDq05Ans4p",
"object": "site_change",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"task": "task_031CQg4La2D4FtcCN87OUU",
"alert": null,
"provider": "github",
"status": "opened",
"checks": [
"llms_txt"
],
"url": "https://github.com/nordvelo/site/pull/42",
"files": [
"public/llms.txt"
],
"rollback_of": null,
"error": null,
"opened_at": "2026-10-16T09:12:04Z",
"applied_at": null,
"rollback_until": null,
"rolled_back_at": null,
"livemode": true,
"created": 1792140720
}
]
}List tasks
GET/v1/brands/{brand}/tasks
The backlog of fixes of a brand, newest first. A list item leaves out
the guide and cuts description to 280 characters: retrieve the task
for both.
Parameters
brandstringrequiredBrand id (
br_…).statusstringsourcestringtypestringmarketstringlimitintegerNumber of objects to return, between 1 and 100 (default 20).
starting_afterstringCursor: the
idof the last object of the previous page.
Returns
A dictionary with a data property holding up to limit task objects, newest first, and has_more telling whether another page exists. Raises an error if something goes wrong.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks?limit=3 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "list",
"url": "/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks",
"has_more": false,
"data": [
{
"id": "task_031CQmvL2QQbe3t38Gyo91",
"object": "task",
"brand": "br_031CQGx2DNM4mxT2CO7BL3",
"title": "Ajouter les données structurées Product à la Grizl CF SL 7",
"description": "La fiche ne déclare ni prix ni disponibilité aux assistants.",
"status": "in_progress",
"kind": "technical",
"type": "audit",
"effort": "s",
"source": "readiness",
"source_label": "Audit IA · données structurées Product",
"market": "FR",
"product": "Grizl CF SL 7",
"impact": "+4 pts readiness",
"gain": null,
"guide": {
"topic": "product_schema",
"platform": "shopify",
"steps": [
"In Shopify: Online Store → Themes → « … » → Edit code, open sections/main-product.liquid.",
"Search for « application/ld+json ». If it is missing, add before the end of the section: <script type=\"application/ld+json\">{{ product | structured_data }}</script>.",
"Check that a single Product block is rendered (an SEO app may add a second one).",
"Test a product page in Google's « Rich Results Test », then run the audit again."
]
},
"assignee": {
"name": "Camille Martin"
},
"started_at": "2026-09-21T09:12:00Z",
"published_at": null,
"verify_at": null,
"verified_at": null,
"verified_via": null,
"livemode": true,
"created": 1790000000,
"updated": 1790003600
}
]
}Delete a task
DELETE/v1/brands/{brand}/tasks/{task}
Removes the fix from the backlog. The line it came from (a check, a
gap, a source…) goes back to the inbox, where it can be taken again.
Sends task.deleted with the task as it was.
Parameters
brandstringrequiredBrand id (
br_…).taskstringrequiredTask id (
task_…).
Returns
Returns an object with deleted: true. Raises an error if something goes wrong.
curl
curl -X DELETE https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58 \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"id": "task_034ofz9YVp1OJwgvw6Kl58",
"object": "task",
"deleted": true
}Retrieve a task’s plan
GET/v1/brands/{brand}/tasks/{task}/plan
The step-by-step plan a model wrote for the task in the app, adapted to
the brand’s platform and to the task’s evidence. Read only: plans are
written on demand from the app, never through the API. resource_missing
until one was written.
Parameters
brandstringrequiredBrand id (
br_…).taskstringrequiredTask id (
task_…).
Returns
Returns the task_plan object. Raises an error if something goes wrong.
curl
curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58/plan \
-H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"{
"object": "task_plan",
"task": "task_034ofz9YVp1OJwgvw6Kl58",
"status": "pending",
"content": {
"summary": "string",
"steps": [
{
"title": "Grizl CF SL 7",
"detail": "string",
"where": "string"
}
],
"verification": "string",
"caveats": [
"string"
]
},
"platform": "shopify",
"locale": "fr",
"generated_at": "2026-09-21T02:40:00Z",
"livemode": true
}