> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-1778-mysql-updates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# trace_server_interface

> Python SDK reference for weave.trace_server.trace_server_interface

# API Overview

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1107">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ActionsExecuteBatchReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `action_ref`: `<class 'str'>`
* `call_ids`: `list[str]`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1114">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ActionsExecuteBatchRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L21">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `BaseModelStrict`

Base model with strict validation that forbids extra fields.

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L294">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallBatchEndMode`

**Pydantic Fields:**

* `mode`: `<class 'str'>`
* `req`: `<class 'CallEndReq'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L289">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallBatchStartMode`

**Pydantic Fields:**

* `mode`: `<class 'str'>`
* `req`: `<class 'CallStartReq'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L299">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallCreateBatchReq`

**Pydantic Fields:**

* `batch`: `list[typing.Union[CallBatchStartMode, CallBatchEndMode]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L303">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallCreateBatchRes`

**Pydantic Fields:**

* `res`: `list[typing.Union[CallStartRes, CallEndRes]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L281">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallEndReq`

**Pydantic Fields:**

* `end`: `<class 'EndedCallSchemaForInsert'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L285">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallEndRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L307">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallReadReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `id`: `<class 'str'>`
* `include_costs`: `typing.Optional[bool]`
* `include_storage_size`: `typing.Optional[bool]`
* `include_total_storage_size`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L315">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallReadRes`

**Pydantic Fields:**

* `call`: `typing.Optional[CallSchema]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L94">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallSchema`

**Pydantic Fields:**

* `id`: `<class 'str'>`
* `project_id`: `<class 'str'>`
* `op_name`: `<class 'str'>`
* `display_name`: `typing.Optional[str]`
* `trace_id`: `<class 'str'>`
* `parent_id`: `typing.Optional[str]`
* `thread_id`: `typing.Optional[str]`
* `turn_id`: `typing.Optional[str]`
* `started_at`: `<class 'datetime.datetime'>`
* `attributes`: `dict[str, typing.Any]`
* `inputs`: `dict[str, typing.Any]`
* `ended_at`: `typing.Optional[datetime.datetime]`
* `exception`: `typing.Optional[str]`
* `output`: `typing.Optional[typing.Any]`
* `summary`: `typing.Optional[SummaryMap]`
* `wb_user_id`: `typing.Optional[str]`
* `wb_run_id`: `typing.Optional[str]`
* `wb_run_step`: `typing.Optional[int]`
* `wb_run_step_end`: `typing.Optional[int]`
* `deleted_at`: `typing.Optional[datetime.datetime]`
* `storage_size_bytes`: `typing.Optional[int]`
* `total_storage_size_bytes`: `typing.Optional[int]`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L146">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `serialize_typed_dicts`

```python theme={null}
serialize_typed_dicts(v: dict[str, Any]) → dict[str, Any]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L272">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallStartReq`

**Pydantic Fields:**

* `start`: `<class 'StartedCallSchemaForInsert'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L276">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallStartRes`

**Pydantic Fields:**

