Get Datastream Values

When I used api path to get data stream from device, the result was like:

{
  "v0": -26.7170216,
  "v1": -126.712442,
  "v160": 15000,
  "v164": 0,
  "v169": 10 }

but when I used api to get historical data from device, the result was like:

{
	"meta":
	[
		{
			"name": "data_stream_name",
			"type": "String"
		},
		{
			"name": "ts",
			"type": "String"
		},
		{
			"name": "value",
			"type": "Float64"
		}
	],

	"data":
	[
		{
			"data_stream_name": "L01",
			"ts": "2024-07-28 07:14:00",
			"value": 27
		}]

How can I get ‘data_stream_name’ within the data stream result like historical ?