Last updated on 2nd April 2026

List all global config files via API

This method will return a list of all global config files configured at the account level.

Tip: You can explore and test this endpoint interactively using our OpenAPI documentation.

URL

/global_config_files

HTTP Method

GET

Supported Parameters

None

Example cURL Request

curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user your-email@example.com:your-api-key \
https://test.deployhq.com/global_config_files

Example Response

[
  {
    "identifier": "df8966fe-e161-4517-98e2-24f79102dd62",
    "description": "Standard database configuration",
    "path": "config/database.yml",
    "body": "production:\n  adapter: mysql2\n  host: %DB_HOST%",
    "build": false
  }
]

Response Fields

  • identifier - The unique identifier (UUID) for the global config file
  • description - A description of the config file template
  • path - The file path relative to the deployment root
  • body - The contents of the config file (may include %VARIABLE% placeholders)
  • build - Whether the config file is available during the build pipeline