---
title: "Get hook state and logs"
method: GET
path: "/api/projects/{projectId}/sessions/{sessionId}/hooks/state"
tags: ["Hooks"]
---

# Get hook state and logs

`GET /api/projects/{projectId}/sessions/{sessionId}/hooks/state`

Get hook state and logs. Returns the requested resource or collection for the authenticated caller.

## Path parameters

- `projectId` string, required
- `sessionId` string, required

## Response `200`

Hook state

- HooksStateResponse — hooks State Response payload returned by the API.

---

[API](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.dev/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/revisions/4de3fcd6be56/schema)
