Keys
InsightJet has two kinds of key. They look alike and are not interchangeable, so a script or a tool that is given the wrong one is refused. Every other page links here for how to make a key.
| API key | Assistant (MCP) key | |
|---|---|---|
| Starts with | ijk_ | mcp_ |
| Make it in | Settings → Keys → API keys (New API key) | Settings → Integrations → AI assistants (MCP) (Make key) |
| What it opens | The API at /api/v1, and the API tab of the playground | The MCP server for AI assistants, the GitHub Action and its two addresses, and the MCP tools tab of the playground |
| What refuses it | The MCP server and the GitHub Action: “This is an API key; this address needs an MCP key” | The API: error code mcp_key (“This is an MCP key; the API needs an API key”) |
| Daily limit | No daily limit on starting ticket runs | 20 ticket runs per key in any 24 hours (the GitHub Action shares it) |
| Lasts | 365 days | 365 days |
| Shown | Once, when you make it | Once, when you make it |
A key acts as you, in the team that was active when you made it (or in your personal workspace when no team was active).
Making a key
Section titled “Making a key”- Open the page named in the table.
- Give the key a name you will recognise later.
- Copy the key at once. It is shown only once; InsightJet does not keep it in a form it can show you again. If you lose it, make a new one.
Store a key as a secret (an environment variable, or your CI’s secret store), never in a repository.
How long a key lasts
Section titled “How long a key lasts”A key made on either screen works for 365 days, then it is refused as expired. Make a new one before then. An app you connect to by signing in (ChatGPT, for example) is also an assistant key, but the sign-in page says how many days that connection works.
Revoke a key
Section titled “Revoke a key”- An API key: Settings → Keys → API keys, Revoke.
- An assistant key: Settings → Integrations → AI assistants (MCP), under Your assistants and keys, Revoke (or Remove for a signed-in app).
A revoked key stops working at once.
Which one do I need?
Section titled “Which one do I need?”- Your own script calling the REST API: an API key. See API authentication.
- Claude Code, Codex, Claude Desktop or another MCP client: an assistant key. See Connect an AI assistant.
- The
InsightJet/run-testsGitHub Action: an assistant key, even though the Action’s input is calledapi-key. See GitHub Actions. - The playground: the key kind of the tab you use. See API reference.