For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/signals/applications/services.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/signals/llms.txt.
Define services
Services group attribute groups together for serving to your applications. They provide a stable interface for retrieving attributes: we strongly recommend using services in production applications.
The Node.js SDK reads services but can't create them. Use Console or the Python SDK to define services.
A service can include both stream attribute groups and warehouse attribute groups. If they use the same attribute key, one request to the service returns the real-time and warehouse attributes for that user together.
- Console
- Python SDK
To create a service, go to Signals > Services in Snowplow Console and follow the instructions.

To configure a service, you'll need to specify:
- A unique name
- An optional description
- The email address of the primary owner or maintainer
- Which attribute groups to include
Use the Service class to define a service. You can refer to attribute groups either by passing the objects directly, or by name and version using a dictionary:
from snowplow_signals import Service
# Refer to attribute groups by name and version
my_service = Service(
name='my_service',
description='A collection of attribute groups',
owner="user@company.com",
attribute_groups=[
{"name": "user_attributes", "version": 2},
{"name": "session_attributes", "version": 1},
],
)
# Or pass the objects directly
my_service = Service(
name='my_service',
description='A collection of attribute groups',
owner="user@company.com",
attribute_groups=[
my_attribute_group,
another_attribute_group,
],
)
This table lists all available arguments for a Service:
| Argument | Description | Type | Required? |
|---|---|---|---|
name | The name of the service | string | ✅ |
description | A description of the service | string | ❌ |
owner | The owner of the service | string | ✅ |
attribute_groups | List of attribute groups with optional version specification | list of AttributeGroup or dict | ❌ |
access_mode | Who can read the service: authenticated (the default) or public. See Control who can read a service | string | ❌ |
Versioning
When choosing which attribute groups to include, you'll select a specific version of each attribute group.
Services themselves are not versioned. You can update them to use different attribute groups, or different attribute group versions, at any time.
- Console
- Python SDK

Specify the version of each attribute group in the attribute_groups list using a dictionary with name and version keys, or by using a versioned AttributeGroup object directly.
Control who can read a service
Each service has an access mode that decides who can read its attributes:
authenticated: reading the service requires a Snowplow API token, so only your own backend can read it. This is the default.public: websites and apps can also read the service directly, without a token, for one identifier at a time. See Read attributes from websites and apps.
Use a public service when you want to personalize a page or screen with the current user's attributes, without building a backend to hold the API token and proxy the request.
Anyone who has an identifier, such as a user's domain_userid, can read that user's attributes from a public service. Every attribute group in the service is exposed. Only make a service public if all of its attributes are safe to show to the user they describe, and are keyed by an identifier the browser or device already holds, such as domain_userid or client_session_user_id. Don't include personal or sensitive data in a public service.
Signals only answers public reads for identifiers in UUID format, which can't be guessed or enumerated. A public service can still be read with an API token, in the same way as any other service.
- Console
- Python SDK
Choose the access mode in the Access section of the service form: Private or Public. Choosing Public opens a confirmation dialog that describes what becomes readable. Click Make public to confirm.
Public services show a Public badge in the services list and on the service details page. In the attribute groups tables, the badge also marks every attribute group that's part of a public service.
Set access_mode to public when defining the service. This needs version 0.4.13 or later of the Python SDK.
from snowplow_signals import Service
my_public_service = Service(
name='my_public_service',
owner="user@company.com",
attribute_groups=[
{"name": "page_engagement", "version": 1},
],
access_mode="public",
)
sp_signals.publish([my_public_service])
To make a public service private again, publish it with access_mode="authenticated".
Changes to the access mode take effect within a few seconds of publishing the service.
Manage services
- Console
- Python SDK
Services are automatically published as soon as they're created. They're a wrapper for consuming calculated attributes, and don't cause any additional processing themselves.
To edit a service definition, go to the service details page and click the Edit button.
To delete a service, go to the service details page and click the ⋮ button, then choose Delete.

Use publish() to register services with Signals.
import os
from snowplow_signals import Signals
sp_signals = Signals(
api_url=os.environ["SIGNALS_API_URL"],
api_key=os.environ["SNOWPLOW_API_KEY"],
api_key_id=os.environ["SNOWPLOW_API_KEY_ID"],
org_id=os.environ["SNOWPLOW_ORG_ID"],
)
# my_service and my_other_service: services defined as in Create a service
sp_signals.publish([
my_service,
my_other_service,
])