available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the Images tab offers drawing one only while it is true, and takes an uploaded file either way.
Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/white-label/login-background.do
available is false when no Anthropic key is set up (reason no_key) or this month's AI budget is spent (reason limit); the Images tab offers drawing one only while it is true, and takes an uploaded file either way. Also answers the starting points on offer and how long a note may be. Requires the WHITE_LABEL admin permission and an Anthropic key: the user's own, the network's, or Epom's while the network's plan includes it.
using var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://YOUR-NETWORK-DOMAIN/rest-api/white-label/login-background.do");
request.Headers.Add("X-Api-Key", "YOUR_API_KEY");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());