Skip to main content

Logs page

Navigate to Logs in the sidebar. The page title is Logs and the page description is Monitor API logs.

Table columns

Each row in the logs table represents a single API request:
ColumnDescription
SelectCheckbox for batch selection (select individual rows or all)
APIAPI key name, prefix, and status icon
MethodHTTP method (GET, POST, PUT, DELETE)
EndpointFull API path (e.g. /v1/generate/image/flux-pro)
StatusHTTP response status code
Error codeBabySea error code if the request failed
IP hashSHA-256 hash of the client IP (never the raw IP)
TimestampLocalized date and time of the request

Key status icons

The API column includes the key name, key prefix, and a status icon based on the current state of that key:
IconColorMeaning
KeyDefaultKey is active and has never been rotated
RotateIndigoKey has been rotated (the replacement key is active)
ClockRedKey has expired (expires_at has passed)
SignalPinkKey is revoked or inactive

Status code colors

Status codes in the Status column are color-coded for quick scanning:
ColorStatus rangeMeaning
Green200 to 299Success
Blue300 to 399Redirect (BabySea does not issue these)
Amber400 to 499Client error (bad request, unauthorized)
Red500 to 599Server error

Searching logs

The search field filters the currently loaded log rows. The implementation matches against these values:
Search targetExample
Key nameproduction-api
Key prefixbye_AB12
MethodPOST
Endpoint/v1/generate/image
Status code401
Error codeBSE4006
IP hasha1b2c3d4e5f6
Search updates as you type.

Pagination

The table uses 500 rows per page. Use the page controls to move between pages. Selection and export actions apply to the current page because row selection is based on the currently paginated rows.

Sorting

The table columns are sortable in the UI. These columns expose sorting:
ColumnSort behavior
APIAlphabetical by key name
MethodAlphabetical (DELETE, GET, POST, PUT)
EndpointAlphabetical by path
StatusNumeric by status code
Error codeAlphabetical by code
IP hashAlphabetical by hash prefix
TimestampChronological

Fullscreen view

Click the fullscreen icon button in the top right to expand the logs table to full screen. This is useful when working with wide tables or when you need more space to review log entries. The fullscreen view retains all search, filter, sort, and export capabilities.

Reading a log entry

Each log entry tells you what happened with a specific API request:
API: production-api (bye_AB12CD3E)  🔑
Method: POST
Endpoint: /v1/generate/image/flux-pro
Status: 200
Error code: (none)
IP hash: a1b2c3d4e5f6
Timestamp: Mar 6, 12:30
This entry shows a successful image-generation request made by the production-api key. A failed request looks like:
API: staging-key (bye_XY98ZW7V)  ⏱️
Method: POST
Endpoint: /v1/generate/image/flux-pro
Status: 401
Error code: BSE1001
IP hash: f6e5d4c3b2a1
Timestamp: Mar 6, 14:15
This entry shows a request that failed authentication with 401 and an error code on the same row.