Class GetAdminLogsRequest

java.lang.Object
ai.vectros.resources.auth.requests.GetAdminLogsRequest

public final class GetAdminLogsRequest extends Object
  • Method Details

    • getStartTime

      public String getStartTime()
      Returns:
      Start of the time window (ISO-8601 UTC).
    • getEndTime

      public Optional<String> getEndTime()
      Returns:
      End of the time window (ISO-8601 UTC; defaults to now).
    • getResource

      public Optional<String> getResource()
      Returns:
      Filter by resource type. One of documents, records, search, schemas, folders, clients, orgs, users, usage, auth, models, ping, rag, chat, ask, erasure-requests, or export.
    • getMethod

      public Optional<String> getMethod()
      Returns:
      Filter by HTTP method (GET, POST, PUT, or DELETE).
    • getKeyId

      public Optional<String> getKeyId()
      Returns:
      Filter by API key id to inspect a specific credential's traffic.
    • getContextId

      public Optional<String> getContextId()
      Returns:
      Filter by app context id to inspect a specific context's traffic.
    • getErrorsOnly

      public Optional<Boolean> getErrorsOnly()
      Returns:
      If true, return only requests with a status of 400 or higher.
    • getLimit

      public Optional<Integer> getLimit()
      Returns:
      Maximum number of log entries to return per page (1–500; defaults to 200).
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static GetAdminLogsRequest.StartTimeStage builder()