landfeedAPI · MCP · 2.1.0Agent Markdown

GET /v1/saved-searches/{saved_search_id}

Odczyt zapisanych wyszukiwań

Operation ID: store_saved_search_get.

Description

not specified in the source contract

Cost

x-request-cost: 0 requests per call.

Inputs

Declared path/query inputs: saved_search_id.

q | id | point | lat+lng at operation level: not specified in the source contract. See declared parameters and request body.

Parameters

NameInRequiredSchemaDescription
saved_search_idpathtrue{"maxLength": 256, "minLength": 1, "type": "string"}not specified in the source contract

Operation credit rule

See prices.json; unavailable/error outcomes consume zero credits.

Authentication

[
  {
    "ApiKey": []
  },
  {
    "OAuthConnector": []
  }
]
{
  "ApiKey": {
    "description": "Klucz API konta korzystający z tych samych kredytów co wywołania przez połączenie OAuth.",
    "in": "header",
    "name": "X-Api-Key",
    "type": "apiKey"
  },
  "OAuthConnector": {
    "bearerFormat": "OAuth 2.1 access token",
    "description": "Autoryzacja połączenia OAuth ze wspólnymi kredytami konta. Wykrywanie konfiguracji i zgodę obsługuje usługa uwierzytelniania.",
    "scheme": "bearer",
    "type": "http"
  }
}

Responses

StatusDescriptionBilling rule
200Wynik operacji w standardowej kopercie odpowiedzi.free_operation
400Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.free_invalid_input
401Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.free_unauthorized
402Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.refunded_client_error
403Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.refunded_client_error
404Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.refunded_client_error
429Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.refunded_client_error
503Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.refunded_server_error

HTTP 200: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "allOf": [
          {
            "$ref": "./envelope.json"
          },
          {
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "$ref": "./envelope.json#/$defs/SavedSearchV5"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            }
          }
        ]
      }
    }
  },
  "description": "Wynik operacji w standardowej kopercie odpowiedzi."
}

HTTP 400: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 401: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 402: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 403: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 404: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 429: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

HTTP 503: headers and body schemas

{
  "content": {
    "application/json": {
      "schema": {
        "$ref": "./envelope.json"
      }
    }
  },
  "description": "Odpowiedź Envelope ze statusem not_found lub error, result=null i wypełnionym error (hint, docs, example_id przy danych wejściowych dotyczących działki; signup_url przy HTTP 401). Zwrot opłaty albo bezpłatne przy HTTP 401.",
  "headers": {
    "Cache-Control": {
      "$ref": "#/components/headers/CacheControl"
    },
    "ETag": {
      "$ref": "#/components/headers/ETag"
    },
    "X-Credits-Charged": {
      "$ref": "#/components/headers/XCreditsCharged"
    },
    "X-Credits-Refunded": {
      "$ref": "#/components/headers/XCreditsRefunded"
    },
    "X-Request-Cost": {
      "$ref": "#/components/headers/XRequestCost"
    }
  }
}

Layer answers and value schemas

When a response includes layer answers, their common frame is:

