Catalog/data-transform-deep-pick

Data Transform

Deep pick paths API

Builds a new object containing only the listed dot-paths, reconstructing the nesting for each kept value. Answers 'How do I keep only specific nested fields?', 'How do I project a subset of deep JSON?'.

Price$0.01per request
MethodPOST
Route/v1/data-transform/deep-pick
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
data-transformpickjsonpathprojectsubsetwrangle
API URLhttps://x402.hexl.dev/v1/data-transform/deep-pick
Integration docs
Example request
{
  "object": {
    "a": {
      "b": 1,
      "c": 2
    },
    "d": 3
  },
  "paths": [
    "a.b",
    "d"
  ]
}
Example response
{
  "result": {
    "a": {
      "b": 1
    },
    "d": 3
  }
}
Input schema
{
  "type": "object",
  "required": [
    "object",
    "paths"
  ],
  "properties": {
    "object": {
      "type": "object",
      "examples": [
        {
          "a": {
            "b": 1,
            "c": 2
          },
          "d": 3
        }
      ]
    },
    "paths": {
      "type": "array",
      "examples": [
        [
          "a.b",
          "d"
        ]
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}