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

# LogSpanOtherContent

# LogSpanOtherContent

Catch-all content type for any operation that does not fit the other span categories.

## Overview

`LogSpanOtherContent` is a general-purpose span type for operations that don't map to Model, ModelStream, Embeddings, Function, Tool, Guardrail, or Retrieval. It is wrapped in a [LogSpanContent](/docs/reference/sdk/v2/python/types/LogSpanContent) union via the `actual_instance` pattern.

```python theme={null}
from adaline_api.models.log_span_other_content import LogSpanOtherContent
```

***

## Fields

<ParamField body="type" type="str" required>
  Must be `"Other"`.
</ParamField>

<ParamField body="input" type="str" required>
  The input payload as a JSON string. Must be valid, parseable JSON (the result of `json.dumps()`).
</ParamField>

<ParamField body="output" type="str" required>
  The output payload as a JSON string. Must be valid, parseable JSON (the result of `json.dumps()`).
</ParamField>

***

## Construction Pattern

All span content is wrapped in [LogSpanContent](/docs/reference/sdk/v2/python/types/LogSpanContent) using the `actual_instance` parameter:

```python theme={null}
from adaline_api.models.log_span_content import LogSpanContent
from adaline_api.models.log_span_other_content import LogSpanOtherContent

content = LogSpanContent(
    actual_instance=LogSpanOtherContent(
        type="Other",
        input=json.dumps({"key": "value"}),
        output=json.dumps({"result": "ok"}),
    )
)
```

***

## Example

```python theme={null}
import json
from adaline_api.models.log_span_content import LogSpanContent
from adaline_api.models.log_span_other_content import LogSpanOtherContent

other_input = {"operation": "cache_refresh", "keys": ["user:123", "user:456"]}
other_output = {"refreshed": 2, "failed": 0}

span.update({
    "status": "success",
    "content": LogSpanContent(
        actual_instance=LogSpanOtherContent(
            type="Other",
            input=json.dumps(other_input),
            output=json.dumps(other_output),
        )
    ),
})
```