{
  "additionalProperties": false,
  "allOf": [
    {
      "else": {
        "properties": {
          "value": {
            "type": "object"
          }
        }
      },
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "not_covered",
              "not_computed"
            ]
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "type": "null"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/MpzpValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "reason": {
            "const": "licence_unverified"
          }
        },
        "required": [
          "reason"
        ]
      },
      "then": {
        "properties": {
          "coverage": {
            "const": "not_covered"
          },
          "layer": {
            "enum": [
              "soil",
              "utilities",
              "neighbour_land_use"
            ]
          },
          "value": {
            "type": "null"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "heritage"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/HeritageValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "noise"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/NoiseValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "forests"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/ForestsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "power_lines"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PowerLinesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "pipelines"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PipelinesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "listings"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/ListingsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp_parameters"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/MpzpParametersValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "geology"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GeologyValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "ground_motion"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GroundMotionValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "asbestos"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AsbestosValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "land_cover"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/LandCoverValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "air_quality"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AirQualityValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "night_light"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/NightLightValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "railways"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RailwaysValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "wind_turbines"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/WindTurbinesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "airports"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AirportsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "industrial_facilities"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/IndustrialFacilitiesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "radio_permits"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RadioPermitsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "population"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PopulationValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "terrain"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/TerrainValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "solar_potential"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/SolarPotentialValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "property_tax"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PropertyTaxValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "gmina_statistics"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GminaStatisticsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "buildings"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/BuildingsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "buildable_envelope"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/BuildableEnvelopeValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "flood"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/FloodValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "protected"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/ProtectedValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "permits"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PermitsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "layer": {
            "const": "buildable_envelope"
          }
        },
        "required": [
          "layer"
        ]
      },
      "then": {
        "properties": {
          "method": {
            "const": "computed"
          },
          "scope": {
            "const": "parcel_polygon"
          }
        },
        "required": [
          "licence",
          "scope",
          "method"
        ]
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "soil"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/SoilValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "utilities"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/UtilitiesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "neighbour_land_use"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/NeighbourLandUseValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "climate"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/ClimateValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "cell_sites"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/CellSitesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "source": {
            "properties": {
              "date_evidence": {
                "const": "undated_retrieved"
              }
            },
            "required": [
              "date_evidence"
            ]
          }
        }
      },
      "then": {
        "properties": {
          "as_of": {
            "type": "null"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp_evidence"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "as_of": {
            "type": "null"
          },
          "coverage": {
            "const": "covered"
          },
          "source": {
            "properties": {
              "as_of": {
                "type": "null"
              },
              "id": {
                "const": "mpzp_app"
              }
            }
          },
          "value": {
            "$ref": "#/$defs/MpzpEvidenceValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp_registry"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "as_of": {
            "type": "null"
          },
          "coverage": {
            "const": "covered"
          },
          "source": {
            "properties": {
              "as_of": {
                "type": "null"
              },
              "id": {
                "const": "mpzp_app"
              }
            }
          },
          "value": {
            "$ref": "#/$defs/MpzpRegistryValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "population_neighbourhood"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PopulationNeighbourhoodValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "rail_context"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RailContextValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mobile_observations"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/MobileObservationsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "nearby_places"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/NearbyPlacesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "poi_density"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PoiDensityValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "green_context"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GreenContextValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "layer": {
            "const": "market_context"
          }
        },
        "required": [
          "layer"
        ]
      },
      "then": {
        "properties": {
          "as_of": {
            "type": "null"
          },
          "source": {
            "properties": {
              "as_of": {
                "type": "null"
              }
            }
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "market_context"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "coverage": {
            "const": "covered"
          },
          "value": {
            "$ref": "#/$defs/MarketContextValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "road_geometry"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RoadGeometryValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "building_context"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/BuildingContextValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "power_corridor"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PowerCorridorValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "turbine_buffer"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/TurbineBufferValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "geo_units"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GeographicUnitsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "solar_irradiation"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/SolarIrradiationValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "wind_speed_100m"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/WindSpeed100mValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp_zones"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/MpzpZonesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "road_access"
          }
        },
        "required": [
          "layer",
          "coverage"
        ]
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RoadAccessValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "gmina_demographics"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/GminaDemographicsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "powiat_statistics"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PowiatStatisticsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "police_crime_rates"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PoliceCrimeRatesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "road_danger_points"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/RoadDangerPointsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "fixed_broadband"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/FixedBroadbandValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "urban_atlas"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/UrbanAtlasValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "station_climate"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/StationClimateValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "air_daily"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AirDailyValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "ecological_corridors"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/EcologicalCorridorsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "heritage_registers"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/HeritageRegistersValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "landslide_records"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/LandslideRecordsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "seveso_proximity"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/SevesoProximityValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "asbestos_sites"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AsbestosSitesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "asbestos_gmina_mass"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/AsbestosGminaMassValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "environmental_constraints"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/EnvironmentalConstraintsValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "plan_general_candidates"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PlanGeneralCandidatesValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "plan_general_ouz"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PlanGeneralOuzValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "plan_general_municipal"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/PlanGeneralMunicipalValue"
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "coverage": {
            "enum": [
              "covered",
              "covered_no_data"
            ]
          },
          "layer": {
            "const": "mpzp_drawing_reads"
          }
        }
      },
      "then": {
        "properties": {
          "value": {
            "$ref": "#/$defs/MpzpDrawingReadsValue"
          }
        }
      }
    }
  ],
  "description": "Wspólny format każdej odpowiedzi tematycznej. Pola właściwe dla danej kategorii znajdują się w value (schematy *Value w openapi.yaml).",
  "properties": {
    "as_of": {
      "format": "date",
      "type": [
        "string",
        "null"
      ]
    },
    "basis": {
      "description": "Przepis lub reguła będąca podstawą wyliczonej odpowiedzi, np. „u.p.z.p. art. 59 ust. 3”.",
      "type": [
        "string",
        "null"
      ]
    },
    "confidence": {
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "coverage": {
      "$ref": "#/$defs/Coverage"
    },
    "hash": {
      "description": "Skrót sha256 w zapisie szesnastkowym z coverage + ':' + canonical(value) (nagłówek parcel_record.sql). Wartość null dla danych ustalanych podczas żądania.",
      "type": [
        "string",
        "null"
      ]
    },
    "layer": {
      "$ref": "#/$defs/LayerKey"
    },
    "layer_version": {
      "description": "Identyfikator obliczenia dla wcześniej obliczonych danych; live dla danych ustalanych podczas żądania.",
      "type": "string"
    },
    "licence": {
      "$ref": "#/$defs/Licence"
    },
    "method": {
      "$ref": "#/$defs/Method"
    },
    "note": {
      "description": "Jedno zdanie prostym językiem do przytoczenia przez agenta w każdym stanie: co oznacza wartość lub dlaczego jej brakuje. Bez określenia „bezpieczna” i bez „brak planu”, jeżeli nie wskazano rodzaju planu i źródła.",
      "minLength": 1,
      "type": "string"
    },
    "note_codes": {
      "description": "Stable machine-readable caveats. Polish copy is separately reviewed in texts_pl slots.",
      "items": {
        "enum": [
          "publisher_edition_date_unknown",
          "publisher_edition_period"
        ]
      },
      "type": "array",
      "uniqueItems": true
    },
    "reason": {
      "enum": [
        "licence_unverified"
      ]
    },
    "scope": {
      "$ref": "#/$defs/Scope"
    },
    "source": {
      "$ref": "#/$defs/SourceRef"
    },
    "threshold": {
      "maximum": 1,
      "minimum": 0,
      "type": "number"
    },
    "value": {
      "description": "Wartość null wtedy i tylko wtedy, gdy coverage wynosi not_covered lub not_computed.",
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "layer",
    "coverage",
    "value",
    "note",
    "source",
    "as_of",
    "layer_version"
  ],
  "type": "object"
}

Schema names correspond to the layer keys below. A schema dispatch constraint in LayerAnswer is not specified in v1.

Layer keyLayerAnswer.value schema
addressAddressValue
adminnot specified in the source contract
air_dailynot specified in the source contract
air_qualityAirQualityValue
airportsAirportsValue
asbestosAsbestosValue
asbestos_gmina_massnot specified in the source contract
asbestos_sitesnot specified in the source contract
buildable_envelopeBuildableEnvelopeValue
building_contextBuildingContextValue
buildingsBuildingsValue
cell_sitesCellSitesValue
climateClimateValue
ecological_corridorsnot specified in the source contract
environmental_constraintsnot specified in the source contract
fixed_broadbandnot specified in the source contract
floodFloodValue
forestsForestsValue
geo_unitsnot specified in the source contract
geologyGeologyValue
gmina_demographicsnot specified in the source contract
gmina_statisticsGminaStatisticsValue
green_contextGreenContextValue
ground_motionGroundMotionValue
heritageHeritageValue
heritage_registersnot specified in the source contract
industrial_facilitiesIndustrialFacilitiesValue
land_coverLandCoverValue
landslideLandslideValue
landslide_recordsnot specified in the source contract
listingsListingsValue
market_contextnot specified in the source contract
mobile_observationsMobileObservationsValue
mpzpMpzpValue
mpzp_drawing_readsnot specified in the source contract
mpzp_evidencenot specified in the source contract
mpzp_parametersMpzpParametersValue
mpzp_registrynot specified in the source contract
mpzp_zonesnot specified in the source contract
nearby_placesNearbyPlacesValue
neighbour_land_useNeighbourLandUseValue
night_lightNightLightValue
noiseNoiseValue
parcelnot specified in the source contract
permitsPermitsValue
pipelinesPipelinesValue
plan_general_candidatesnot specified in the source contract
plan_general_municipalnot specified in the source contract
plan_general_ouznot specified in the source contract
planningPlanningValue
pogPogValue
poi_densityPoiDensityValue
police_crime_ratesnot specified in the source contract
populationPopulationValue
population_neighbourhoodPopulationNeighbourhoodValue
power_corridorPowerCorridorValue
power_linesPowerLinesValue
powiat_statisticsnot specified in the source contract
pricesPricesValue
property_taxPropertyTaxValue
protectedProtectedValue
radio_permitsRadioPermitsValue
rail_contextRailContextValue
railwaysRailwaysValue
road_accessRoadAccessValue
road_danger_pointsnot specified in the source contract
road_geometryRoadGeometryValue
seveso_proximitynot specified in the source contract
soilSoilValue
solar_irradiationnot specified in the source contract
solar_potentialSolarPotentialValue
station_climatenot specified in the source contract
terrainTerrainValue
turbine_bufferTurbineBufferValue
urban_atlasnot specified in the source contract
utilitiesUtilitiesValue
wind_speed_100mnot specified in the source contract
wind_turbinesWindTurbinesValue
wzWzValue

Referenced response definitions from openapi.yaml:

See Schemas for all operation-specific definitions.

Envelope references are defined in Envelope.

Coverage states

Cztery stany zakresu danych dla jednej kategorii w danym miejscu. covered: źródło obejmuje to miejsce i zawiera rekord; value zawiera ten rekord. covered_no_data: źródło obejmuje to miejsce, lecz nie zawiera rekordu; value ma określoną dla danej kategorii pustą wartość (false, 0, [], none), nigdy null; jest to potwierdzony brak rekordu, za który naliczana jest opłata. not_covered: źródło nie obejmuje miejsca albo państwo nie publikuje tych danych w postaci do odczytu maszynowego; value=null, agent nie może wyciągać wniosków, a opłata jest zwracana, gdy zapytanie dotyczy tych danych. not_computed: posiadamy źródło, lecz nie obliczyliśmy jeszcze wyniku dla tego miejsca, np. trwa ładowanie zbioru; value=null, opłata jest zwracana. Każdy stan zawiera uwagę napisaną prostym językiem.

States: covered | covered_no_data | not_covered | not_computed.

LayerAnswer required fields: layer, coverage, value, note, source, as_of, layer_version.

Billing rule

Koszt żądania. charged: liczba naliczonych wywołań po zwrotach. refunded: liczba wywołań naliczonych, a następnie zwróconych. rule: zastosowana reguła. Płatne są odpowiedzi, potwierdzone braki rekordów (covered_no_data) i niejednoznaczne listy kandydatów. Bezpłatne są błędne dane wejściowe (400), brak uwierzytelnienia (401), odpowiedzi bez zmiany danych (304) i operacje bezpłatne. Zwrot obejmuje pozostałe 4xx, każde 5xx, status not_covered oraz odpowiedź dotyczącą jednej kategorii ze stanem not_covered lub not_computed. W operacjach zbiorczych liczby dotyczą poszczególnych elementów.

Rule values: charged | free_operation | free_invalid_input | free_unauthorized | free_not_modified | free_idempotency_replay | refunded_client_error | refunded_server_error | refunded_not_covered | refunded_not_computed | batch_mixed | free_record_reuse.

Recorded example

No valid key supplied. Request UUID and response clock normalized. No database, socket, paid call or live coverage claim.

Recorded HTTP status: 401. The curl example reproduces this admission response with an unset API key. For supported authenticated operations, supply an account key and required permissions; data and billing then depend on that account. The Stripe receiver additionally requires a provider signature.

curl --silent --show-error --request GET "https://api.landfeed.pl/v1/saved-searches/00000000-0000-4000-8000-000000000001" \
  -H "X-Api-Key: ${LANDFEED_API_KEY}"
{
  "billing": {
    "charged": 0,
    "cost": 0,
    "credits": 0,
    "refunded": 0,
    "rule": "free_operation"
  },
  "candidates": [],
  "error": {
    "code": "unauthorized",
    "docs": "https://landfeed.pl/docs",
    "hint": "Sprawdź dane żądania i odśwież listę zapisanych obiektów.",
    "message": "Zaloguj się na aktywne konto, aby korzystać z zapisanych obiektów."
  },
  "meta": {
    "api_version": "v1",
    "calls": 1,
    "generated_at": "2026-10-21T00:00:00Z",
    "operation": "store_saved_search_get",
    "request_id": "00000000-0000-4000-8000-000000000000"
  },
  "query": {
    "input": {},
    "kind": "v5",
    "resolved": null
  },
  "result": null,
  "sources": [],
  "status": "error"
}

Matching MCP tool

not specified in the source contract