Search Results for

    Show / Hide Table of Contents

    Interface IAIControllerApiSync

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    IApiAccessor.ExceptionFactory
    Namespace: mailslurp.Api
    Assembly: mailslurp.dll
    Syntax
    public interface IAIControllerApiSync : IApiAccessor

    Methods

    View Source

    CreateTransformer(AITransformCreateOptions, int)

    Create a transformer for reuse in automations

    Declaration
    AITransformDto CreateTransformer(AITransformCreateOptions aITransformCreateOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    AITransformCreateOptions aITransformCreateOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformDto

    AITransformDto

    Remarks

    Save an AI transform instructions and schema for use with webhooks and automations

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateTransformerMappings(CreateAITransformerMappingOptions, int)

    Create transformer mapping

    Declaration
    AITransformMappingDto CreateTransformerMappings(CreateAITransformerMappingOptions createAITransformerMappingOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateAITransformerMappingOptions createAITransformerMappingOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformMappingDto

    AITransformMappingDto

    Remarks

    Create AI transformer mappings to other entities

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateTransformerMappingsWithHttpInfo(CreateAITransformerMappingOptions, int)

    Create transformer mapping

    Declaration
    ApiResponse<AITransformMappingDto> CreateTransformerMappingsWithHttpInfo(CreateAITransformerMappingOptions createAITransformerMappingOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    CreateAITransformerMappingOptions createAITransformerMappingOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformMappingDto>

    ApiResponse of AITransformMappingDto

    Remarks

    Create AI transformer mappings to other entities

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    CreateTransformerWithHttpInfo(AITransformCreateOptions, int)

    Create a transformer for reuse in automations

    Declaration
    ApiResponse<AITransformDto> CreateTransformerWithHttpInfo(AITransformCreateOptions aITransformCreateOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    AITransformCreateOptions aITransformCreateOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformDto>

    ApiResponse of AITransformDto

    Remarks

    Save an AI transform instructions and schema for use with webhooks and automations

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllTransformerMappings(int)

    Delete all transformer mapping

    Declaration
    void DeleteAllTransformerMappings(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Remarks

    Delete all AI transformer mappings

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteAllTransformerMappingsWithHttpInfo(int)

    Delete all transformer mapping

    Declaration
    ApiResponse<object> DeleteAllTransformerMappingsWithHttpInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Remarks

    Delete all AI transformer mappings

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformer(Guid, int)

    Delete a transformer

    Declaration
    void DeleteTransformer(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Remarks

    Delete an AI transformer and schemas by ID

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformerMapping(Guid, int)

    Delete transformer mapping

    Declaration
    void DeleteTransformerMapping(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    int operationIndex

    Index associated with the operation.

    Remarks

    Delete an AI transformer mapping

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformerMappingWithHttpInfo(Guid, int)

    Delete transformer mapping

    Declaration
    ApiResponse<object> DeleteTransformerMappingWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Remarks

    Delete an AI transformer mapping

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformerWithHttpInfo(Guid, int)

    Delete a transformer

    Declaration
    ApiResponse<object> DeleteTransformerWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Remarks

    Delete an AI transformer and schemas by ID

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformers(int)

    Delete all transformers

    Declaration
    void DeleteTransformers(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Remarks

    Delete all AI transformers and schemas

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    DeleteTransformersWithHttpInfo(int)

    Delete all transformers

    Declaration
    ApiResponse<object> DeleteTransformersWithHttpInfo(int operationIndex = 0)
    Parameters
    Type Name Description
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<object>

    ApiResponse of Object(void)

    Remarks

    Delete all AI transformers and schemas

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ExportTransformerResults(ExportTransformerOptions, int)

    Export transformer results

    Declaration
    ExportTransformerResponse ExportTransformerResults(ExportTransformerOptions exportTransformerOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    ExportTransformerOptions exportTransformerOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ExportTransformerResponse

    ExportTransformerResponse

    Remarks

    Export AI transformer results in formats such as Excel, CSV, XML etc.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ExportTransformerResultsWithHttpInfo(ExportTransformerOptions, int)

    Export transformer results

    Declaration
    ApiResponse<ExportTransformerResponse> ExportTransformerResultsWithHttpInfo(ExportTransformerOptions exportTransformerOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    ExportTransformerOptions exportTransformerOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ExportTransformerResponse>

    ApiResponse of ExportTransformerResponse

    Remarks

    Export AI transformer results in formats such as Excel, CSV, XML etc.

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromAttachment(GenerateStructuredContentAttachmentOptions, int)

    Generate structured content for an attachment

    Declaration
    StructuredContentResultDto GenerateStructuredContentFromAttachment(GenerateStructuredContentAttachmentOptions generateStructuredContentAttachmentOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentAttachmentOptions generateStructuredContentAttachmentOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    StructuredContentResultDto

    StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an attachment using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromAttachmentWithHttpInfo(GenerateStructuredContentAttachmentOptions, int)

    Generate structured content for an attachment

    Declaration
    ApiResponse<StructuredContentResultDto> GenerateStructuredContentFromAttachmentWithHttpInfo(GenerateStructuredContentAttachmentOptions generateStructuredContentAttachmentOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentAttachmentOptions generateStructuredContentAttachmentOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<StructuredContentResultDto>

    ApiResponse of StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an attachment using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromEmail(GenerateStructuredContentEmailOptions, int)

    Generate structured content for an email

    Declaration
    StructuredContentResultDto GenerateStructuredContentFromEmail(GenerateStructuredContentEmailOptions generateStructuredContentEmailOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentEmailOptions generateStructuredContentEmailOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    StructuredContentResultDto

    StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an email using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromEmailWithHttpInfo(GenerateStructuredContentEmailOptions, int)

    Generate structured content for an email

    Declaration
    ApiResponse<StructuredContentResultDto> GenerateStructuredContentFromEmailWithHttpInfo(GenerateStructuredContentEmailOptions generateStructuredContentEmailOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentEmailOptions generateStructuredContentEmailOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<StructuredContentResultDto>

    ApiResponse of StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an email using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromSms(GenerateStructuredContentSmsOptions, int)

    Generate structured content for a TXT message

    Declaration
    StructuredContentResultDto GenerateStructuredContentFromSms(GenerateStructuredContentSmsOptions generateStructuredContentSmsOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentSmsOptions generateStructuredContentSmsOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    StructuredContentResultDto

    StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an SMS using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GenerateStructuredContentFromSmsWithHttpInfo(GenerateStructuredContentSmsOptions, int)

    Generate structured content for a TXT message

    Declaration
    ApiResponse<StructuredContentResultDto> GenerateStructuredContentFromSmsWithHttpInfo(GenerateStructuredContentSmsOptions generateStructuredContentSmsOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    GenerateStructuredContentSmsOptions generateStructuredContentSmsOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<StructuredContentResultDto>

    ApiResponse of StructuredContentResultDto

    Remarks

    Use output schemas to extract data from an SMS using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetExportTransformerResultsJob(Guid, int)

    Get export transformer results job

    Declaration
    ExportTransformerResultJobDto GetExportTransformerResultsJob(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ExportTransformerResultJobDto

    ExportTransformerResultJobDto

    Remarks

    Get the job status for an export

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetExportTransformerResultsJobWithHttpInfo(Guid, int)

    Get export transformer results job

    Declaration
    ApiResponse<ExportTransformerResultJobDto> GetExportTransformerResultsJobWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ExportTransformerResultJobDto>

    ApiResponse of ExportTransformerResultJobDto

    Remarks

    Get the job status for an export

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformer(Guid, int)

    Get a transformer

    Declaration
    AITransformDto GetTransformer(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformDto

    AITransformDto

    Remarks

    Get AI transformer and schemas by ID

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerMapping(Guid, int)

    Get transformer mapping

    Declaration
    AITransformMappingDto GetTransformerMapping(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformMappingDto

    AITransformMappingDto

    Remarks

    Get an AI transformer mapping

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerMappingWithHttpInfo(Guid, int)

    Get transformer mapping

    Declaration
    ApiResponse<AITransformMappingDto> GetTransformerMappingWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformMappingDto>

    ApiResponse of AITransformMappingDto

    Remarks

    Get an AI transformer mapping

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerMappings(Guid?, Guid?, string, int?, int?, string, int)

    Get transformer mappings

    Declaration
    PageAITransformMappingProjection GetTransformerMappings(Guid? aiTransformId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid? aiTransformId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageAITransformMappingProjection

    PageAITransformMappingProjection

    Remarks

    Get AI transformer mappings to other entities

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerMappingsWithHttpInfo(Guid?, Guid?, string, int?, int?, string, int)

    Get transformer mappings

    Declaration
    ApiResponse<PageAITransformMappingProjection> GetTransformerMappingsWithHttpInfo(Guid? aiTransformId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid? aiTransformId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageAITransformMappingProjection>

    ApiResponse of PageAITransformMappingProjection

    Remarks

    Get AI transformer mappings to other entities

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResult(Guid, int)

    Get transformer result

    Declaration
    AITransformResultDto GetTransformerResult(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform result

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformResultDto

    AITransformResultDto

    Remarks

    Get AI transformer result

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResultWithHttpInfo(Guid, int)

    Get transformer result

    Declaration
    ApiResponse<AITransformResultDto> GetTransformerResultWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform result

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformResultDto>

    ApiResponse of AITransformResultDto

    Remarks

    Get AI transformer result

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResults(Guid?, Guid?, string, Guid?, Guid?, Guid?, string, int?, int?, string, int)

    Get transformer results

    Declaration
    PageAITransformResultProjection GetTransformerResults(Guid? emailId = null, Guid? smsId = null, string attachmentId = null, Guid? aiTransformId = null, Guid? aiTransformMappingId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    Guid? aiTransformId

    (optional)

    Guid? aiTransformMappingId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageAITransformResultProjection

    PageAITransformResultProjection

    Remarks

    Get AI transformer results

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResultsTable(bool, bool, Guid?, Guid?, string, Guid?, Guid?, Guid?, string, int?, int?, string, int)

    Get transformer results table

    Declaration
    PageTableData GetTransformerResultsTable(bool includeMetaData, bool flattenArraysToRows, Guid? emailId = null, Guid? smsId = null, string attachmentId = null, Guid? aiTransformId = null, Guid? aiTransformMappingId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    bool includeMetaData
    bool flattenArraysToRows
    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    Guid? aiTransformId

    (optional)

    Guid? aiTransformMappingId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageTableData

    PageTableData

    Remarks

    Get AI transformer results in table format

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResultsTableWithHttpInfo(bool, bool, Guid?, Guid?, string, Guid?, Guid?, Guid?, string, int?, int?, string, int)

    Get transformer results table

    Declaration
    ApiResponse<PageTableData> GetTransformerResultsTableWithHttpInfo(bool includeMetaData, bool flattenArraysToRows, Guid? emailId = null, Guid? smsId = null, string attachmentId = null, Guid? aiTransformId = null, Guid? aiTransformMappingId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    bool includeMetaData
    bool flattenArraysToRows
    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    Guid? aiTransformId

    (optional)

    Guid? aiTransformMappingId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageTableData>

    ApiResponse of PageTableData

    Remarks

    Get AI transformer results in table format

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerResultsWithHttpInfo(Guid?, Guid?, string, Guid?, Guid?, Guid?, string, int?, int?, string, int)

    Get transformer results

    Declaration
    ApiResponse<PageAITransformResultProjection> GetTransformerResultsWithHttpInfo(Guid? emailId = null, Guid? smsId = null, string attachmentId = null, Guid? aiTransformId = null, Guid? aiTransformMappingId = null, Guid? entityId = null, string entityType = null, int? page = null, int? size = null, string sort = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    Guid? aiTransformId

    (optional)

    Guid? aiTransformMappingId

    (optional)

    Guid? entityId

    (optional)

    string entityType

    (optional)

    int? page

    (optional, default to 0)

    int? size

    Optional page size. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageAITransformResultProjection>

    ApiResponse of PageAITransformResultProjection

    Remarks

    Get AI transformer results

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformerWithHttpInfo(Guid, int)

    Get a transformer

    Declaration
    ApiResponse<AITransformDto> GetTransformerWithHttpInfo(Guid id, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformDto>

    ApiResponse of AITransformDto

    Remarks

    Get AI transformer and schemas by ID

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformers(int?, int?, string, List<Guid>, int)

    List transformers

    Declaration
    PageAITransformProjection GetTransformers(int? page = null, int? size = null, string sort = null, List<Guid> include = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    (optional, default to 0)

    int? size

    Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    List<Guid> include

    Optional list of IDs to include in result (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    PageAITransformProjection

    PageAITransformProjection

    Remarks

    List all AI transforms

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    GetTransformersWithHttpInfo(int?, int?, string, List<Guid>, int)

    List transformers

    Declaration
    ApiResponse<PageAITransformProjection> GetTransformersWithHttpInfo(int? page = null, int? size = null, string sort = null, List<Guid> include = null, int operationIndex = 0)
    Parameters
    Type Name Description
    int? page

    (optional, default to 0)

    int? size

    Optional page size in SMS list pagination. Maximum size is 100. Use page index and sort to page through larger results (optional, default to 20)

    string sort

    Optional createdAt sort direction ASC or DESC (optional, default to ASC)

    List<Guid> include

    Optional list of IDs to include in result (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<PageAITransformProjection>

    ApiResponse of PageAITransformProjection

    Remarks

    List all AI transforms

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    InvokeTransformer(InvokeTransformerOptions, int)

    Invoke a transformer

    Declaration
    ConditionalStructuredContentResult InvokeTransformer(InvokeTransformerOptions invokeTransformerOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    InvokeTransformerOptions invokeTransformerOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ConditionalStructuredContentResult

    ConditionalStructuredContentResult

    Remarks

    Execute an AI transformer to generate structured content

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    InvokeTransformerWithHttpInfo(InvokeTransformerOptions, int)

    Invoke a transformer

    Declaration
    ApiResponse<ConditionalStructuredContentResult> InvokeTransformerWithHttpInfo(InvokeTransformerOptions invokeTransformerOptions, int operationIndex = 0)
    Parameters
    Type Name Description
    InvokeTransformerOptions invokeTransformerOptions
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<ConditionalStructuredContentResult>

    ApiResponse of ConditionalStructuredContentResult

    Remarks

    Execute an AI transformer to generate structured content

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    TestTransformerMappingMatch(Guid, Guid?, Guid?, string, int)

    Test transformer mapping match result

    Declaration
    AITransformMappingMatchResult TestTransformerMappingMatch(Guid id, Guid? emailId = null, Guid? smsId = null, string attachmentId = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    AITransformMappingMatchResult

    AITransformMappingMatchResult

    Remarks

    Evaluate transform mapping match conditions for given email, sms, or attachment

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    TestTransformerMappingMatchWithHttpInfo(Guid, Guid?, Guid?, string, int)

    Test transformer mapping match result

    Declaration
    ApiResponse<AITransformMappingMatchResult> TestTransformerMappingMatchWithHttpInfo(Guid id, Guid? emailId = null, Guid? smsId = null, string attachmentId = null, int operationIndex = 0)
    Parameters
    Type Name Description
    Guid id

    ID of transform mapping

    Guid? emailId

    (optional)

    Guid? smsId

    (optional)

    string attachmentId

    (optional)

    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<AITransformMappingMatchResult>

    ApiResponse of AITransformMappingMatchResult

    Remarks

    Evaluate transform mapping match conditions for given email, sms, or attachment

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ValidateStructuredOutputSchema(StructuredOutputSchema, int)

    Validate structured content schema

    Declaration
    StructuredOutputSchemaValidation ValidateStructuredOutputSchema(StructuredOutputSchema structuredOutputSchema, int operationIndex = 0)
    Parameters
    Type Name Description
    StructuredOutputSchema structuredOutputSchema
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    StructuredOutputSchemaValidation

    StructuredOutputSchemaValidation

    Remarks

    Check if a schema is valid and can be used to extract data using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    View Source

    ValidateStructuredOutputSchemaWithHttpInfo(StructuredOutputSchema, int)

    Validate structured content schema

    Declaration
    ApiResponse<StructuredOutputSchemaValidation> ValidateStructuredOutputSchemaWithHttpInfo(StructuredOutputSchema structuredOutputSchema, int operationIndex = 0)
    Parameters
    Type Name Description
    StructuredOutputSchema structuredOutputSchema
    int operationIndex

    Index associated with the operation.

    Returns
    Type Description
    ApiResponse<StructuredOutputSchemaValidation>

    ApiResponse of StructuredOutputSchemaValidation

    Remarks

    Check if a schema is valid and can be used to extract data using AI

    Exceptions
    Type Condition
    ApiException

    Thrown when fails to make API call

    • View Source
    In this article
    Back to top See MailSlurp website for more information.