# Govern Time series[¶](https://developer.dataiku.com/latest/concepts-and-examples/govern/govern-time-series.html#govern-time-series "Permalink to this heading")

Time series data can be stored in artifacts.

## Retrieve time series data[¶](https://developer.dataiku.com/latest/concepts-and-examples/govern/govern-time-series.html#retrieve-time-series-data "Permalink to this heading")

§ import dataikuapi

§ host = "http(s)://DSS\_HOST:DSS\_PORT"

§ apiKey = "Your API key secret"

§ client = dataikuapi.GovernClient(host, apiKey)

§ # retrieve a specific artifact of type dataiku model version by its ID

§ artifact = client.get\_artifact('ar.1773')

§ # get the time series ID from a field

§ ts = client.get\_time\_series(artifact.get\_definition().get\_raw()['fields']['evaluation\_metrics\_auc'])

§ # get the time series values

§ values = ts.get\_values()

## Reference API doc[¶](https://developer.dataiku.com/latest/concepts-and-examples/govern/govern-time-series.html#reference-api-doc "Permalink to this heading")

|  |  |

| --- | --- |

| `dataikuapi.govern.time\_series.GovernTimeSeries`(...) | A handle to interact with a time series. |
