Skip to main content
POST
Describe layer

Request contract

  • Method and path: POST /apis/v1/arcgis-com/gis-layers/describe-layer
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/arcgis-com/gis-layers/describe-layer
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
item_id
string

ArcGIS item id of a Feature Service or Map Service (from search_datasets), optionally with a Hub _<layer> suffix. Alternative to url. Pattern: ^[0-9a-fA-F]{32}(_[0-9]{1,6})?$.

layer
number

Layer id within the service, when the URL names the service only.

Provider reference: minimum 0; maximum 999999.

url
string

ArcGIS REST service or layer URL, or an ArcGIS Online item page (https://www.arcgis.com/home/item.html?id=…). https:////rest/services///FeatureServer[/] or …/MapServer[/], on ArcGIS Online (services*.arcgis.com//arcgis/rest/services/…) or an agency's ArcGIS Server (gis..gov/arcgis/rest/services/…). Query strings are ignored; URLs carrying a token or key are refused.

Response

Read an ArcGIS FeatureServer or MapServer service, or one of its layers, from its REST URL or ArcGIS item id: the service's layers and tables (id, name, type, geometry type, URL), description, capabilities and record limit; for a layer, its fields (name, alias, type, length, coded-value or range domains), geometry type, object id and display fields, extent (native and WGS84 when convertible), query capabilities and max record count. Always includes attribution: the ArcGIS Online item's licence text and credits plus the copyright text, so results can be credited. Works with ArcGIS Online (services*.arcgis.com) and any agency-hosted ArcGIS Server; the answer must be ArcGIS service JSON, otherwise invalid_input not_arcgis_service. Token-protected services are not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.