---
title: "Sheet Assistant History"
method: GET
path: "/ai/{handle}/logs"
tags: ["ai"]
---

# Sheet Assistant History

`GET /ai/{handle}/logs`

Get history of recent messages with the sheet assistant

## Path parameters

- `handle` string, required

## Query parameters

- `limit` integer

## Response `200`

OK

- ZazuChatHistoryMessage
  - `ClientStateId` string
  - `Content` string
  - `MessageType` 'user' | 'assistant-preanalyze' | 'assistant-response' | 'assistant-action' | 'assistant-action-placeholder' | 'assistant-description' | 'assistant-tool-use' | 'assistant-tool-output'
  - `Role` 'system' | 'assistant' | 'user' | 'function'
  - `Timestamp` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/freshdesk/apis/gigasheet-api.md) · [All operations](https://skmtc.net/freshdesk/apis/gigasheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freshdesk/gigasheet-api/versions/d1e5cbb24557/schema)
