---
title: "Export one or more boreholes in .ags format"
method: GET
path: "/v7/ags_export/"
tags: ["ags_export"]
---

# Export one or more boreholes in .ags format

`GET /v7/ags_export/`

Export one or more borehole in .ags format from AGS data held by the National Geoscience Data Centre.

## Query parameters

- `bgs_loca_id` string, required — A single ID or multiple IDs separated by semicolons

## Response `200`

Return a zip containing .ags file and metadata .txt file or a json response containing the borehole ID count

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/bgs/apis/bgs-ags4-file-utilities-tool.md) · [All operations](https://skmtc.net/bgs/apis/bgs-ags4-file-utilities-tool/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bgs/bgs-ags4-file-utilities-tool/revisions/8b53deacffa2/schema)
