---
title: "Generate Graphical Log"
method: GET
path: "/v7/ags_log/"
tags: ["ags_log"]
---

# Generate Graphical Log

`GET /v7/ags_log/`

Generate a graphical log (.pdf) from AGS data held by the National Geoscience Data Centre.

## Query parameters

- `bgs_loca_id` string, required — BGS LOCA ID
- `response_type` 'attachment' | 'inline'

## Response `200`

Return a graphical log of AGS data in .PDF format

## 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)
