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

# Generate Graphical Log

`GET /v7/ags_log/`

## Request

- Base URL: `https://agsapi.bgs.ac.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://agsapi.bgs.ac.uk/v7/ags_log/`
- Auth: none declared

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

## Changes

- **2026-07-23** `8b53deacffa2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bgs/apis/bgs-ags4-file-utilities-tool/changes/v7/ags_log/get.md)

---

[API](https://skmtc.dev/bgs/apis/bgs-ags4-file-utilities-tool.md) - [All operations](https://skmtc.dev/bgs/apis/bgs-ags4-file-utilities-tool/llms.txt) - [OpenAPI document](https://skmtc.dev/bgs/apis/bgs-ags4-file-utilities-tool/revisions/8b53deacffa2?raw)
