Validates that an already parsed fluentbit config is semantically valid under the V2 error specification To parse the raw agent config take a look at https://github.com/calyptia/fluent-bit-config-parser.
OK
const response = await fetch('https://cloud-api.calyptia.com/v1/config_validate_v2', { method: 'POST', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({ "config": [ { "command": "text", "name": "text", "id": "text" } ] }), }); const data = await response.json();
{ "errors": { "runtime": [ { "errors": [ "text" ], "id": "text" } ] } }