REST API · config

GET /config

The project's full relay configuration, as the relay itself reads it.

get_api_config

Authentication

  • Bearer

Responses

200

The project's full relay configuration.

application/json

{
    "schemaVersion": 1,
    "id": "e4fbe3e3-6e3b-432b-9227-e0f535c66f01",
    "configVersion": 42,
    "billing": {
        "type": "prepaid"
    },
    "apiKeys": [
        {
            "hash": "f59eb1010fc67aa3b70b330ec2244ceb88bed00de7552a311935459ad9cc7df7",
            "mode": "live",
            "expiresAt": null,
            "revokedAt": null
        }
    ],
    "lines": {
        "v1": {
            "id": "ed907743-54f6-413f-b042-b6c569e500a7",
            "name": "v1",
            "version": "v1",
            "published": "2026-01-15T09:00:00+00:00",
            "endpoints": [
                {
                    "id": "58939229-9f32-49da-a64f-1f834fec3784",
                    "name": "Lifecycle webhook",
                    "url": "/lifecycle",
                    "httpMethod": "POST",
                    "strict": false,
                    "attributes": [],
                    "targets": [],
                    "mock": true,
                    "mockResponse": {
                        "statusCode": 200,
                        "contentType": "application/json",
                        "body": "{\"version\":\"stable\"}"
                    }
                }
            ]
        }
    },
    "effectiveLiveRpmLimit": 1000,
    "liveBillingExempt": false,
    "effectiveTestingRpmLimit": 100,
    "logRetentionDays": 30
}

← REST API reference