* `id`: `<class 'str'>`
* `trace_id`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L505">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallUpdateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `call_id`: `<class 'str'>`
* `display_name`: `typing.Optional[str]`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L517">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallUpdateRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L319">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsDeleteReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `call_ids`: `list[str]`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L327">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsDeleteRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L397">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsFilter`

**Pydantic Fields:**

* `op_names`: `typing.Optional[list[str]]`
* `input_refs`: `typing.Optional[list[str]]`
* `output_refs`: `typing.Optional[list[str]]`
* `parent_ids`: `typing.Optional[list[str]]`
* `trace_ids`: `typing.Optional[list[str]]`
* `call_ids`: `typing.Optional[list[str]]`
* `thread_ids`: `typing.Optional[list[str]]`
* `turn_ids`: `typing.Optional[list[str]]`
* `trace_roots_only`: `typing.Optional[bool]`
* `wb_user_ids`: `typing.Optional[list[str]]`
* `wb_run_ids`: `typing.Optional[list[str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L420">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `filter`: `typing.Optional[CallsFilter]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`
* `sort_by`: `typing.Optional[list[SortBy]]`
* `query`: `typing.Optional[weave.trace_server.interface.query.Query]`
* `include_costs`: `typing.Optional[bool]`
* `include_feedback`: `typing.Optional[bool]`
* `include_storage_size`: `typing.Optional[bool]`
* `include_total_storage_size`: `typing.Optional[bool]`
* `columns`: `typing.Optional[list[str]]`
* `expand_columns`: `typing.Optional[list[str]]`
* `return_expanded_column_values`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L480">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsQueryRes`

**Pydantic Fields:**

* `calls`: `list[CallSchema]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L484">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsQueryStatsReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `filter`: `typing.Optional[CallsFilter]`
* `query`: `typing.Optional[weave.trace_server.interface.query.Query]`
* `limit`: `typing.Optional[int]`
* `include_total_storage_size`: `typing.Optional[bool]`
* `expand_columns`: `typing.Optional[list[str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L500">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CallsQueryStatsRes`

**Pydantic Fields:**

* `count`: `<class 'int'>`
* `total_storage_size_bytes`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L362">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CompletionsCreateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `inputs`: `<class 'CompletionsCreateRequestInputs'>`
* `wb_user_id`: `typing.Optional[str]`
* `track_llm_call`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L331">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CompletionsCreateRequestInputs`

**Pydantic Fields:**

* `model`: `<class 'str'>`
* `messages`: `<class 'list'>`
* `timeout`: `typing.Union[float, str, NoneType]`
* `temperature`: `typing.Optional[float]`
* `top_p`: `typing.Optional[float]`
* `n`: `typing.Optional[int]`
* `stop`: `typing.Union[str, list, NoneType]`
* `max_completion_tokens`: `typing.Optional[int]`
* `max_tokens`: `typing.Optional[int]`
* `modalities`: `typing.Optional[list]`
* `presence_penalty`: `typing.Optional[float]`
* `frequency_penalty`: `typing.Optional[float]`
* `stream`: `typing.Optional[bool]`
* `logit_bias`: `typing.Optional[dict]`
* `user`: `typing.Optional[str]`
* `response_format`: `typing.Union[dict, type[pydantic.main.BaseModel], NoneType]`
* `seed`: `typing.Optional[int]`
* `tools`: `typing.Optional[list]`
* `tool_choice`: `typing.Union[str, dict, NoneType]`
* `logprobs`: `typing.Optional[bool]`
* `top_logprobs`: `typing.Optional[int]`
* `parallel_tool_calls`: `typing.Optional[bool]`
* `extra_headers`: `typing.Optional[dict]`
* `functions`: `typing.Optional[list]`
* `function_call`: `typing.Optional[str]`
* `api_version`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L371">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CompletionsCreateRes`

**Pydantic Fields:**

* `response`: `dict[str, typing.Any]`
* `weave_call_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1025">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostCreateInput`

**Pydantic Fields:**

* `prompt_token_cost`: `<class 'float'>`
* `completion_token_cost`: `<class 'float'>`
* `prompt_token_cost_unit`: `typing.Optional[str]`
* `completion_token_cost_unit`: `typing.Optional[str]`
* `effective_date`: `typing.Optional[datetime.datetime]`
* `provider_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1044">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostCreateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `costs`: `dict[str, CostCreateInput]`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1051">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostCreateRes`

**Pydantic Fields:**

* `ids`: `list[tuple[str, str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1098">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostPurgeReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `query`: `<class 'weave.trace_server.interface.query.Query'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1103">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostPurgeRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1081">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostQueryOutput`

**Pydantic Fields:**

* `id`: `typing.Optional[str]`
* `llm_id`: `typing.Optional[str]`
* `prompt_token_cost`: `typing.Optional[float]`
* `completion_token_cost`: `typing.Optional[float]`
* `prompt_token_cost_unit`: `typing.Optional[str]`
* `completion_token_cost_unit`: `typing.Optional[str]`
* `effective_date`: `typing.Optional[datetime.datetime]`
* `provider_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1055">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `fields`: `typing.Optional[list[str]]`
* `query`: `typing.Optional[weave.trace_server.interface.query.Query]`
* `sort_by`: `typing.Optional[list[SortBy]]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1094">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `CostQueryRes`

**Pydantic Fields:**

* `results`: `list[CostQueryOutput]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L186">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EndedCallSchemaForInsert`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `id`: `<class 'str'>`
* `ended_at`: `<class 'datetime.datetime'>`
* `exception`: `typing.Optional[str]`
* `output`: `typing.Optional[typing.Any]`
* `summary`: `<class 'SummaryInsertMap'>`
* `wb_run_step_end`: `typing.Optional[int]`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L205">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `serialize_typed_dicts`

```python theme={null}
serialize_typed_dicts(v: dict[str, Any]) → dict[str, Any]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1021">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EnsureProjectExistsRes`

**Pydantic Fields:**

* `project_name`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1203">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluateModelReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `evaluation_ref`: `<class 'str'>`
* `model_ref`: `<class 'str'>`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1213">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluateModelRes`

**Pydantic Fields:**

* `call_id`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1237">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusComplete`

**Pydantic Fields:**

* `code`: `typing.Literal['complete']`
* `output`: `dict[str, typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1232">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusFailed`

**Pydantic Fields:**

* `code`: `typing.Literal['failed']`
* `error`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1222">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusNotFound`

**Pydantic Fields:**

* `code`: `typing.Literal['not_found']`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1217">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `call_id`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1242">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusRes`

**Pydantic Fields:**

* `status`: `typing.Union[EvaluationStatusNotFound, EvaluationStatusRunning, EvaluationStatusFailed, EvaluationStatusComplete]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1226">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `EvaluationStatusRunning`

**Pydantic Fields:**

* `code`: `typing.Literal['running']`
* `completed_rows`: `<class 'int'>`
* `total_rows`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L258">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ExportTracePartialSuccess`

**Pydantic Fields:**

* `rejected_spans`: `<class 'int'>`
* `error_message`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L27">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ExtraKeysTypedDict`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L945">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `Feedback`

**Pydantic Fields:**

* `id`: `<class 'str'>`
* `project_id`: `<class 'str'>`
* `weave_ref`: `<class 'str'>`
* `creator`: `typing.Optional[str]`
* `feedback_type`: `<class 'str'>`
* `payload`: `dict[str, typing.Any]`
* `annotation_ref`: `typing.Optional[str]`
* `runnable_ref`: `typing.Optional[str]`
* `call_ref`: `typing.Optional[str]`
* `trigger_ref`: `typing.Optional[str]`
* `wb_user_id`: `typing.Optional[str]`
* `created_at`: `<class 'datetime.datetime'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L986">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackCreateBatchReq`

**Pydantic Fields:**

* `batch`: `list[FeedbackCreateReq]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L990">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackCreateBatchRes`

**Pydantic Fields:**

* `res`: `list[FeedbackCreateRes]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L900">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackCreateReq`

**Pydantic Fields:**

* `id`: `typing.Optional[str]`
* `project_id`: `<class 'str'>`
* `weave_ref`: `<class 'str'>`
* `creator`: `typing.Optional[str]`
* `feedback_type`: `<class 'str'>`
* `payload`: `dict[str, typing.Any]`
* `annotation_ref`: `typing.Optional[str]`
* `runnable_ref`: `typing.Optional[str]`
* `call_ref`: `typing.Optional[str]`
* `trigger_ref`: `typing.Optional[str]`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L938">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackCreateRes`

**Pydantic Fields:**

* `id`: `<class 'str'>`
* `created_at`: `<class 'datetime.datetime'>`
* `wb_user_id`: `<class 'str'>`
* `payload`: `dict[str, typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L59">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackDict`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L969">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackPurgeReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `query`: `<class 'weave.trace_server.interface.query.Query'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L974">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackPurgeRes`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L951">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `fields`: `typing.Optional[list[str]]`
* `query`: `typing.Optional[weave.trace_server.interface.query.Query]`
* `sort_by`: `typing.Optional[list[SortBy]]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L964">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackQueryRes`

**Pydantic Fields:**

* `result`: `list[dict[str, typing.Any]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L978">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackReplaceReq`

**Pydantic Fields:**

* `id`: `typing.Optional[str]`
* `project_id`: `<class 'str'>`
* `weave_ref`: `<class 'str'>`
* `creator`: `typing.Optional[str]`
* `feedback_type`: `<class 'str'>`
* `payload`: `dict[str, typing.Any]`
* `annotation_ref`: `typing.Optional[str]`
* `runnable_ref`: `typing.Optional[str]`
* `call_ref`: `typing.Optional[str]`
* `trigger_ref`: `typing.Optional[str]`
* `wb_user_id`: `typing.Optional[str]`
* `feedback_id`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L982">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FeedbackReplaceRes`

**Pydantic Fields:**

* `id`: `<class 'str'>`
* `created_at`: `<class 'datetime.datetime'>`
* `wb_user_id`: `<class 'str'>`
* `payload`: `dict[str, typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1004">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FileContentReadReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1013">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FileContentReadRes`

**Pydantic Fields:**

* `content`: `<class 'bytes'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L994">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FileCreateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `name`: `<class 'str'>`
* `content`: `<class 'bytes'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1000">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FileCreateRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1009">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FilesStatsReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1017">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `FilesStatsRes`

**Pydantic Fields:**

* `total_size_bytes`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L382">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ImageGenerationCreateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `inputs`: `<class 'ImageGenerationRequestInputs'>`
* `wb_user_id`: `typing.Optional[str]`
* `track_llm_call`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L392">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ImageGenerationCreateRes`

**Pydantic Fields:**

* `response`: `dict[str, typing.Any]`
* `weave_call_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L376">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ImageGenerationRequestInputs`

**Pydantic Fields:**

* `model`: `<class 'str'>`
* `prompt`: `<class 'str'>`
* `n`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L44">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `LLMCostSchema`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L35">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `LLMUsageSchema`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L553">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjCreateReq`

**Pydantic Fields:**

* `obj`: `<class 'ObjSchemaForInsert'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L557">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjCreateRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L645">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjDeleteReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `object_id`: `<class 'str'>`
* `digests`: `typing.Optional[list[str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L654">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjDeleteRes`

**Pydantic Fields:**

* `num_deleted`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L610">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `filter`: `typing.Optional[ObjectVersionFilter]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`
* `sort_by`: `typing.Optional[list[SortBy]]`
* `metadata_only`: `typing.Optional[bool]`
* `include_storage_size`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L658">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjQueryRes`

**Pydantic Fields:**

* `objs`: `list[ObjSchema]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L561">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjReadReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `object_id`: `<class 'str'>`
* `digest`: `<class 'str'>`
* `metadata_only`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L573">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjReadRes`

**Pydantic Fields:**

* `obj`: `<class 'ObjSchema'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L210">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjSchema`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `object_id`: `<class 'str'>`
* `created_at`: `<class 'datetime.datetime'>`
* `deleted_at`: `typing.Optional[datetime.datetime]`
* `digest`: `<class 'str'>`
* `version_index`: `<class 'int'>`
* `is_latest`: `<class 'int'>`
* `kind`: `<class 'str'>`
* `base_object_class`: `typing.Optional[str]`
* `leaf_object_class`: `typing.Optional[str]`
* `val`: `typing.Any`
* `wb_user_id`: `typing.Optional[str]`
* `size_bytes`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L227">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjSchemaForInsert`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `object_id`: `<class 'str'>`
* `val`: `typing.Any`
* `builtin_object_class`: `typing.Optional[str]`
* `set_base_object_class`: `typing.Optional[str]`
* `wb_user_id`: `typing.Optional[str]`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L239">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `model_post_init`

```python theme={null}
model_post_init(_ObjSchemaForInsert__context: Any) → None
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L577">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ObjectVersionFilter`

**Pydantic Fields:**

* `base_object_classes`: `typing.Optional[list[str]]`
* `exclude_base_object_classes`: `typing.Optional[list[str]]`
* `leaf_object_classes`: `typing.Optional[list[str]]`
* `object_ids`: `typing.Optional[list[str]]`
* `is_op`: `typing.Optional[bool]`
* `latest_only`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L521">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpCreateReq`

**Pydantic Fields:**

* `op_obj`: `<class 'ObjSchemaForInsert'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L525">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpCreateRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L544">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `filter`: `typing.Optional[OpVersionFilter]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L549">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpQueryRes`

**Pydantic Fields:**

* `op_objs`: `list[ObjSchema]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L529">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpReadReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `name`: `<class 'str'>`
* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L535">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpReadRes`

**Pydantic Fields:**

* `op_obj`: `<class 'ObjSchema'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L539">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OpVersionFilter`

**Pydantic Fields:**

* `op_names`: `typing.Optional[list[str]]`
* `latest_only`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L250">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OtelExportReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `traces`: `typing.Any`
* `wb_user_id`: `typing.Optional[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L265">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `OtelExportRes`

**Pydantic Fields:**

* `partial_success`: `typing.Optional[ExportTracePartialSuccess]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1118">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ProjectStatsReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `include_trace_storage_size`: `typing.Optional[bool]`
* `include_object_storage_size`: `typing.Optional[bool]`
* `include_table_storage_size`: `typing.Optional[bool]`
* `include_file_storage_size`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1126">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ProjectStatsRes`

**Pydantic Fields:**

* `trace_storage_size_bytes`: `<class 'int'>`
* `objects_storage_size_bytes`: `<class 'int'>`
* `tables_storage_size_bytes`: `<class 'int'>`
* `files_storage_size_bytes`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L892">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `RefsReadBatchReq`

**Pydantic Fields:**

* `refs`: `list[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L896">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `RefsReadBatchRes`

**Pydantic Fields:**

* `vals`: `list[typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L411">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `SortBy`

**Pydantic Fields:**

* `field`: `<class 'str'>`
* `direction`: `typing.Literal['asc', 'desc']`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L154">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `StartedCallSchemaForInsert`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `id`: `typing.Optional[str]`
* `op_name`: `<class 'str'>`
* `display_name`: `typing.Optional[str]`
* `trace_id`: `typing.Optional[str]`
* `parent_id`: `typing.Optional[str]`
* `thread_id`: `typing.Optional[str]`
* `turn_id`: `typing.Optional[str]`
* `started_at`: `<class 'datetime.datetime'>`
* `attributes`: `dict[str, typing.Any]`
* `inputs`: `dict[str, typing.Any]`
* `wb_user_id`: `typing.Optional[str]`
* `wb_run_id`: `typing.Optional[str]`
* `wb_run_step`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L85">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `SummaryInsertMap`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L90">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `SummaryMap`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L730">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableAppendSpec`

**Pydantic Fields:**

* `append`: `<class 'TableAppendSpecPayload'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L726">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableAppendSpecPayload`

**Pydantic Fields:**

* `row`: `dict[str, typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L666">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableCreateFromDigestsReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `row_digests`: `list[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L671">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableCreateFromDigestsRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L662">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableCreateReq`

**Pydantic Fields:**

* `table`: `<class 'TableSchemaForInsert'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L782">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableCreateRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`
* `row_digests`: `list[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L747">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableInsertSpec`

**Pydantic Fields:**

* `insert`: `<class 'TableInsertSpecPayload'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L742">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableInsertSpecPayload`

**Pydantic Fields:**

* `index`: `<class 'int'>`
* `row`: `dict[str, typing.Any]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L738">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TablePopSpec`

**Pydantic Fields:**

* `pop`: `<class 'TablePopSpecPayload'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L734">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TablePopSpecPayload`

**Pydantic Fields:**

* `index`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L811">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `digest`: `<class 'str'>`
* `filter`: `typing.Optional[TableRowFilter]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`
* `sort_by`: `typing.Optional[list[SortBy]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L846">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryRes`

**Pydantic Fields:**

* `rows`: `list[TableRowSchema]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L859">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryStatsBatchReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `digests`: `typing.Optional[list[str]]`
* `include_storage_size`: `typing.Optional[bool]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L888">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryStatsBatchRes`

**Pydantic Fields:**

* `tables`: `list[TableStatsRow]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L850">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryStatsReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `digest`: `<class 'str'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L878">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableQueryStatsRes`

**Pydantic Fields:**

* `count`: `<class 'int'>`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L798">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableRowFilter`

**Pydantic Fields:**

* `row_digests`: `typing.Optional[list[str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L776">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableRowSchema`

**Pydantic Fields:**

* `digest`: `<class 'str'>`
* `val`: `typing.Any`
* `original_index`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L245">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableSchemaForInsert`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `rows`: `list[dict[str, typing.Any]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L882">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableStatsRow`

**Pydantic Fields:**

* `count`: `<class 'int'>`
* `digest`: `<class 'str'>`
* `storage_size_bytes`: `typing.Optional[int]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L754">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableUpdateReq`

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `base_digest`: `<class 'str'>`
* `updates`: `list[typing.Union[TableAppendSpec, TablePopSpec, TableInsertSpec]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L760">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TableUpdateRes`

**Pydantic Fields:**

* `digest`: `<class 'str'>`
* `updated_row_digests`: `list[str]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1136">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ThreadSchema`

**Pydantic Fields:**

* `thread_id`: `<class 'str'>`
* `turn_count`: `<class 'int'>`
* `start_time`: `<class 'datetime.datetime'>`
* `last_updated`: `<class 'datetime.datetime'>`
* `first_turn_id`: `typing.Optional[str]`
* `last_turn_id`: `typing.Optional[str]`
* `p50_turn_duration_ms`: `typing.Optional[float]`
* `p99_turn_duration_ms`: `typing.Optional[float]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1159">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ThreadsQueryFilter`

**Pydantic Fields:**

* `after_datetime`: `typing.Optional[datetime.datetime]`
* `before_datetime`: `typing.Optional[datetime.datetime]`
* `thread_ids`: `typing.Optional[list[str]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1177">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `ThreadsQueryReq`

Query threads with aggregated statistics based on turn calls only.

Turn calls are the immediate children of thread contexts (where call.id == turn\_id). This provides meaningful conversation-level statistics rather than including all nested implementation details.

**Pydantic Fields:**

* `project_id`: `<class 'str'>`
* `filter`: `typing.Optional[ThreadsQueryFilter]`
* `limit`: `typing.Optional[int]`
* `offset`: `typing.Optional[int]`
* `sort_by`: `typing.Optional[list[SortBy]]`

***

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1251">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TraceServerInterface`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1320">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `actions_execute_batch`

```python theme={null}
actions_execute_batch(req: ActionsExecuteBatchReq) → ActionsExecuteBatchRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1262">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `call_end`

```python theme={null}
call_end(req: CallEndReq) → CallEndRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1263">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `call_read`

```python theme={null}
call_read(req: CallReadReq) → CallReadRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1261">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `call_start`

```python theme={null}
call_start(req: CallStartReq) → CallStartRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1269">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `call_start_batch`

```python theme={null}
call_start_batch(req: CallCreateBatchReq) → CallCreateBatchRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1268">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `call_update`

```python theme={null}
call_update(req: CallUpdateReq) → CallUpdateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1266">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `calls_delete`

```python theme={null}
calls_delete(req: CallsDeleteReq) → CallsDeleteRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1264">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `calls_query`

```python theme={null}
calls_query(req: CallsQueryReq) → CallsQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1267">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `calls_query_stats`

```python theme={null}
calls_query_stats(req: CallsQueryStatsReq) → CallsQueryStatsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1265">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `calls_query_stream`

```python theme={null}
calls_query_stream(req: CallsQueryReq) → Iterator[CallSchema]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1325">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `completions_create`

```python theme={null}
completions_create(req: CompletionsCreateReq) → CompletionsCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1331">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `completions_create_stream`

```python theme={null}
completions_create_stream(req: CompletionsCreateReq) → Iterator[dict[str, Any]]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1277">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `cost_create`

```python theme={null}
cost_create(req: CostCreateReq) → CostCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1279">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `cost_purge`

```python theme={null}
cost_purge(req: CostPurgeReq) → CostPurgeRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1278">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `cost_query`

```python theme={null}
cost_query(req: CostQueryReq) → CostQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1252">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `ensure_project_exists`

```python theme={null}
ensure_project_exists(entity: str, project: str) → EnsureProjectExistsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1347">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `evaluate_model`

```python theme={null}
evaluate_model(req: EvaluateModelReq) → EvaluateModelRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1348">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `evaluation_status`

```python theme={null}
evaluation_status(req: EvaluationStatusReq) → EvaluationStatusRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1310">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `feedback_create`

```python theme={null}
feedback_create(req: FeedbackCreateReq) → FeedbackCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1311">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `feedback_create_batch`

```python theme={null}
feedback_create_batch(req: FeedbackCreateBatchReq) → FeedbackCreateBatchRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1316">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `feedback_purge`

```python theme={null}
feedback_purge(req: FeedbackPurgeReq) → FeedbackPurgeRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1315">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `feedback_query`

```python theme={null}
feedback_query(req: FeedbackQueryReq) → FeedbackQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1317">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `feedback_replace`

```python theme={null}
feedback_replace(req: FeedbackReplaceReq) → FeedbackReplaceRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1306">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `file_content_read`

```python theme={null}
file_content_read(req: FileContentReadReq) → FileContentReadRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1305">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `file_create`

```python theme={null}
file_create(req: FileCreateReq) → FileCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1307">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `files_stats`

```python theme={null}
files_stats(req: FilesStatsReq) → FilesStatsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1336">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `image_create`

```python theme={null}
image_create(req: ImageGenerationCreateReq) → ImageGenerationCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1282">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `obj_create`

```python theme={null}
obj_create(req: ObjCreateReq) → ObjCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1285">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `obj_delete`

```python theme={null}
obj_delete(req: ObjDeleteReq) → ObjDeleteRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1283">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `obj_read`

```python theme={null}
obj_read(req: ObjReadReq) → ObjReadRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1284">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `objs_query`

```python theme={null}
objs_query(req: ObjQueryReq) → ObjQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1272">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `op_create`

```python theme={null}
op_create(req: OpCreateReq) → OpCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1273">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `op_read`

```python theme={null}
op_read(req: OpReadReq) → OpReadRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1274">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `ops_query`

```python theme={null}
ops_query(req: OpQueryReq) → OpQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1258">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `otel_export`

```python theme={null}
otel_export(req: OtelExportReq) → OtelExportRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1341">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `project_stats`

```python theme={null}
project_stats(req: ProjectStatsReq) → ProjectStatsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1302">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `refs_read_batch`

```python theme={null}
refs_read_batch(req: RefsReadBatchReq) → RefsReadBatchRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1288">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_create`

```python theme={null}
table_create(req: TableCreateReq) → TableCreateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1289">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_create_from_digests`

```python theme={null}
table_create_from_digests(
    req: TableCreateFromDigestsReq
) → TableCreateFromDigestsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1294">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_query`

```python theme={null}
table_query(req: TableQueryReq) → TableQueryRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1296">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_query_stats`

```python theme={null}
table_query_stats(req: TableQueryStatsReq) → TableQueryStatsRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1297">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_query_stats_batch`

```python theme={null}
table_query_stats_batch(req: TableQueryStatsBatchReq) → TableQueryStatsBatchRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1295">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_query_stream`

```python theme={null}
table_query_stream(req: TableQueryReq) → Iterator[TableRowSchema]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1293">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `table_update`

```python theme={null}
table_update(req: TableUpdateReq) → TableUpdateRes
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L1344">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

### <kbd>method</kbd> `threads_query_stream`

```python theme={null}
threads_query_stream(req: ThreadsQueryReq) → Iterator[ThreadSchema]
```

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L69">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `TraceStatus`

***

<a href="https://github.com/wandb/weave/blob/0.52.10/weave/trace_server/trace_server_interface.py#L76">
  <img align="right" src="https://img.shields.io/badge/-source-cccccc?style=flat-square" />
</a>

## <kbd>class</kbd> `WeaveSummarySchema`
