Table of Contents

Class ManagementService

public class ManagementService : CrudServiceBase<XAIClient>
Inheritance
object
ManagementService

Constructors

ManagementService(XAIClient, string)

public ManagementService(XAIClient client, string managementKey)

Parameters

client XAIClient
managementKey string

Methods

GetCurrentApiKeyInfoAsync(RESTOptions)

public UniTask<XAIApiKey> GetCurrentApiKeyInfoAsync(RESTOptions options = null)

Parameters

options RESTOptions

Returns

UniTask<XAIApiKey>

GetTeamIdAsync(RESTOptions)

public UniTask<string> GetTeamIdAsync(RESTOptions options = null)

Parameters

options RESTOptions

Returns

UniTask<string>

ListApiKeysAsync(RESTOptions)

public UniTask ListApiKeysAsync(RESTOptions options = null)

Parameters

options RESTOptions

Returns

UniTask

ListModelsAsync(RESTOptions)

public UniTask<XAIModelData[]> ListModelsAsync(RESTOptions options = null)

Parameters

options RESTOptions

Returns

UniTask<XAIModelData[]>

ValidateApiKeyAsync(RESTOptions)

public UniTask<bool> ValidateApiKeyAsync(RESTOptions options = null)

Parameters

options RESTOptions

Returns

UniTask<bool>