Quickstart
Sign up, create an organization, a project and an environment, copy the ingest key, install an SDK and see your first recorded request in the app.
This takes a few minutes. You need a service that makes outgoing HTTP calls with axios (Node.js) or Guzzle (PHP). Other clients can report through lifecycle events.
-
Create your account.
Go to console.inspector.rest and sign up with your name, email address and a password of at least 10 characters. We send a 6-digit code and a link to verify your address. Verification is required before you can create an organization.
-
Create your organization.
An organization holds your projects, members and plan. Pick a name and an address. The address becomes part of your URLs and cannot be changed later:
App https://<org-slug>.inspector.restAPI (used by the SDKs) https://<org-slug>.api.inspector.rest -
Create a project and its environments.
A project is one service or app. Its environments (for example
production,stagingandlocal) keep requests apart, and each environment gets its own ingest key. Requests are kept for 7 days by default; you can change that per environment. -
Copy the ingest key.
The console shows the key of an environment once. It looks like
irk_<org-slug>_<secret>. Copy it now. You can create more keys later and revoke old ones. Keep it in the environment of the service, for example asINSPECTOR_REST_KEY. -
Install the SDK and instrument your client.
Terminalnpm install @inspector-rest/sdkJavaScriptimport axios from 'axios'; import { create_inspector } from '@inspector-rest/sdk'; import instrument_axios from '@inspector-rest/sdk/axios'; const inspector = create_inspector({ server_key: process.env.INSPECTOR_REST_KEY, // irk_<org-slug>_<secret> service: 'billing', }); instrument_axios(axios, inspector); // every axios call is recordedTerminalcomposer require inspector-rest/sdkPHPuse GuzzleHttp\Client; use GuzzleHttp\HandlerStack; use InspectorRest\GuzzleMiddleware; use InspectorRest\Inspector; $inspector = new Inspector([ 'server_key' => getenv('INSPECTOR_REST_KEY'), 'service' => 'billing', ]); $stack = HandlerStack::create(); $stack->push(GuzzleMiddleware::create($inspector)); $client = new Client(['handler' => $stack]);Send one batch by handcurl https://acme.api.inspector.rest/api/ingest \ -H "x-inspector-key: $INSPECTOR_REST_KEY" \ -H "content-type: application/json" \ -H "accept: application/json" \ --data @batch.jsonResponse{ "accepted": 1, "rejected": [] }No SDK for your runtime yet?
batch.jsonholds a batch envelope like the minimal batch. See Ingest wire format. -
Make a request and open the app.
Start your service with the key set and make any outgoing HTTP call. The console waits for the first request and shows it a few seconds later. Choose Open in app to see attempts, headers and bodies.
Next steps
- Add labels such as tenant or job to find requests by what they belong to.
- Decide what is captured with the capture rules: sampling, body rules and redaction.
- Learn the app: filters and views, live mode and request details.
- Connect an AI agent to your data.
- Invite your team from the console (
console.inspector.rest/<org-slug>/members). Every member can open the app and use MCP.