Skip to content

Get an API key

An API key authenticates requests to the MaxoPerf Platform API from CI pipelines, scripts, or an AI agent connected over MCP. You create it once in the console and paste it wherever a tool asks for a MaxoPerf credential.

  1. Open Settings → API keys (/settings/api-keys).
  2. Click New API key. Give it a name that says what it’s for, such as ci-nightly-run or claude-code-agent, so you can tell keys apart later.
  3. Pick an expiry. Choose 1 month, 1 year, or 10 years. Use a short expiry for experiments and a long one for stable CI pipelines.
  4. Copy the token immediately. The console shows it once, in the form mpak_<keyId>_<secret>. MaxoPerf never shows the secret again. If you leave the page before you copy it, revoke the key and create a new one.
Create a key in Settings → API keys. Come back to this page to check Last used or to revoke a key.

MaxoPerf doesn’t offer a read-only key type yet. If an AI agent only needs to inspect dashboards, KPIs, or run history, you get the same safety this way:

  • Tell the agent (in its system prompt or skill config) to avoid create/run/delete tool calls.
  • Review the agent’s tool-call log before you approve anything destructive (delete run, cancel test, revoke key).
  • Rotate the key on a schedule, and watch Last used on the API keys page for calls you didn’t expect.

Pass the key as a bearer token:

Terminal window
curl -H "Authorization: Bearer mpak_your_api_key_here" \
https://api.maxoperf.com/v1/tests

AI tools that connect over MCP use the same header. See Connect AI tools for per-client setup, or Install the MaxoPerf skill for the fastest start.

Open Settings → API keys, find the key by name, and click Revoke. Revocation is immediate. Any tool still using that token gets 401 Unauthorized on its next call.