---
title: "Retrieve a Chart of Accounts Template"
method: GET
path: "/books/agent-coa-template/{coaTemplateId}"
tags: ["Books"]
---

# Retrieve a Chart of Accounts Template

`GET /books/agent-coa-template/{coaTemplateId}`

Retrieve details of a specific Chart of Accounts template.

## Path parameters

- `coaTemplateId` string, base58 (max length 22), required — unique id for a chart of accounts template

## Query parameters

- `expand` 'ledgers' — Comma-separated list of expandable paths.

## Response `200`

- GetBooksAPIAgentCoaTemplateResponse — Response containing a single agent COA template.
  - `coaTemplate` object, required — The requested Chart of Accounts template
    - `accountingBasis` 'cash' | 'accrual', required — The accounting basis of the template
    - `id` string, base58 (max length 22), required — The ID of the template
    - `name` string, required — The name of the template
    - `type` 'agent' | 'platform', required — Whether this template belongs to an agent or a platform

## Other responses

- `400` — Invalid `expand`
- `404` — `coaTemplateId` not found

---

[API](https://skmtc.net/mercurytechnologies/apis/mercury-api.md) · [All operations](https://skmtc.net/mercurytechnologies/apis/mercury-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mercurytechnologies/mercury-api/revisions/0bdf4a496e03/schema)
