VCodeX
Observability

Correlation IDs

One ULID to follow a request from gateway to error log.

Every request is tagged with a ULID correlation id at the edge — 26 characters, lexicographically time-sortable — returned in the X-Correlation-ID header.

The id is propagated to:

  • structured (Winston) logs
  • the error_logs table
  • the dashboard usage and error logs
  • the operations error search

Read it from the response header and include it when contacting support:

curl -i https://app.vcodex.ai/v1/chat/completions \
  -H "Authorization: Bearer $VCODEX_KEY" -d '{ ... }'
# < X-Correlation-ID: 01J9XK2P…

Then search that id in the dashboard logs. Because the id is time-sortable, you can also use it to order events without a separate timestamp index.