Collection exclude fields

Hey, new to Cockpit and attempting to create a simple collection that outputs its response via JSON. I’ve managed to get the collection outputting however, it’s including all the extra fields that are not needed. How can I simplify the output to only contain the data that’s needed? In the example below I’d only need the name and ID, not the rest - Thanks

Also, to clarify I don’t need front end logic :slight_smile:

  "fields": {
    "name": {
      "name": "name",
      "type": "text",
      "localize": false,
      "options": []
  "entries": [
      "name": "Test 1",
      "_mby": "660f0251383462e460000106",
      "_by": "660f0251383462e460000106",
      "_modified": 1638271909,
      "_created": 1638271909,
      "_id": "6626ede866333931ea00024b"

I feel like this is a bit hacky, you can filter fields via URL like




There are two more methods to achieve it.


If you only want to grab a few fields, you can use graphql addon of Cockpit called CockpitQL


You can modify the entry fields with this below method.