Search Results for

    Show / Hide Table of Contents

    Class XAIApiKey

    Inheritance
    object
    XAIApiKey
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.xAI
    Assembly: Glitch9.AIDevKit.Provider.XAI.dll
    Syntax
    public sealed class XAIApiKey

    Properties

    | Edit this page View Source

    Acls

    Required. A list of ACLs authorized with the API key, e.g. "api-key:endpoint:", "api-key:model:".

    Declaration
    [JsonProperty("acls")]
    public List<string> Acls { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    ApiKeyBlocked

    Required. Indicates whether the API key is blocked.

    Declaration
    [JsonProperty("api_key_blocked")]
    public bool? ApiKeyBlocked { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    ApiKeyDisabled

    Required. Indicates whether the API key is disabled.

    Declaration
    [JsonProperty("api_key_disabled")]
    public bool? ApiKeyDisabled { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    ApiKeyId

    Required. ID of the API key.

    Declaration
    [JsonProperty("api_key_id")]
    public string ApiKeyId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    CreateTime

    Required. Creation time of the API key in Unix timestamp.

    Declaration
    [JsonProperty("create_time")]
    public string CreateTime { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ModifiedBy

    Required. User ID of the user who last modified the API key.

    Declaration
    [JsonProperty("modified_by")]
    public string ModifiedBy { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ModifyTime

    Required. Last modification time of the API key in Unix timestamp.

    Declaration
    [JsonProperty("modify_time")]
    public string ModifyTime { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Name

    Required. The name of the API key specified by user.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    RedactedApiKey

    Required. The redacted API key.

    Declaration
    [JsonProperty("redacted_api_key")]
    public string RedactedApiKey { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    TeamBlocked

    Required. Indicates whether the team that owns the API key.

    Declaration
    [JsonProperty("team_blocked")]
    public bool? TeamBlocked { get; set; }
    Property Value
    Type Description
    bool?
    | Edit this page View Source

    TeamId

    Required. The team ID of the team that owns the API key.

    Declaration
    [JsonProperty("team_id")]
    public string TeamId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    UserId

    Required. User ID the API key belongs to.

    Declaration
    [JsonProperty("user_id")]
    public string UserId { get; set; }
    Property Value
    Type Description
    string

    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