# List LLM requests

`GET /v1/projects/{project}/llmRequests`, operation `llmRequests.ListLlmRequests`

Lists the requests to a project's models, newest first, without their prompts or answers.

With the project - and an organization filter, lists them across the organization's projects: those of every project the caller holds llmgateway.requests.list on. Only the requests of as many days as the organization's plan keeps are listed (llmgateway.requestLogDays: 7 on Hobby, 30 on Pro, 90 on Team and Enterprise).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID, or - for the projects of the organization that filter names. |
| `pageSize` | query | No | `integer (int32)` | Maximum number of items to return. Defaults to 50; values above 500 are treated as 500. |
| `pageToken` | query | No | `string` | Page token from a previous response. |
| `filter` | query | No | `string` | Comparisons joined by AND (AIP-160): organization = "organizations/{organization_id}", required with the project -, and only then; model, principal, source and operation with = and a quoted string, such as principal = "serviceAccount:sa_…"; outcome with = and an outcome, or with != as often as needed, such as outcome != CALLER_LEFT; failed = true for requests that did not end in a successful answer, and failed = false for those that did, where a caller leaving is neither; time with >=, >, <= or < and a quoted RFC 3339 timestamp, compared with startTime. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `llmRequests` | `LlmRequest[]` | Yes | Requests, newest first. |
| `nextPageToken` | `string` | Yes | Token for the next page; empty on the last page. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.