> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PipelineStage - Python SDK

> PipelineStage method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## Fields

| Field             | Type                                                                                           | Required             | Description                                                                                                                                                                          | Example   |
| ----------------- | ---------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------- |
| `cost_usd`        | *OptionalNullable\[float]*                                                                     | :heavy\_minus\_sign: | N/A                                                                                                                                                                                  |           |
| `data`            | Dict\[str, *Nullable\[Any]*]                                                                   | :heavy\_minus\_sign: | N/A                                                                                                                                                                                  |           |
| `guardrail_id`    | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A                                                                                                                                                                                  |           |
| `guardrail_scope` | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A                                                                                                                                                                                  |           |
| `name`            | *str*                                                                                          | :heavy\_check\_mark: | N/A                                                                                                                                                                                  |           |
| `summary`         | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A                                                                                                                                                                                  |           |
| `type`            | [components.PipelineStageType](/client-sdks/python/api-reference/components/pipelinestagetype) | :heavy\_check\_mark: | Categorical kind of a pipeline stage. Multiple plugins can share a type (e.g. all guardrail-level plugins emit `guardrail`); the `name` field disambiguates which plugin emitted it. | guardrail |
