> ## Documentation Index
> Fetch the complete documentation index at: https://vetta.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# logs

> Every call your keys and connections made — client.logs.

Scope `audit:read` (`tools:read` also accepted). Guide: [Usage and logs](https://vetta.sh/docs/developers/usage-and-logs.md).

## list

```ts theme={"system"}
client.logs.list(filters?: { credential?: string; tool?: string; identity?: string; resource_id?: string; status?: "2xx" | "4xx" | "5xx" | "held"; surface?: string; request_id?: string; from?: string; to?: string; limit?: number; after?: string }): Promise<Page<LogEntry>>
```

`GET /v1/logs`. Newest first.

## get

```ts theme={"system"}
client.logs.get(requestId: string): Promise<LogEntry & { audit?: AuditLog[] }>
```

`GET /v1/logs/{request_id}`. One request, with the audit rows it wrote.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.