# Oscu

## Retrieve Prices

`oscu.retrieve_prices()  -> OscuRetrievePricesResponse`

**get** `/oscu/prices`

Get the public Prepaid Compute Units (or OSCU for One Shot Compute Units) price details

### Returns

- `class OscuRetrievePricesResponse: …`

  - `prices: List[Price]`

    - `creative_units: Optional[float]`

    - `currency: Optional[str]`

    - `expires: Optional[float]`

    - `unit_amount: Optional[float]`

### Example

```python
import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
response = client.oscu.retrieve_prices()
print(response.prices)
```

#### Response

```json
{
  "prices": [
    {
      "creativeUnits": 0,
      "currency": "currency",
      "expires": 0,
      "unitAmount": 0
    }
  ]
}
```

## Domain Types

### Oscu Retrieve Prices Response

- `class OscuRetrievePricesResponse: …`

  - `prices: List[Price]`

    - `creative_units: Optional[float]`

    - `currency: Optional[str]`

    - `expires: Optional[float]`

    - `unit_amount: Optional[float]`
