How i can do this quey in prisma

I need your help… I have an example:

{
  "id": "1",
  "name": "something",
  "history": [
    {"id": "1", "date": "example", "value": "example"},
    {"id": "2", "date": "example", "value": "example"},
    {"id": "3", "date": "example", "value": "example"},
    {"id": "4", "date": "example", "value": "example"},
    {"id": "5", "date": "example", "value": "example"},
  ]
}

I’m using a query in the prisma that is returning an array with several of these objects…
so I need it to only return in the history.. the last one that was added, for example like this

{
  "id": "1",
  "name": "something",
  "history": [
    {"id": "5", "date": "example", "value": "example"},
  ]
}

Does anyone know a query in the prisma that can do this?

help me guys you are my only chance