Package ai.vectros.types
Class LogEntry
java.lang.Object
ai.vectros.types.LogEntry
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getTimestamp
- Returns:
- When the API call completed (ISO-8601 UTC).
-
getMethod
- Returns:
- HTTP method of the request.
-
getResource
- Returns:
- Top-level resource the call targeted, derived from the request path — for example
documents,records,search,schemas,folders,entities,namespaces,users,usage,auth,models,ping,rag,chat,ask,erasure-requests, orexport. Rows may also carry values that are not filterable via theresourcequery parameter, andclients/orgsappear on rows written before those identity surfaces were folded intoentities.
-
getContextId
- Returns:
- The app context the request operated under — the context partition the credential carried.
*for a root/cross-context caller. Null for older log lines or for entry points that are not context-scoped.
-
getStatus
public int getStatus()- Returns:
- HTTP response status code.
-
getKeyId
- Returns:
- ID of the API key or scoped token that issued the request. Null if the request was unauthenticated (extremely rare — most paths require auth before logging).
-
getDurationMs
- Returns:
- Total request duration in milliseconds, from auth to response completion.
-
getPath
- Returns:
- Full request path.
-
getRequestId
- Returns:
- Correlation id for this call. Quote it when contacting support so the call can be traced. Most useful on failures, but recorded for successful calls too. Where an error response body carries a
requestId, it is this same id.
-
getErrorCode
- Returns:
- Error code explaining WHY a failed call was rejected, when the failure had a typed code — one of
RATE_LIMITED,SUBSCRIPTION_LIMIT_EXCEEDED,INSUFFICIENT_BALANCE,RESOURCE_IN_USE,VERSION_CONFLICT,SESSION_REFRESH_REQUIRED. Null for successful calls, for failures that carry only a message, and for calls recorded before this release that are still within your log retention window. Request and response bodies are never logged, so no further detail is available here by design.
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-