Skip to content

API cost labels

Before a script makes a call, you want to know what the call will do to you: nothing, a change to your data, a use of your agent-hours, or a write to a tool outside InsightJet. Every operation carries exactly one of four labels.

The label is the first line of the operation’s description in the OpenAPI document, and the API playground shows it before you click Run.

LabelWhat a call does
Reads onlyChanges nothing.
Changes dataChanges data in InsightJet: creates or edits a ticket, comments, stops a run, updates a page-object suite, generates test cases.
Uses agent hoursDrives a browser on your application and uses your agent-hours. It can be refused when you are out of hours or have as many agents working as your plan allows.
Can write to Jira, Linear or GitHubCan write to your Jira, Linear or GitHub.

Where more than one could apply, the most costly label is the one shown, in this order: Can write to Jira, Linear or GitHub, then Uses agent hours, then Changes data, then Reads only. So starting or re-running a ticket run, which uses agent-hours and can also write the results out to Jira, Linear or GitHub when your team has that turned on, is labelled Can write to Jira, Linear or GitHub.

Two labels you might not expect:

  • POST /crawls/{crawlId}/ticket-suggestions is a POST because it asks a model, but it creates nothing, so it is Reads only.
  • GET /ticket-runs/{ticketRunId}/result is a GET but is Changes data: the first read of a finished run makes its public share link.
  • GET /crawls
  • GET /crawls/{crawlId}
  • GET /crawls/{crawlId}/tickets
  • GET /tickets/{ticketId}
  • GET /tickets/{ticketId}/comments
  • POST /crawls/{crawlId}/ticket-suggestions
  • GET /ticket-runs
  • GET /ticket-runs/{ticketRunId}
  • GET /team/members
  • GET /crawls/{crawlId}/test-cases
  • GET /test-cases/{testCaseId}
  • GET /test-cases/{testCaseId}/history
  • GET /test-reports
  • GET /crawls/{crawlId}/test-runs
  • GET /test-flows
  • GET /apps
  • GET /apps/{appId}/pom-suite
  • GET /apps/{appId}/pom-pages/{pageKey}
  • GET /apps/{appId}/pom-pages/{pageKey}/history
  • GET /apps/{appId}/pom-suite-runs
  • GET /pom-suite-runs/{suiteRunId}
  • GET /crawls/{crawlId}/discoveries
  • GET /discoveries/{agentId}
  • GET /discoveries/{agentId}/results
  • GET /app-knowledge
  • GET /integrations/github/watch-rules
  • GET /integrations/github/board-rules
  • GET /integrations/jira
  • GET /integrations/linear
  • POST /crawls/{crawlId}/tickets
  • PATCH /tickets/{ticketId}
  • PUT /tickets/{ticketId}/status
  • POST /tickets/{ticketId}/comments
  • POST /crawls/{crawlId}/suggested-tickets
  • GET /ticket-runs/{ticketRunId}/result
  • POST /ticket-runs/{ticketRunId}/stop
  • POST /crawls/{crawlId}/pom-suite/reconcile
  • POST /discoveries/{agentId}/test-cases
  • POST /crawls
  • POST /test-cases/{testCaseId}/runs
  • POST /test-cases/{testCaseId}/pom-runs
  • POST /crawls/{crawlId}/pom-suite-runs
  • POST /crawls/{crawlId}/discoveries
  • POST /crawls/{crawlId}/ticket-runs
  • POST /ticket-runs/{ticketRunId}/retry
  • POST /apps/{appId}/pom-suite/github-publication