Logs API
API request logs with status, latency, key and error code.
2 operations. Guide: Send email with the API, Error codes and retries. Requests and responses are JSON with snake_case fields; authenticate with Authorization: Bearer <api key>. The examples assume a client built as in SDKs and the command line.
List API request logs
GET /v1/logs
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | no | Default 20. |
after | query | string | no | A UUID. |
before | query | string | no | A UUID. |
status | query | integer or null | no | |
path | query | string | no | |
api_key_id | query | string | no | A UUID. |
error_code | query | string | no | |
from_date | query | string (date-time) | no | An ISO 8601 timestamp with timezone, for example 2026-10-24T18:00:00.000Z. |
to_date | query | string (date-time) | no | An ISO 8601 timestamp with timezone, for example 2026-10-24T18:00:00.000Z. |
Response
200 Success: object.
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | yes | |
data | array of object | yes | |
data[]. | string | yes | A UUID. |
data[]. | "log" | yes | |
data[]. | string (date-time) | yes | An ISO 8601 timestamp with timezone, for example 2026-10-24T18:00:00.000Z. |
data[]. | string | yes | |
data[]. | string | yes | |
data[]. | integer | yes | |
data[]. | integer | yes | |
data[]. | string or null | yes | A UUID. |
data[]. | string or null | yes | A UUID. |
data[]. | one of "live", "test", null or null | yes | |
data[]. | string or null | yes | |
data[]. | string or null | yes | |
data[]. | string | yes | |
data[]. | string or null | yes | |
data[]. | string or null | yes | |
has_more | boolean | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, with the error body.
Examples
curl https://api.minket.com/v1/logs \
-H "Authorization: Bearer $MINKET_API_KEY"const result = await minket.logs.list();minket api listLogsfrom minket.api.logs import list_logs
result = list_logs.sync(client=client)res, err := client.ListLogsWithResponse(ctx, &minket.ListLogsParams{})Get one request log entry
GET /v1/logs/{id}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | A UUID. |
Response
200 Success: object.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | A UUID. |
object | "log" | yes | |
created_at | string (date-time) | yes | An ISO 8601 timestamp with timezone, for example 2026-10-24T18:00:00.000Z. |
method | string | yes | |
path | string | yes | |
status | integer | yes | |
latency_ms | integer | yes | |
api_key_id | string or null | yes | A UUID. |
environment_id | string or null | yes | A UUID. |
mode | one of "live", "test", null or null | yes | |
idempotency_key | string or null | yes | |
error_code | string or null | yes | |
request_id | string | yes | |
ip | string or null | yes | |
user_agent | string or null | yes |
Errors: 400, 401, 403, 404, 409, 422, 429, 500, with the error body.
Examples
curl https://api.minket.com/v1/logs/019a2b3c-4d5e-7f60-8a9b-0c1d2e3f4a5b \
-H "Authorization: Bearer $MINKET_API_KEY"const result = await minket.logs.get("019a2b3c-4d5e-7f60-8a9b-0c1d2e3f4a5b");minket api getLog 019a2b3c-4d5e-7f60-8a9b-0c1d2e3f4a5bfrom minket.api.logs import get_log
result = get_log.sync("019a2b3c-4d5e-7f60-8a9b-0c1d2e3f4a5b", client=client)res, err := client.GetLogWithResponse(ctx, "019a2b3c-4d5e-7f60-8a9b-0c1d2e3f4a5b")