config_set
PUT
/config
const url = 'https://example.com/config';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"evidence_extractor_url":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/config \ --header 'Content-Type: application/json' \ --data '{ "evidence_extractor_url": "example" }'Set the runtime configuration.
Request Body required
Section titled “Request Body required ” Media type application/json
Runtime configuration update
object
evidence_extractor_url
required
New base URL of the evidence extractor service or the empty string to use the default.
string
Example generated
{ "evidence_extractor_url": "example"}Responses
Section titled “ Responses ”Runtime configuration updated
Invalid evidence extractor URL
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}Internal error
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}