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

# GetAgentSpansResult

> TypeScript SDK reference

# GetAgentSpansResult

Ƭ **GetAgentSpansResult**: `Object`

Result shape returned by [WeaveClient.getAgentSpans](../classes/weaveclient#getagentspans).

#### Type declaration

| Name           | Type                          |
| :------------- | :---------------------------- |
| `spans`        | [`AgentSpan`](./agentspan)\[] |
| `total_count?` | `number`                      |

#### Defined in

[src/weaveClient.ts:183](https://github.com/wandb/weave/blob/8c5f077eb11c42b84000726ff20504abc728d3fb/sdks/node/src/weaveClient.ts#L183)

***
