This endpoint gets your logged requests
/api/v1/requestsGETuser_id (optional, string): The ID of the user.search (optional, string): The search query to filter requests.sortBy (optional, string): The field to sort requests by. Possible values are id, createdAt, updatedAt, ip, url, method, status, and cached.sortOrder (optional, string): The order to sort requests. Possible values are asc (ascending) and desc (descending).pageSize (optional, number): The number of requests to return per page.pageNumber (optional, number): The page number of requests to return.filter (optional, string): Additional filtering parameters in JSON format.Authorization (required, string): LLM REPORT API key.requests (array of objects): An array of request objects.
id (string): The ID of the request.createdAt (string): The timestamp when the request was created.updatedAt (string): The timestamp when the request was last updated.ip (string): The IP address of the request.url (string): The URL of the request.method (string): The HTTP method used in the request.status (string): The status code of the request.cached (boolean): Indicates if the request was cached.streamed (boolean): Indicates if the response was streamed.user_id (string): The ID of the user associated with the request.completion (string): The completion response of the request.model (string): The model used for the request.openai_id (string): The ID of the request in the OpenAI system.prompt_tokens (number): The number of tokens in the prompt.completion_tokens (number): The number of tokens in the completion.request_body (string): The request body.response_body (string): The response body.streamed_response_body (string): The streamed response body.cost (number): The cost of the request calculation.totalCount (number): The total count of requests matching the query parameters.{ error: "You must be logged in or provide an API key." } or { error: "Invalid API key." }{ error: "Method not allowed" }