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.
| Label | What a call does |
|---|---|
| Reads only | Changes nothing. |
| Changes data | Changes data in InsightJet: creates or edits a ticket, comments, stops a run, updates a page-object suite, generates test cases. |
| Uses agent hours | Drives 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 GitHub | Can 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-suggestionsis aPOSTbecause it asks a model, but it creates nothing, so it is Reads only.GET /ticket-runs/{ticketRunId}/resultis aGETbut is Changes data: the first read of a finished run makes its public share link.
Which operation has which
Section titled “Which operation has which”Reads only
Section titled “Reads only”GET /crawlsGET /crawls/{crawlId}GET /crawls/{crawlId}/ticketsGET /tickets/{ticketId}GET /tickets/{ticketId}/commentsPOST /crawls/{crawlId}/ticket-suggestionsGET /ticket-runsGET /ticket-runs/{ticketRunId}GET /team/membersGET /crawls/{crawlId}/test-casesGET /test-cases/{testCaseId}GET /test-cases/{testCaseId}/historyGET /test-reportsGET /crawls/{crawlId}/test-runsGET /test-flowsGET /appsGET /apps/{appId}/pom-suiteGET /apps/{appId}/pom-pages/{pageKey}GET /apps/{appId}/pom-pages/{pageKey}/historyGET /apps/{appId}/pom-suite-runsGET /pom-suite-runs/{suiteRunId}GET /crawls/{crawlId}/discoveriesGET /discoveries/{agentId}GET /discoveries/{agentId}/resultsGET /app-knowledgeGET /integrations/github/watch-rulesGET /integrations/github/board-rulesGET /integrations/jiraGET /integrations/linear
Changes data
Section titled “Changes data”POST /crawls/{crawlId}/ticketsPATCH /tickets/{ticketId}PUT /tickets/{ticketId}/statusPOST /tickets/{ticketId}/commentsPOST /crawls/{crawlId}/suggested-ticketsGET /ticket-runs/{ticketRunId}/resultPOST /ticket-runs/{ticketRunId}/stopPOST /crawls/{crawlId}/pom-suite/reconcilePOST /discoveries/{agentId}/test-cases
Uses agent hours
Section titled “Uses agent hours”POST /crawlsPOST /test-cases/{testCaseId}/runsPOST /test-cases/{testCaseId}/pom-runsPOST /crawls/{crawlId}/pom-suite-runsPOST /crawls/{crawlId}/discoveries
Can write to Jira, Linear or GitHub
Section titled “Can write to Jira, Linear or GitHub”POST /crawls/{crawlId}/ticket-runsPOST /ticket-runs/{ticketRunId}/retryPOST /apps/{appId}/pom-suite/github-publication