Publish a hosted feature layer on ArcGIS Online from an uploaded CSV or shapefile via REST
domain: developers.arcgis.com · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
POST the source file to the addItem operation on the target user's content root, setting type to match the source (csv, shapefile, GeoJson, fileGeodatabase, etc.)
Zip shapefiles and file geodatabases before uploading them
POST to the publish operation referencing the added item's id and a publishParameters object
Poll the returned async job status until the hosted feature service item finishes creating
Known gotchas
the publish operation is restricted to the content owner or org members with the default administrator role
CSV/Excel sources are only spatially enabled automatically if they contain recognizable address or x,y columns
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?