Class XAIApiKey
Inherited Members
Namespace: Glitch9.AIDevKit.xAI
Assembly: Glitch9.AIDevKit.Provider.XAI.dll
Syntax
public sealed class XAIApiKey
Properties
| Edit this page View SourceAcls
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> |
ApiKeyBlocked
Required. Indicates whether the API key is blocked.
Declaration
[JsonProperty("api_key_blocked")]
public bool? ApiKeyBlocked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApiKeyDisabled
Required. Indicates whether the API key is disabled.
Declaration
[JsonProperty("api_key_disabled")]
public bool? ApiKeyDisabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ApiKeyId
Required. ID of the API key.
Declaration
[JsonProperty("api_key_id")]
public string ApiKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
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 |
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 |
Name
Required. The name of the API key specified by user.
Declaration
[JsonProperty("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RedactedApiKey
Required. The redacted API key.
Declaration
[JsonProperty("redacted_api_key")]
public string RedactedApiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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? |
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 |
UserId
Required. User ID the API key belongs to.
Declaration
[JsonProperty("user_id")]
public string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |