Skip to Content

Tasks

The Task object

Attributes

  • idstring

    Unique identifier of the object (prefixed, opaque).

  • objectstring

    task

  • brandstring

    The brand the object belongs to (br_…).

  • titlestring
  • descriptionstringnullable

    Cut to 280 characters in a list; whole on the task itself.

  • statusenum

    Kanban 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 · verified

  • kindenum

    Nature 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 · technical

  • typeenumnullable

    What 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 · visibility

  • effortenumnullable

    T-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).

    Possible values: s · m · l

  • sourceenum

    Where 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 in source_check. | | listing <br/> A gap of the « Fiches » report (Listings\Services\ListingReport): listing:{id}:{kind} or listing_missing:{platform} in source_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 in source_check, the brief of the page to publish as plan. |

    Possible values: manual · seo_check · readiness · opportunity · perception · source_gap · insight · listing · content_gap

  • source_labelstringnullable
  • marketstringnullable

    The market the task is about (ISO 3166-1 alpha-2); null for a task of the whole brand.

  • productstringnullable
  • impactstringnullable
  • impact_pointsintegernullable

    The points the fix would win, when its source measures them (readiness, perception); null otherwise.

  • gainstringnullable
  • guideobjectnullable
    Show child attributes
    • topicstring
    • platformenum

      Possible values: shopify · generic

    • stepsarray of string
  • assigneeobjectnullable
    Show child attributes
    • namestring
  • started_atstringnullable
  • published_atstringnullable
  • verify_atstringnullable
  • verified_atstringnullable
  • verified_viaenumnullable

    How 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 · hand

  • verificationobjectnullable
    Show child attributes
    • reasonenum

      Why 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_unknown

    • factsobjectnullable
    • last_checked_atstringnullable
    • next_check_atstringnullable
  • livemodeboolean

    true for live data, false for the test-mode sandbox.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

  • updatedstring

    Time at which the object was last updated.

The Task object
{ "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

  • objectstring

    task_plan

  • taskstring
  • statusenum

    A 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 · failed

  • contentobjectnullable
    Show child attributes
    • summarystring
    • stepsarray of object
      Show child attributes
      • titlestring
      • detailstring
      • wherestringnullable
    • verificationstring
    • caveatsarray of string
  • platformenumnullable

    What 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 · custom

  • localestring
  • generated_atstringnullable
  • livemodeboolean

    true for live data, false for the test-mode sandbox.

The Task plan object
{ "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

  • idstring

    Unique identifier of the object (prefixed, opaque).

  • objectstring

    site_change

  • brandstring

    The brand the object belongs to (br_…).

  • taskstringnullable
  • alertstringnullable
  • providerenum

    Possible values: github · wordpress · shopify

  • statusenum

    Where a site fix sent to GitHub stands. preparing is 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) and failed end without a change on the site.

    Possible values: preparing · opened · applied · closed · failed · rolled_back

  • checksarray of string
  • urlobject

    The pull request, or the WordPress draft's or the Shopify article's edit screen, where the client reviews it.

  • filesarray of string
  • rollback_ofstringnullable
  • errorstringnullable
  • opened_atstringnullable
  • applied_atstringnullable
  • rollback_untilstringnullable
  • rolled_back_atstringnullable
  • livemodeboolean

    true for live data, false for the test-mode sandbox.

  • createdinteger

    Time at which the object was created (unix timestamp, seconds).

The Site change object
{ "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

  • brandstringrequired

    Brand id (br_…).

  • titlestringrequired
  • descriptionstringnullable
  • kindenum

    Nature 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 · technical

  • typeenumnullable

    What 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 · visibility

  • effortenumnullable

    T-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).

    Possible values: s · m · l

  • productstringnullable
  • impactstringnullable
  • source_labelstringnullable

Returns

Returns the created task object. Raises an error if something goes wrong.

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."}'
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • taskstringrequired

    Task id (task_…).

  • titlestring
  • descriptionstringnullable
  • kindenum

    Nature 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 · technical

  • typeenumnullable

    What 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 · visibility

  • effortenumnullable

    T-shirt sizing shown on the kanban cards (S · < 1 h, M · ½ journée, L · 2-3 j).

    Possible values: s · m · l

  • productstringnullable
  • impactstringnullable
  • source_labelstringnullable
  • verify_atstringnullable
  • statusenum

    Kanban 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 · verified

  • gainstringnullable

Returns

Returns the updated task object. Raises an error if something goes wrong.

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."}'
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • taskstringrequired

    Task id (task_…).

Returns

Returns the task object. Raises an error if something goes wrong.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • taskstring
  • statusstring
  • limitinteger

    Number of objects to return, between 1 and 100 (default 20).

  • starting_afterstring

    Cursor: the id of 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 https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/site_changes?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • statusstring
  • sourcestring
  • typestring
  • marketstring
  • limitinteger

    Number of objects to return, between 1 and 100 (default 20).

  • starting_afterstring

    Cursor: the id of 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 https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks?limit=3 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • taskstringrequired

    Task id (task_…).

Returns

Returns an object with deleted: true. Raises an error if something goes wrong.

curl -X DELETE https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58 \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "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

  • brandstringrequired

    Brand id (br_…).

  • taskstringrequired

    Task id (task_…).

Returns

Returns the task_plan object. Raises an error if something goes wrong.

curl https://api.skoup.ai/v1/brands/br_034CyfRFSXUqzrbzV6MAfZ/tasks/task_034ofz9YVp1OJwgvw6Kl58/plan \ -H "Authorization: Bearer skoup_test_4eC39HqLyjWDarjtT1zdp7dc"
Response
{ "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 }
Last updated on