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

# Product Service

> Product Service API methods in the Galtea SDK

> [!WARNING]
>
> You are reading the docs of Galtea 5.17. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/product/service.md).

The Product Service in the Galtea SDK allows you to manage [products](https://docs.galtea.ai/v5.17/concepts/product.md) that you want to evaluate.
This Service is exposed by the `galtea.products` object.

> [!NOTE]
>
> Remember that we will be using the `galtea` object. More information [here](https://docs.galtea.ai/v5.17/sdk/api/galtea.md).

> [!NOTE]
>
> Product registration isn't supported via the SDK, so you'll need to do this from the [dashboard](https://platform.galtea.ai/).

## Quick Example

First, initialize the Galtea SDK:

```python theme={"system"}
galtea = Galtea(api_key="YOUR_API_KEY")
```

List all products:

```python theme={"system"}
products = galtea.products.list(limit=10)
```

Get a product by ID:

```python theme={"system"}
product = galtea.products.get(product_id=product_id)
```

Get a product by name:

```python theme={"system"}
product = galtea.products.get_by_name(name=product_name)
```

> [!NOTE]
>
> Products must be registered through the [Galtea Dashboard](https://platform.galtea.ai/product-new). The SDK provides read-only access.

## Service Methods

* [Listing Products](https://docs.galtea.ai/v5.17/sdk/api/product/list.md)
* [Retrieving Product](https://docs.galtea.ai/v5.17/sdk/api/product/get.md)
* [Retrieving Product By Name](https://docs.galtea.ai/v5.17/sdk/api/product/get-by-name.md)
* [Deleting Product](https://docs.galtea.ai/v5.17/sdk/api/product/delete.md)

## Related

> [card] [Product](https://docs.galtea.ai/v5.17/concepts/product.md)
>
> A functionality or service being evaluated


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.