How it works
The model behind inspector.rest — organizations, projects, environments, ingest keys, one record per request with its attempts, outcomes and path templates.
The pieces
| Piece | What it is |
|---|---|
| Organization | Your account space with members and a plan. It has an address (<org-slug>) that cannot be changed. |
| Project | One service or app. |
| Environment | A separate stream of requests inside a project, such as production or staging. Each environment has its own ingest keys and its own retention. |
| Ingest key | A secret (irk_<org-slug>_<secret>) that lets an SDK write into one environment. |
| SDK | A library in your service that records outgoing HTTP calls and sends them to https://<org-slug>.api.inspector.rest. |
| App | The web app at https://<org-slug>.inspector.rest where you inspect requests. |
| MCP server | https://mcp.inspector.rest/mcp, a read-only server for AI agents. |
| Console | console.inspector.rest, where you manage organizations, environments, keys, members, MCP access and your plan. |
One record per request
The SDK merges everything that belongs to one outgoing call into a single record: the request, the response, the body, every retry, errors and the final outcome. The record is sent when the call is finished, together with all of its attempts. A call that is still running after 2 seconds is sent as an “in progress” record, which the finished record replaces.
Each attempt has its own request headers and body, response status, headers and body, timing and error. The app shows attempts as a waterfall, so you see that a call that finally returned 200 needed three tries.
Outcomes and statuses
A recorded request has one of these outcomes:
| Outcome | Meaning |
|---|---|
ok | The request finished without error. |
error | The request failed: an HTTP error status, a parse error or a domain error that the client reported (this includes calls that returned HTTP 200 but were treated as failures). |
network | No response was received (connection refused, timeout, DNS failure and similar). |
pending | The request is still running. |
abandoned | The request was still pending after 10 minutes without an update. The state is derived when you query; the record does not change. |
The status, outcome and error of a request come from its last attempt.
Path templates
When a request arrives, its path is also stored as a template. Segments that look like ids (numbers, UUIDs, long hex strings, tokens and prefixed ids such as cus_8fK2xQ9a) become :id. For example /v1/customers/cus_8fK2xQ9aLm/charges becomes /v1/customers/:id/charges. Use the template to group and filter all customers’ calls to one endpoint, in the app and with the path_template filter in MCP.
Time
All times are UTC. Requests are sorted by when they started. Retention and paging use the time the server received a record, and the SDK corrects clock differences between your server and inspector.rest.
Where data lives
The data of an organization is stored on one server. Text bodies are stored compressed. Binary bodies, if you turn on binary capture, are stored in object storage. Both count toward your plan’s storage. Retention, “Clear requests” and deleting an environment really delete the request data.