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

# Client.Datapoints.GetInto

```go theme={"system"}
func (datapointClient) GetInto(
  ctx context.Context,
  datasetID uuid.UUID,
  datapointID uuid.UUID,
  datapoint proto.Message,
  options ...QueryOption,
) error
```

Get a datapoint by its ID from one or more collections of the same dataset.

The data point is stored in the `datapoint` parameter.

## Parameters

<ParamField path="datasetID" type="uuid.UUID">
  The ID of the dataset to query.
</ParamField>

<ParamField path="datapointID" type="uuid.UUID">
  The id of the datapoint to query
</ParamField>

<ParamField path="datapoint" type="proto.Message">
  The datapoint to query into
</ParamField>

<ParamField path="options" type="[]QueryOption">
  Options for querying data points.
</ParamField>

## Options

<ParamField path="WithCollections(collections ...*datasets.Collection)">
  Restrict the lookup to specific dataset collections by collection object.
</ParamField>

<ParamField path="WithCollectionIDs(collectionIDs ...uuid.UUID)">
  Restrict the lookup to specific dataset collections by collection ID.
</ParamField>

<ParamField path="WithSkipData()" default="false">
  Skip the data when querying datapoint.
  If set, only the required and auto-generated fields will be returned.
</ParamField>

## Returns

An error if data point could not be queried.

<RequestExample>
  ```go Go theme={"system"}
  var datapoint v1.Sentinel1Sar
  err = client.Datapoints.GetInto(ctx,
    dataset.ID,
    datapointID,
    &datapoint,
    datasets.WithCollectionIDs(collection.ID),
  )
  ```
</RequestExample>
