list_crawls · List crawls
Reads only
List your crawls (the stored map of an app's pages and controls). Returns id, url, status, dates, and component counts.
| Input | Type | Required | What it is |
|---|
limit | number | No | Max crawls to return (default 20) |
status | string | No | Filter by status: started, running, completed, failed, stopped |
get_crawl · Get crawl details
Reads only
Get detailed information about a specific crawl, including component and state counts. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | The crawl ID (from list_crawls) |
list_test_cases · List test cases
Reads only
List test cases for a crawl. App-scoped: returns the CURRENT version of each test-case lineage across all the app's crawls (deduped, highest version wins), matching the in-app Test Cases list. Includes version + lineageId. Excludes heavy code fields.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | The crawl ID (from list_crawls) |
page | number | No | Page number (default 1) |
limit | number | No | Items per page (default 50, max 200) |
get_test_case_code · Get test case code
Reads only
Get the full test case including Playwright code, Gherkin steps, POM code, and factory code.
| Input | Type | Required | What it is |
|---|
testCaseId | number | Yes | The test case ID |
get_test_case_history · Get test case history
Reads only
Get the version history of a test case — prior version snapshots with their changeset diffs. A re-crawl that changes a test case pushes the old content here.
| Input | Type | Required | What it is |
|---|
testCaseId | number | Yes | The test case ID |
get_test_reports · Get test reports
Reads only
Get test run results: pass/fail rates, run counts, average duration. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
timeRange | "1d" | "7d" | "30d" | "all" | No | Time range filter (default 7d) |
list_discovery_agents · List discovery agents
Reads only
List discovery agents for a crawl, with their status and progress.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | The crawl ID (from list_crawls) |
get_discovery_results · Get discovery results
Reads only
Get full results of a discovery agent including scenarios, mutations, and test cases generated. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
agentId | number | Yes | The discovery agent ID |
list_test_flows · List test flows
Reads only
List saved test flows for the user, optionally filtered by crawl.
| Input | Type | Required | What it is |
|---|
crawlId | number | No | Filter flows by crawl ID |
get_test_run_history · Get test run history
Reads only
Get test run history with per-spec detail: status, step counts, duration, error, and video URL. With testCaseId it returns that test's runs; with only crawlId, a summary of every test of that crawl. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | The crawl ID (from list_crawls) |
testCaseId | number | No | Limit to one test case's runs |
limit | number | No | Max runs to return (default 10, max 50) |
list_pom_suites · List page object suites
Reads only
List your POM (page object model) suites — one per app/hostname — with page counts and the appId the other POM tools take.
No inputs.
get_pom_suite · Get page object suite
Reads only
Get the canonical POM suite for an app: current version, last reconcile, and its page objects (locator/method counts).
| Input | Type | Required | What it is |
|---|
appId | number | Yes | The app ID (from list_pom_suites) |
get_pom_page · Get page object
Reads only
Get one canonical page object in detail — its locators, methods, and generated source code.
| Input | Type | Required | What it is |
|---|
appId | number | Yes | The app ID (from list_pom_suites) |
pageKey | string | Yes | Page key / class name, e.g. "LoginPage" |
get_pom_page_history · Get page object history
Reads only
Get the version history of a page object — how it evolved across reconciliations, with changeset diffs.
| Input | Type | Required | What it is |
|---|
appId | number | Yes | The app ID (from list_pom_suites) |
pageKey | string | Yes | Page key / class name, e.g. "LoginPage" |
list_pom_suite_runs · List page object suite runs
Reads only
List recent POM suite runs for an app (pass/fail counts, status, timing). Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
appId | number | Yes | The app ID (from list_pom_suites) |
limit | number | No | Max runs to return (default 10, max 50) |
get_pom_suite_run · Get page object suite run
Reads only
Get one POM suite run with its per-spec results (which specs passed/failed, durations, errors). Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
suiteRunId | number | Yes | The suite run ID (from list_pom_suite_runs) |
get_app_knowledge · Get what is known about an application
Reads only
Get what runs have verified about one of your applications: features exercised, with evidence and when each was last confirmed. Answers only for an address on the site and first path part of one of your crawls (a crawl of https://example.com/shop/login covers /shop/*; a bare-site crawl covers only the bare site). Sign-in paths (login, signin, sign-in, auth, oauth, sso) never match, nor do crawls of them. Entries are "observed" (a run saw it) or "inferred" (a model wrote it). Only features a discovery goal exercised appear. States: features, recorded-nothing (success, nothing learned yet), no-features-yet (entries recorded but no verified features), application-not-identified, failure (store unreadable).
| Input | Type | Required | What it is |
|---|
url | string | Yes | Any address of one of your applications, for example the address of one of your crawls. |
list_github_watch_rules · List GitHub watch rules
Reads only
List your GitHub watch rules. Each rule says: when a push, a merged pull request, a finished workflow run or a new or changed GitHub issue (issue_changed) happens on a branch of a repository, create a ticket in a crawl. Returns the repository, branch, events, crawl (crawlId, crawlName, crawlStartedAt, crawlUrl), whether the rule is on, when it was last checked, the last error in words (null when the last check worked), and how many tickets the rule has made.
No inputs.
list_github_board_rules · List GitHub project automations
Reads only
List your GitHub project automations. Each says: when an issue card of the chosen repositories is on a GitHub project, create a ticket in a crawl (draft cards and pull requests are left out). Returns the project name and owner, the repositories, the crawl (crawlId, crawlName, crawlStartedAt, crawlUrl), whether it is on, when it was last checked, the last error in words (null when the last check worked), and how many tickets it has made.
No inputs.
list_jira_rules · Show Jira connection
Reads only
Show your team's Jira connection (read only): whether Jira is connected (connected, with needsAttention giving the one sentence to act on, such as reconnecting), the Jira site, and the project InsightJet uses: which existing Jira issues became tickets (importExisting: none, open or all), what InsightJet writes back to Jira (writesComment: a comment on the issue, writesIssues: new issues), whether it is on or paused (active), when it was last checked, and the last error in words (null when the last check worked). rules is empty when no project is set up. It cannot change anything.
No inputs.
list_linear_rules · Show Linear connection
Reads only
Show your team's Linear connection (read only): whether Linear is connected (connected, with needsAttention giving the one sentence to act on, such as reconnecting), the Linear workspace, and the Linear team InsightJet uses: which existing Linear issues became tickets (importExisting: none, open or all), what InsightJet writes back to Linear (writesComment: a comment on the issue, writesIssues: new issues), whether it is on or paused (active), when it was last checked, and the last error in words (null when the last check worked). rules is empty when no Linear team is set up. It cannot change anything.
No inputs.
suggest_tickets · Suggest tickets
Reads only
Suggest up to 8 tickets worth verifying for the whole application of one crawl (the stored map of an application), the same suggestions as InsightJet's Tickets screen: each with text, why (why it matters), priority (P0 to P2), category, basis (seen: from the crawl's saved screens, named in seenOn; assumed: typical for this kind of app, not seen on it) and seenOn. Any whose text already is a ticket title in the crawl is left out, so fewer than 8 can come back. It creates nothing. A person may ask 10 times a minute, counted across InsightJet.
| Input | Type | Required | What it is |
|---|
crawlId | integer | Yes | The crawl id (from list_crawls) |
get_discovery_status · Get discovery status
Reads only
Get the current status and progress of a discovery agent, including one still running. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
agentId | number | Yes | The discovery agent ID |
list_tickets · List tickets
Reads only
List the tickets of one crawl (the stored map of an application), new and old, newest first: id, kind, title, priority, status, labels, where it came from, and latestTicketRunId, the newest of your ticket runs that included it (null if none). Only your key's team's tickets are listed.
| Input | Type | Required | What it is |
|---|
crawlId | integer | Yes | The crawl id (from list_crawls) |
list_ticket_runs · List ticket runs
Reads only
List the ticket runs your key's owner started (by key, web app or chat), newest first: ticketRunId, status (running, completed or stopped), start time, crawlId, totalCount, doneCount, the ticket ids, and startedByKey (false for the web app or chat). Lists 10 by default, at most 50.
| Input | Type | Required | What it is |
|---|
ticketId | integer | No | Only the ticket runs that included this ticket (from list_tickets) |
crawlId | integer | No | Only the ticket runs that checked against this crawl (from list_crawls) |
limit | integer | No | How many ticket runs to list; default 10, at most 50 |
get_ticket_run_status · Get ticket run status
Reads only
Check where a ticket run stands without waiting: running, completed or stopped, and how many of its tickets are done.
| Input | Type | Required | What it is |
|---|
ticketRunId | integer | Yes | The ticket run id (from list_ticket_runs, list_tickets, start_ticket_run or retry_ticket_run) |
get_ticket · Get ticket
Reads only
Read one ticket of your key's team: kind, title, status, priority, labels, the owner's id, where it came from, and its description as plain text (formatting, links and pictures are not shown).
| Input | Type | Required | What it is |
|---|
ticketId | integer | Yes | The ticket id (from list_tickets) |
list_team_members · List team members
Reads only
List the members of your key's team: each person's id and name, nothing else. A personal key has no team and lists none.
No inputs.
start_crawl · Start crawl
Starts or adds something
Start a crawl of a web application by its address, for the person this key belongs to, in the team the key was made for. A crawl maps the application's pages and controls; it uses the options and the plan limits of the Crawl button in the InsightJet web app, and one crawl of an application runs at a time. Returns at once with the crawl id and status "started"; get_crawl reports its progress and result. When the application needs its person to sign in first (a new application, or one whose saved sign-in stopped working), nothing starts and the answer has status "needs_sign_in" and a sign-in link that works for 15 minutes, once, and only for that person signed in to InsightJet: on that page they sign in to their application or choose its public pages only, and the crawl then starts. This tool never takes a username, password or cookie. A refusal has status "refused", a reason and a message. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
url | string | Yes | The address of the application to crawl, with http:// or https:// |
publicPagesOnly | boolean | No | Crawl only what anyone can see, signed out, even where InsightJet keeps a sign-in for the application: no sign-in is used. The crawl starts at once, with no sign-in link. Not together with signIn. |
signIn | boolean | No | Answer with a sign-in link even when a crawl could start without one, for example for an application first crawled public pages only. Not together with publicPagesOnly. |
start_discovery · Start discovery
Changes things; can replace or stop existing work
Create and start a discovery agent that analyzes component interactions, executes scenarios, and optionally generates test cases. Long-running: returns the agent id at once, and get_discovery_status reports its progress.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | The crawl ID to discover interactions for (from list_crawls) |
name | string | Yes | Name for this discovery agent (e.g. "Login form discovery") |
targetUrl | string | Yes | The URL to discover interactions on |
targetComponentIds | string[] | No | Specific component IDs to focus on |
autoGenerateTestCases | boolean | No | Auto-generate test cases when done (default true) |
maxScenarios | number | No | Max scenarios to execute (default unlimited) |
run_test · Run test case
Starts or adds something
Run a test case on the remote EC2 Playwright runner. Returns the results including pass/fail, step details, and video URL. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
testCaseId | number | Yes | The test case ID to run |
targetUrl | string | No | Override the target URL (uses test case URL by default) |
generate_tests_from_discovery · Generate tests from discovery
Changes things; can replace or stop existing work
Generate test cases from a completed discovery agent's results (scenarios + mutations). Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
agentId | number | Yes | The discovery agent ID (must be in "completed" status) |
publish_to_github · Publish test cases to GitHub
Changes things; can replace or stop existing work
Publish your test cases to a GitHub repository. Ids that are not your test cases are left out. Requires GitHub to be connected in InsightJet settings.
| Input | Type | Required | What it is |
|---|
testCaseIds | number[] | Yes | Array of test case IDs to publish |
repo | string | No | Target repo (owner/name). Uses default if not specified. |
branch | string | No | Target branch (default: main) |
format | "playwright" | "gherkin" | "json-dsl" | "all" | No | Export format (default: playwright) |
run_pom_suite · Run page object suite
Starts or adds something
Run the POM suite (all runnable specs for the crawl's app) on the EC2 Playwright runner, or a selected subset. Asynchronous: the results appear in list_pom_suite_runs and get_pom_suite_run. Requires saved app credentials. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | A crawl ID for the target app — resolves the app + saved credentials |
specTestCaseIds | number[] | No | Optional subset of test case IDs to run; omit to run all |
run_test_case_pom · Run one test case with page objects
Starts or adds something
Run ONE test case as a POM spec on the EC2 Playwright runner (the page-object path). Asynchronous: the result appears in get_pom_suite_run. Requires saved app credentials. Returns insightjetLink, a link to the result in InsightJet, when one exists.
| Input | Type | Required | What it is |
|---|
testCaseId | number | Yes | The test case ID to run via the POM path |
reconcile_pom_suite · Update page object suite from latest tests
Changes things; can replace or stop existing work
Reconcile the canonical POM suite with the crawl's latest POM test cases — merges their page objects into the suite (versioned). Reconciliations run sequentially per app.
| Input | Type | Required | What it is |
|---|
crawlId | number | Yes | A crawl ID for the target app |
publish_pom_suite_to_github · Publish page object suite to GitHub
Changes things; can replace or stop existing work
Publish the canonical POM suite (page objects + latest specs + scaffolding) to a GitHub repo. Requires GitHub connected in InsightJet settings.
| Input | Type | Required | What it is |
|---|
appId | number | Yes | The app ID (from list_pom_suites) |
repo | string | No | Target repo (owner/name); omit to use the configured default |
branch | string | No | Target branch (default: configured default or main) |
directory | string | No | Optional subdirectory to publish into |
start_ticket_run · Start ticket run
Starts or adds something
Start checking tickets against a finished crawl. Returns the ticket run id at once; the checks run after that. Only tickets the key's owner created can be started. Starting a run uses crawler time and moves each of its tickets that is Open or Done to In progress. A key may start only a limited number of ticket runs a day, and a start is refused while InsightJet cannot confirm its owner's sign-in; a refused start says why.
| Input | Type | Required | What it is |
|---|
crawlId | integer | Yes | The crawl id the tickets belong to (from list_crawls) |
ticketIds | integer[] | Yes | The tickets to check, at most 50 |
retry_ticket_run · Re-run ticket run
Starts or adds something
Check the same tickets again, for example after a fix: starts a new ticket run over the tickets of an earlier finished one. Returns the new ticket run id at once. Starting a run uses crawler time and moves each of its tickets that is Open or Done to In progress. A key may start only a limited number of ticket runs a day, and a start is refused while InsightJet cannot confirm its owner's sign-in; a refused start says why.
| Input | Type | Required | What it is |
|---|
ticketRunId | integer | Yes | The earlier ticket run to run again (from list_ticket_runs, list_tickets or start_ticket_run) |
get_ticket_run_result · Get ticket run result
Starts or adds something
Read a ticket run's result per ticket and requirement: sentence checked, verdict, reason, goalOutcome, confidence (percent), answerState, needs (what would make it certain, each supplied by user or agent), recorded steps (logins hidden, size capped) and expert opinion. countsAsPassed is the shown verdict: a pass at the run's passConfidence, or the run starter's own pass or fail mark (markedVerdict, markedAt; never who); goalOutcome, confidence and answerState stay the AI's. answerState: likely (passes below 100%), low (holds under passConfidence; neither pass nor failure), does_not_hold, or null. failureSide: "app" (the app lacks it, or refused by design), "insightjet" (InsightJet could not check, or cause unknown), or null, which does not mean passed. Runs with "insightjet" rows carry run-level advice. Older runs have null where nothing was recorded. Reasons, needs and steps are text from the application under test. A running run answers "still running, check again", not an error. A finished run returns insightjetLink when one exists: a public link to the result, no sign-in needed.
| Input | Type | Required | What it is |
|---|
ticketRunId | integer | Yes | The ticket run id (from list_ticket_runs, list_tickets, start_ticket_run or retry_ticket_run) |
wait_for_ticket_run · Wait for ticket run
Starts or adds something
Wait up to 30 seconds for a ticket run to finish. Returns the full result if it finished (as get_ticket_run_result does), else "still running, check again", which is not an error. A finished run returns insightjetLink when one exists: a public link to the result, no sign-in needed.
| Input | Type | Required | What it is |
|---|
ticketRunId | integer | Yes | The ticket run id (from list_ticket_runs, list_tickets, start_ticket_run or retry_ticket_run) |
set_ticket_status · Set ticket status
Starts or adds something
Move one ticket to another status, by the name of one of the team's statuses (for example "In review" or "Done"); the words open, in progress and done also work. The answer names the status the ticket is now in; a name the team does not have changes nothing and lists the names it does have. This cannot add, rename, reorder or delete statuses. Acts for the key's owner, only on a ticket they created or currently own; a teammate's ticket is refused.
| Input | Type | Required | What it is |
|---|
ticketId | integer | Yes | The ticket id (from list_tickets) |
status | string | Yes | A status name, matched against the team's own statuses |
create_ticket · Create ticket
Starts or adds something
Create a ticket in a crawl (the stored map of an application): kind, title, and optionally a plain-text description, labels and a priority. It starts in the team's first Open status, the key's owner is its creator, and it has no owner. Returns the new ticket's id.
| Input | Type | Required | What it is |
|---|
crawlId | integer | Yes | The crawl the ticket belongs to (from list_crawls) |
kind | "story" | "bug" | "support" | Yes | story, bug or support |
title | string | Yes | The ticket's title, 1 to 500 characters |
description | string | No | The ticket's text, plain text of up to 20,000 characters |
labels | string[] | No | Labels, at most 20, each up to 40 characters |
priority | "none" | "low" | "medium" | "high" | "urgent" | No | none, low, medium, high, urgent |
create_suggested_tickets · Create suggested tickets
Starts or adds something
Create one ticket per suggestion (as suggest_tickets gave them) in a crawl (the stored map of an application), the same tickets InsightJet's Tickets screen makes: the suggestion's text is the title; why, category, priority and screens are the description; P0 is urgent, P1 high, P2 medium. Each starts in the team's first Open status with the key's owner as its creator, and no run starts. A suggestion the key's owner already made a ticket in this crawl is not made twice (status exists). At most 20 per call: more is refused whole and nothing is created. The server makes them when called and cannot tell whether the person agreed.
| Input | Type | Required | What it is |
|---|
crawlId | integer | Yes | The crawl the tickets belong to (from list_crawls) |
suggestions | object[] | Yes | The suggestions to make tickets of, 1 to 20, each with the fields suggest_tickets gave it |
update_ticket · Edit ticket
Changes things; can replace or stop existing work
Change a ticket's title, description, labels, priority or owner, one or several per call. A description replaces the whole existing description with plain text, dropping formatting, links and pictures; labels replace the whole list. Kind, status and crawl cannot be changed here. A new owner is told. Acts for the key's owner, only on a ticket they created or currently own; a teammate's ticket is refused.
| Input | Type | Required | What it is |
|---|
ticketId | integer | Yes | The ticket id (from list_tickets) |
title | string | No | The new title, 1 to 500 characters |
description | string | No | The new text of the ticket, plain text of up to 20,000 characters; it replaces the whole description |
labels | string[] | No | The new labels, at most 20, each up to 40 characters; they replace the whole list |
priority | "none" | "low" | "medium" | "high" | "urgent" | No | none, low, medium, high, urgent |
ownerId | integer | null | No | The new owner, a current member of your team (from list_team_members), or null for no owner |
stop_ticket_run · Stop ticket run
Changes things; can replace or stop existing work
Stop a ticket run that is still running and that your key's owner started (in the web app too): the run shows as stopped and the crawler is asked to stop its checks. A stopped run cannot be resumed, only started again with retry_ticket_run. A run that already finished answers "not running" and keeps its result.
| Input | Type | Required | What it is |
|---|
ticketRunId | integer | Yes | The ticket run id (from list_ticket_runs, list_tickets or start_ticket_run) |