Skip to content

Logs & monitoring

Track API requests, monitor response times, and analyze usage patterns with built-in request and activity logs.

Overview

MockAPI provides two types of logging to help you monitor and debug your mock APIs:

  • Request logs: Record of every API request to your mock endpoints
  • Activity logs: Audit trail of actions performed in the dashboard

Additionally, the Dashboard provides visual analytics including request trends, popular endpoints, and quota usage.

Request logs

Request logs capture every API call made to your mock endpoints. Navigate to Monitor → Request logs in the sidebar to view them.

Log fields

FieldDescription
EndpointThe URL path that was requested
MethodThe HTTP method used (GET, POST, PUT, etc.)
Status codeThe HTTP status code returned
Response timeHow long the request took to process (in milliseconds)
TimestampWhen the request was received

Searching

Use the search box above the table to find requests by endpoint path.

Log retention

Request logs are automatically deleted after a retention period that depends on your plan:

PlanRetention period
Free3 days
Developer7 days
Team30 days
Business90 days
Enterprise90 days

Info

Logs are automatically cleaned up daily at 2 AM UTC. Logs older than your plan's retention period are permanently deleted.

Activity logs

Activity logs provide an audit trail of actions performed by team members within the dashboard. Navigate to Monitor → Activity to view them.

Tracked activities

FieldDescription
UserThe team member who performed the action
ActionWhat was done (create, update, delete, etc.)
Entity typeWhat type of resource was affected (model, endpoint, schema, etc.)
DetailsAdditional context about the change
TimestampWhen the action occurred

Dashboard analytics

The Dashboard page provides a visual overview of your API usage and project statistics.

Metric cards

Four key metrics are displayed at the top of the dashboard:

  • Total projects: Number of projects in your account
  • Models: Number of data models in the selected project
  • Endpoints: Number of REST and GraphQL endpoints in the selected project
  • API requests: API calls to the selected project this month

Monthly quota usage

A progress bar shows the selected project's usage this month against its monthly quota. The bar changes color as the project approaches its quota:

  • Neutral: below 80% of quota
  • Yellow/warning: between 80% and 95% of quota
  • Red/critical: above 95% of quota

Warning

When a project reaches 100% of its monthly quota, requests to its mock endpoints are rejected with a 403 status code. Upgrade your plan or wait for the 1st of the next month to restore access.

API usage chart

A chart shows the selected project's requests per day and covers the last 7 days.

A table shows your most frequently called endpoints from the last 30 days, including the endpoint path, HTTP method, and total request count. This helps identify which endpoints are most active.