Skip to main content
This is a beta feature according to Algolia’s Terms of Service (“Beta Services”).
Required ACL: editSettings

Usage

// Initialize the client
var client = new AgentStudioClient(
  new AgentStudioConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY")
);

// Call the API
var response = await client.CreateProviderAsync(
  new ProviderAuthenticationCreate
  {
    Name = "My OpenAI Provider",
    ProviderName = Enum.Parse<ProviderName>("Openai"),
    Input = new ProviderInput(new OpenAIProviderInput { ApiKey = "sk-test-key-1234" }),
  }
);

// print the response
Console.WriteLine(response);

See the full API reference

For more details about input parameters and response fields.
Last modified on June 15, 2026