Search Results for

    Show / Hide Table of Contents

    Class ManagementService

    Inheritance
    object
    CrudServiceBase<XAIClient>
    ManagementService
    Implements
    ICrudService
    Inherited Members
    CrudServiceBase<XAIClient>.client
    CrudServiceBase<XAIClient>.ApiKey
    CrudServiceBase<XAIClient>.GetUrl(params string[])
    CrudServiceBase<XAIClient>.GetChildUrl(string, params string[])
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.xAI.Services
    Assembly: Glitch9.AIDevKit.Provider.XAI.dll
    Syntax
    public class ManagementService : CrudServiceBase<XAIClient>, ICrudService

    Constructors

    | Edit this page View Source

    ManagementService(XAIClient, string)

    Declaration
    public ManagementService(XAIClient client, string managementKey)
    Parameters
    Type Name Description
    XAIClient client
    string managementKey

    Methods

    | Edit this page View Source

    GetCurrentApiKeyInfoAsync(RequestOptions)

    Declaration
    public UniTask<XAIApiKey> GetCurrentApiKeyInfoAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask<XAIApiKey>
    | Edit this page View Source

    GetTeamIdAsync(RequestOptions)

    Declaration
    public UniTask<string> GetTeamIdAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask<string>
    | Edit this page View Source

    ListApiKeysAsync(RequestOptions)

    Declaration
    public UniTask ListApiKeysAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    ListModelsAsync(RequestOptions)

    Declaration
    public UniTask<XAIModelInfo[]> ListModelsAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask<XAIModelInfo[]>
    | Edit this page View Source

    ValidateApiKeyAsync(RequestOptions)

    Declaration
    public UniTask<bool> ValidateApiKeyAsync(RequestOptions options = null)
    Parameters
    Type Name Description
    RequestOptions options
    Returns
    Type Description
    UniTask<bool>

    Implements

    ICrudService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation