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

# agent.getThreadShare()

> Public low-code contract, signatures and examples for agent.getThreadShare.

## `agent.getThreadShare()`

Returns the current share state for a thread owned by the current user.

### Signature

```ts theme={null}
static getThreadShare(
      assistantThreadId: string,
    ): Promise<AssistantThreadShare | null>;
```

### Example

```ts theme={null}
const share = await agent.getThreadShare(assistantThreadId);
```

See [all agent methods](https://docs.revoengine.com/low-code/reference/agent.md) or [runtime basics](https://docs.revoengine.com/low-code/overview.md).


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