AgentConnect
Deployment

Get public runtime configuration

Returns the secret-free browser configuration loaded for this process: authentication, the GitLab instance the deployment talks to, and whether console file transfer is available with its per-file cap and, when uploads may go in parts, the largest part. A deployment change takes effect after restart.

GET
/v1/runtime-config

授权

bearerAuth
授权Bearer <token>

位置: header

响应主体

application/json

curl -X GET "https://example.com/v1/runtime-config"
{  "schemaVersion": "1",  "webchatProtocol": "legacy",  "ahp": {    "enabled": true,    "publicAccess": true  },  "revision": 1,  "config": {    "auth": {      "endpoint": "http://example.com",      "issuer": "http://example.com",      "appId": "string",      "apiResource": "http://example.com",      "socialProviders": [        "string"      ],      "sso": {        "connectorId": "string",        "name": "string"      }    },    "gitlab": {      "instanceUrl": "http://example.com"    }  },  "fileTransfer": {    "maxBytes": 1,    "partBytes": 1  }}