From cc102069841864a034f2920d7172886b8dfb26a0 Mon Sep 17 00:00:00 2001 From: Faisal Reza Date: Mon, 28 Sep 2026 14:21:39 +0100 Subject: [PATCH 1/4] fix(SOL-417): stackone-platform - update stale docs links and v2 accounts - overview/authentication, overview/rate-limits -> platform-api pages - accounts endpoints, fields and reference link -> v2 - api-categories: dead/legacy category links -> connectors list - llms.txt fallback + contact support, webhooks key url - skill version 2.1 Co-Authored-By: Claude Opus 5.5 --- .../skills/stackone-platform/SKILL.md | 37 +++++++++++-------- .../references/api-categories.md | 26 ++++--------- 2 files changed, 29 insertions(+), 34 deletions(-) diff --git a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md index b30ce08..222ff50 100644 --- a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md +++ b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md @@ -5,7 +5,7 @@ license: MIT compatibility: Requires network access to fetch live documentation from docs.stackone.com metadata: author: stackone - version: "2.0" + version: "2.1" --- # StackOne Platform @@ -18,6 +18,10 @@ Before answering platform questions, fetch the latest documentation: Do not guess or rely on potentially outdated information in this skill. Always verify against live docs. +When fetching any `docs.stackone.com` page, append `.md` to the URL to get it as markdown. + +**If any URL in this skill returns 404, or a page doesn't cover what you need** (StackOne reorganizes its docs from time to time), search `llms.txt` for the page's topic (e.g. "Authentication", "Rate Limiting", "List Accounts", "Webhooks") and use the URL listed there. If the docs don't cover the question, say so and suggest contacting StackOne support. + ## Instructions ### Step 1: Identify what the user needs @@ -35,7 +39,7 @@ StackOne is integration infrastructure for AI agents — connectors and 30,000+ All API calls require Basic auth. The API key goes in the Authorization header: ```bash -curl https://api.stackone.com/accounts \ +curl https://api.stackone.com/v2/accounts \ -H "Authorization: Basic $(echo -n 'YOUR_API_KEY:' | base64)" ``` @@ -50,19 +54,19 @@ Key details: Each linked account has: - `id` — assigned by StackOne -- `provider` — the SaaS tool (e.g., `bamboohr`, `greenhouse`) -- `origin_owner_id` — your internal customer identifier +- `connector` — the SaaS tool (e.g., `bamboohr`, `greenhouse`) +- `owner_id` — the account owner's identifier - `status` — `active`, `error`, `inactive` -To list accounts: `GET https://api.stackone.com/accounts` -To get one account: `GET https://api.stackone.com/accounts/{id}` +To list accounts: `GET https://api.stackone.com/v2/accounts` +To get one account: `GET https://api.stackone.com/v2/accounts/{id}` Fetch the accounts API reference for full details: -`https://docs.stackone.com/platform/api-reference/accounts/list-accounts` +`https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` ### Step 4: Fetch API docs as needed -Consult `references/api-categories.md` for the StackOne API structure (Actions API, Platform API) and connector category documentation URLs. +Consult `references/api-categories.md` for the StackOne API structure (Actions API, Platform API) and where connector documentation lives. ## Examples @@ -72,9 +76,9 @@ User says: "How do I see which accounts are connected in StackOne?" Actions: 1. Confirm they have an API key (created at https://app.stackone.com) -2. Show the curl command: `GET https://api.stackone.com/accounts` with proper auth header -3. Explain the response fields: `id`, `provider`, `status`, `origin_owner_id` -4. Fetch `https://docs.stackone.com/platform/api-reference/accounts/list-accounts` for the full schema +2. Show the curl command: `GET https://api.stackone.com/v2/accounts` with proper auth header +3. Explain the response fields: `id`, `connector`, `status`, `owner_id` +4. Fetch `https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` for the full schema Result: Working command with explanation of account statuses and how to use account IDs. @@ -85,8 +89,8 @@ User says: "My StackOne API call is returning 401" Actions: 1. Check if their API key is correctly base64-encoded (common mistake: forgetting the trailing colon) 2. Verify the key hasn't been revoked in the dashboard -3. If they get 200 on `/accounts` but fail on data endpoints, check that `x-account-id` is present and valid -4. Fetch `https://docs.stackone.com/overview/authentication` for the latest auth details +3. If they get 200 on `/v2/accounts` but fail on data endpoints, check that `x-account-id` is present and valid +4. Fetch `https://docs.stackone.com/platform-api/authentication.md` for the latest auth details Result: Identified root cause with fix. @@ -100,14 +104,14 @@ Result: Identified root cause with fix. ### Error: 400 Bad Request with "account not found" **Cause**: The `x-account-id` header references a non-existent or disconnected account. -- List accounts with `GET /accounts` to find valid IDs +- List accounts with `GET /v2/accounts` to find valid IDs - Check the account status — it may be `error` or `inactive` ### Error: 429 Too Many Requests **Cause**: Rate limit exceeded. - StackOne applies rate limits per API key - Implement exponential backoff -- Fetch `https://docs.stackone.com/overview/rate-limits` for current limits +- Fetch `https://docs.stackone.com/platform-api/rate-limiting.md` for current limits ### API calls return empty data **Cause**: The linked account may have limited permissions on the provider side. @@ -121,5 +125,6 @@ Result: Identified root cause with fix. |----------|-----| | Dashboard | https://app.stackone.com | | API base | https://api.stackone.com | -| Documentation | https://docs.stackone.com | +| Documentation | https://docs.stackone.com/introduction.md | | Docs index | https://docs.stackone.com/llms.txt | +| Webhooks | https://docs.stackone.com/connect/webhooks.md | diff --git a/plugins/integrations/stackone-platform/skills/stackone-platform/references/api-categories.md b/plugins/integrations/stackone-platform/skills/stackone-platform/references/api-categories.md index 0be9f2c..051111d 100644 --- a/plugins/integrations/stackone-platform/skills/stackone-platform/references/api-categories.md +++ b/plugins/integrations/stackone-platform/skills/stackone-platform/references/api-categories.md @@ -13,10 +13,10 @@ POST https://api.stackone.com/actions/rpc Actions are named `{provider}_{operation}_{entity}` (e.g., `bamboohr_list_employees`, `salesforce_get_contact`). For the full Actions API reference, fetch: -`https://docs.stackone.com/platform/api-reference/actions/make-an-rpc-call-to-an-action` +`https://docs.stackone.com/platform/api-reference/actions/make-an-rpc-call-to-an-action.md` To discover available actions for a provider, fetch: -`https://docs.stackone.com/connectors/introduction` +`https://docs.stackone.com/connectors/introduction.md` ## Platform API @@ -24,28 +24,18 @@ The Platform API handles account management, not data operations: | Endpoint | Purpose | |----------|---------| -| `GET /accounts` | List linked accounts | -| `GET /accounts/{id}` | Get a specific linked account | +| `GET /v2/accounts` | List linked accounts | +| `GET /v2/accounts/{id}` | Get a specific linked account | | `POST /connect_sessions` | Create a connect session for account linking | For the full Platform API reference, fetch: -`https://docs.stackone.com/platform/api-reference/accounts/list-accounts` +`https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` + +The "Platform API" section of `https://docs.stackone.com/llms.txt` lists every reference page (Accounts, Actions, Connect Sessions, Connector Profiles, Connectors, Logs, Webhooks and more). ## Connector Categories -Connectors are organized into categories. Fetch the category introduction pages for details on available providers: - -| Category | Documentation | -|----------|--------------| -| HRIS | https://docs.stackone.com/hris/introduction | -| ATS | https://docs.stackone.com/ats/introduction | -| CRM | https://docs.stackone.com/crm/introduction | -| LMS | https://docs.stackone.com/lms/introduction | -| IAM | https://docs.stackone.com/iam/introduction | -| Documents | https://docs.stackone.com/documents/introduction | -| Accounting | https://docs.stackone.com/accounting/introduction | -| Ticketing | https://docs.stackone.com/ticketing/introduction | -| Messaging | https://docs.stackone.com/messaging/introduction | +Connectors are organized into categories such as HRIS, ATS, CRM, LMS, IAM, Documents, Accounting and Ticketing. Fetch `https://docs.stackone.com/connectors/introduction.md`, which tags each connector with its categories, and filter by the category. Each connector's own page lists its actions. ## Authentication From b0719d6d670fe89453fc590cd98097531eb35a0f Mon Sep 17 00:00:00 2001 From: Faisal Reza Date: Mon, 28 Sep 2026 14:25:17 +0100 Subject: [PATCH 2/4] fix(SOL-417): point to list accounts reference for account fields - drop copied field list and status values Co-Authored-By: Claude Opus 5.5 --- .../skills/stackone-platform/SKILL.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md index 222ff50..09c7e62 100644 --- a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md +++ b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md @@ -52,16 +52,10 @@ Key details: ### Step 3: Account management -Each linked account has: -- `id` — assigned by StackOne -- `connector` — the SaaS tool (e.g., `bamboohr`, `greenhouse`) -- `owner_id` — the account owner's identifier -- `status` — `active`, `error`, `inactive` - To list accounts: `GET https://api.stackone.com/v2/accounts` To get one account: `GET https://api.stackone.com/v2/accounts/{id}` -Fetch the accounts API reference for full details: +Fetch the List Accounts reference for each account's fields and status values: `https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` ### Step 4: Fetch API docs as needed @@ -77,8 +71,8 @@ User says: "How do I see which accounts are connected in StackOne?" Actions: 1. Confirm they have an API key (created at https://app.stackone.com) 2. Show the curl command: `GET https://api.stackone.com/v2/accounts` with proper auth header -3. Explain the response fields: `id`, `connector`, `status`, `owner_id` -4. Fetch `https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` for the full schema +3. Fetch `https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` +4. Explain the response fields and status values from the reference Result: Working command with explanation of account statuses and how to use account IDs. From b5bf3f463dada77836a246cc299f0f376d5de570 Mon Sep 17 00:00:00 2001 From: Faisal Reza Date: Mon, 28 Sep 2026 15:45:24 +0100 Subject: [PATCH 3/4] fix(SOL-417): point key details to docs, scope .md rule - api keys, authentication, core concepts pages replace copied key facts - .md suffix only for urls not already ending in .md; llms.txt as is Co-Authored-By: Claude Opus 5.5 --- .../skills/stackone-platform/SKILL.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md index 09c7e62..e16cdb2 100644 --- a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md +++ b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md @@ -18,7 +18,7 @@ Before answering platform questions, fetch the latest documentation: Do not guess or rely on potentially outdated information in this skill. Always verify against live docs. -When fetching any `docs.stackone.com` page, append `.md` to the URL to get it as markdown. +When fetching a `docs.stackone.com` page whose URL doesn't already end in `.md`, append `.md` to get it as markdown. `llms.txt` is already plain text, so fetch it as is. **If any URL in this skill returns 404, or a page doesn't cover what you need** (StackOne reorganizes its docs from time to time), search `llms.txt` for the page's topic (e.g. "Authentication", "Rate Limiting", "List Accounts", "Webhooks") and use the URL listed there. If the docs don't cover the question, say so and suggest contacting StackOne support. @@ -43,11 +43,10 @@ curl https://api.stackone.com/v2/accounts \ -H "Authorization: Basic $(echo -n 'YOUR_API_KEY:' | base64)" ``` -Key details: -- API keys are created at https://app.stackone.com -- Key format: `v1.{region}.xxxxx` -- The `x-account-id` header is required for data API calls — it identifies which linked account to query -- A **linked account** = a connection between your customer and a third-party provider (e.g., BambooHR) +For the details, fetch: +- Creating or managing an API key: `https://docs.stackone.com/embed/api-keys.md` +- Header format, key format and when the `x-account-id` header is needed: `https://docs.stackone.com/platform-api/authentication.md` +- What a linked account, connector, connector profile or project is: `https://docs.stackone.com/gateway/concepts/overview.md` - For how AI agents call StackOne actions (via SDK, MCP, or A2A), see the `stackone-agents` skill ### Step 3: Account management @@ -69,7 +68,7 @@ Consult `references/api-categories.md` for the StackOne API structure (Actions A User says: "How do I see which accounts are connected in StackOne?" Actions: -1. Confirm they have an API key (created at https://app.stackone.com) +1. Confirm they have an API key (see `https://docs.stackone.com/embed/api-keys.md` to create one) 2. Show the curl command: `GET https://api.stackone.com/v2/accounts` with proper auth header 3. Fetch `https://docs.stackone.com/platform/api-reference/v2/accounts/list-accounts.md` 4. Explain the response fields and status values from the reference From e259757470d7a9f3bdf18d78bec7756e6af6fe52 Mon Sep 17 00:00:00 2001 From: Faisal Reza Date: Mon, 28 Sep 2026 15:53:58 +0100 Subject: [PATCH 4/4] fix(SOL-417): align docs fallback layout with sibling skills Co-Authored-By: Claude Opus 5.5 --- .../stackone-platform/skills/stackone-platform/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md index e16cdb2..22d3796 100644 --- a/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md +++ b/plugins/integrations/stackone-platform/skills/stackone-platform/SKILL.md @@ -20,7 +20,9 @@ Do not guess or rely on potentially outdated information in this skill. Always v When fetching a `docs.stackone.com` page whose URL doesn't already end in `.md`, append `.md` to get it as markdown. `llms.txt` is already plain text, so fetch it as is. -**If any URL in this skill returns 404, or a page doesn't cover what you need** (StackOne reorganizes its docs from time to time), search `llms.txt` for the page's topic (e.g. "Authentication", "Rate Limiting", "List Accounts", "Webhooks") and use the URL listed there. If the docs don't cover the question, say so and suggest contacting StackOne support. +**If any URL in this skill returns 404, or a page doesn't cover what you need** (StackOne reorganizes its docs from time to time): +- Fetch `https://docs.stackone.com/llms.txt`, which indexes every docs page by title and description. Search it for the page's topic (e.g. "Authentication", "Rate Limiting", "List Accounts", "Webhooks") and use the URL listed there. +- If the docs don't cover the question, say so and suggest contacting StackOne support. Don't invent an answer. ## Instructions