List custom analysts

Lists custom analysts for your API key. No request body—send only authentication headers or query key per Authentication.

GET/users/custom-analysts

Response

Expect a JSON object that includes your custom models (for example a custom_models array). Use returned ids with modelType: "custom-model" on Run models.

Code examples

const res = await fetch(`${process.env.API_BASE}/users/custom-analysts`, {
  method: "GET",
  headers: {
    "X-Api-Key": process.env.LENI_API_KEY!,
  },
});

const data = await res.json();