How to get Adjustment Layer info?

const result = await batchPlay(

      [

         {

            "_obj": "get",

            "_target": [

               {

                  "_ref": "adjustmentLayer"

               }

            ],

            "_isCommand": false,

            "_options": {

               "dialogOptions": "dontDisplay"

            }

         }

      ],{

         "synchronousExecution": false,

         "modalBehavior": "fail"

      });

my code is not working

You’re missing which layer. Is it active layer?

"_target": [
  {
    "_ref": "layer",
    "_enum": "ordinal",
    "_value": "targetEnum"
  }
]

Or a specific by ID?

"_target": [
  {
    "_ref": "layer",
    "_id": layerID
  }
]

Yes Is it active layer!