API7 Docs

Get the standalone configuration

GET /apisix/admin/configs

GET /apisix/admin/configs

Interactive request editor loads with JavaScript.

Authorization

X-API-KEY<token>

Admin API key configured in config.yaml under deployment.admin.admin_key. You can also pass the key as a query parameter api_key or cookie x_api_key.

In: header

Response Body

application/json

curl -X GET "http://127.0.0.1:9180/apisix/admin/configs"

Current standalone configuration.

{}
Complete operation details and schema variants

GET /apisix/admin/configs

Get the standalone configuration

Available only when deployment.role_data_plane.config_provider is yaml. Returns the entire current configuration document.

Parameters

Responses

  • 200: Current standalone configuration.
  • 401: Unauthorized — The API key is missing, invalid, or lacks permission.
  • error_msg (string, required): Authentication error message.
  • description (string, optional): Detailed reason for the authentication failure.

cURL

curl -X GET 'http://127.0.0.1:9180/apisix/admin/configs'