---
title: "Manage config"
method: GET
path: "/config"
tags: ["Admin"]
---

# Manage config

`GET /config`

Report on and edit the configuration of the TrueBlocks system. Corresponds to the <a href="/chifra/admin/#chifra-config">chifra config</a> command line.

## Query parameters

- `mode` 'show' | 'edit'
- `paths` boolean
- `dump` boolean
- `chain` string
- `noHeader` boolean
- `fmt` string

## Response `200`

returns the requested data

- object
  - `data` Chain[] — Produces <a href="/data-model/admin/#chain">Chain</a> data. Corresponds to the <a href="/chifra/admin/#chifra-config">chifra config</a> command line.
    - `chain` string, string — the common name of the chain
    - `chainId` number — the chain id as reported by the RPC
    - `symbol` string, string — the symbol of the base currency on the chain
    - `rpcProvider` string, string — a valid RPC provider for the chain
    - `remoteExplorer` string, string — a remote explorer for the chain such as Etherscan
    - `localExplorer` string, string — the local explorer for the chain (typically TrueBlocks Explorer)
    - `ipfsGateway` string, string — an IPFS gateway for pinning the index if enabled

## Other responses

- `400` — bad input parameter

## Changes

- **2024-12-17** `2428f6f19a07` — 1 info
  - added the new optional `query` request parameter `dump`
- **2024-04-10** `92d116712599` — 1 warning
  - deleted the `query` request parameter `dump`

[Change history](https://skmtc.dev/trueblocks/apis/trueblocks-api/changes/config/get.md)

---

[API](https://skmtc.dev/trueblocks/apis/trueblocks-api.md) · [All operations](https://skmtc.dev/trueblocks/apis/trueblocks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trueblocks/trueblocks-api/revisions/2a176f1485a9/schema)
