Search Results for

    Show / Hide Table of Contents

    Class SeclaiTypedClient

    Typed variants of the SeclaiClient methods that return raw JSON.

    Inheritance
    object
    SeclaiTypedClient
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Seclai
    Assembly: Seclai.dll
    Syntax
    public sealed class SeclaiTypedClient
    Remarks

    Reached through Typed. Every method here delegates to its counterpart on the client and deserializes the result, so the request issued is identical by construction and the two surfaces cannot drift apart.

    Methods

    AddAlertCommentAsync(string, AddCommentRequest, CancellationToken)

    Adds a comment to an alert.

    Declaration
    public Task<AlertDetailResponse> AddAlertCommentAsync(string alertId, AddCommentRequest body, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string alertId
    AddCommentRequest body
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertDetailResponse>

    CancelExperimentAsync(string, CancellationToken)

    Cancels a running model playground experiment.

    Declaration
    public Task<CancelExperimentResponse> CancelExperimentAsync(string experimentId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string experimentId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<CancelExperimentResponse>

    ChangeAlertStatusAsync(string, ChangeStatusRequest, CancellationToken)

    Changes the status of an alert.

    Declaration
    public Task<AlertDetailResponse> ChangeAlertStatusAsync(string alertId, ChangeStatusRequest body, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string alertId
    ChangeStatusRequest body
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertDetailResponse>

    CreateAlertConfigAsync(CreateAlertConfigRequest, CancellationToken)

    Creates a new alert configuration.

    Declaration
    public Task<AlertConfigResponse> CreateAlertConfigAsync(CreateAlertConfigRequest body, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CreateAlertConfigRequest body
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertConfigResponse>

    CreateExperimentAsync(PlaygroundCreateRequest, CancellationToken)

    Creates a model playground experiment.

    Declaration
    public Task<CreateExperimentResponse> CreateExperimentAsync(PlaygroundCreateRequest body, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    PlaygroundCreateRequest body
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<CreateExperimentResponse>

    GetAlertAsync(string, CancellationToken)

    Retrieves an alert by ID.

    Declaration
    public Task<AlertDetailResponse> GetAlertAsync(string alertId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string alertId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertDetailResponse>

    GetAlertConfigAsync(string, CancellationToken)

    Retrieves an alert configuration by ID.

    Declaration
    public Task<AlertConfigResponse> GetAlertConfigAsync(string configId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string configId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertConfigResponse>

    GetExperimentAsync(string, CancellationToken)

    Retrieves a model playground experiment by ID.

    Declaration
    public Task<ExperimentDetailResponse> GetExperimentAsync(string experimentId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string experimentId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ExperimentDetailResponse>

    GetGenerationTiersAsync(CancellationToken)

    Lists the media-generation quality tiers and the model and cost each resolves to. Global routing and pricing; read-only.

    Declaration
    public Task<GenerationTierListResponse> GetGenerationTiersAsync(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<GenerationTierListResponse>

    GetModelAsync(string, CancellationToken)

    Retrieves full details for a specific model.

    Declaration
    public Task<PromptModelResponse> GetModelAsync(string modelId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string modelId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<PromptModelResponse>

    GetModelRecommendationsAsync(string, CancellationToken)

    Retrieves recommendations for a model.

    Declaration
    public Task<ModelRecommendationsResponse> GetModelRecommendationsAsync(string modelId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string modelId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ModelRecommendationsResponse>

    GetUnreadModelAlertCountAsync(CancellationToken)

    Retrieves the count of unread model alerts.

    Declaration
    public Task<UnreadCountResponse> GetUnreadModelAlertCountAsync(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<UnreadCountResponse>

    ListAlertConfigsAsync(int?, int?, CancellationToken)

    Lists alert configurations.

    Declaration
    public Task<AlertConfigListResponse> ListAlertConfigsAsync(int? page = null, int? limit = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page
    int? limit
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertConfigListResponse>
    Remarks

    The configurations arrive under configs alongside total by default. Once the caller opts in with ApiVersion of 2026-07-27 or later the endpoint returns the canonical {data, pagination} envelope instead, so the top-level key changes.

    ListAlertsAsync(int?, int?, string?, string?, CancellationToken)

    Lists alerts.

    Declaration
    public Task<AlertListResponse> ListAlertsAsync(int? page = null, int? limit = null, string? status = null, string? severity = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page
    int? limit
    string status
    string severity
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertListResponse>
    Remarks

    severity: Deprecated and ignored. The API declares no severity filter on this endpoint, so it never filtered anything, and sending it is a 422 once ApiVersion is 2026-07-27 or later. Accepted and dropped so existing call sites keep working.

    ListExperimentsAsync(int?, string?, string?, int?, int?, CancellationToken)

    Lists model playground experiments.

    Declaration
    public Task<ExperimentListResponse> ListExperimentsAsync(int? days = null, string? startDate = null, string? endDate = null, int? limit = null, int? offset = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? days
    string startDate
    string endDate
    int? limit
    int? offset
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ExperimentListResponse>

    ListModelAlertsAsync(int?, int?, CancellationToken)

    Lists model alerts.

    Declaration
    public Task<ModelAlertListResponse> ListModelAlertsAsync(int? page = null, int? limit = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    int? page
    int? limit
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<ModelAlertListResponse>
    Remarks

    page: 1-indexed page number, translated to the offset the endpoint actually declares. It does not accept page, so every page after the first previously returned page 1.

    ListModelsAsync(string?, bool?, bool?, CancellationToken)

    Lists all enabled LLM models grouped by provider.

    Declaration
    public Task<List<ProviderGroupResponse>> ListModelsAsync(string? provider = null, bool? supportsToolUse = null, bool? supportsThinking = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string provider
    bool? supportsToolUse
    bool? supportsThinking
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<List<ProviderGroupResponse>>

    SearchAsync(string?, int?, string?, CancellationToken)

    Performs a general search across resources.

    Declaration
    public Task<SearchResponse> SearchAsync(string? query = null, int? limit = null, string? entityType = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string query
    int? limit
    string entityType
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<SearchResponse>

    SearchDocsAsync(string, string?, int?, CancellationToken)

    Searches the Seclai documentation by content. Mode is keyword (default) or semantic. Results are global, not account-scoped.

    Declaration
    public Task<DocsSearchResponse> SearchDocsAsync(string query, string? mode = null, int? limit = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string query
    string mode
    int? limit
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<DocsSearchResponse>

    SubscribeToAlertAsync(string, CancellationToken)

    Subscribes to an alert.

    Declaration
    public Task<AlertDetailResponse> SubscribeToAlertAsync(string alertId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string alertId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertDetailResponse>

    UnsubscribeFromAlertAsync(string, CancellationToken)

    Unsubscribes from an alert.

    Declaration
    public Task<AlertDetailResponse> UnsubscribeFromAlertAsync(string alertId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string alertId
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AlertDetailResponse>
    In this article
    Back to top Generated by DocFX