1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getAiSearchTokens
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi

    Using getAiSearchTokens

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAiSearchTokens(args: GetAiSearchTokensArgs, opts?: InvokeOptions): Promise<GetAiSearchTokensResult>
    function getAiSearchTokensOutput(args: GetAiSearchTokensOutputArgs, opts?: InvokeOptions): Output<GetAiSearchTokensResult>
    def get_ai_search_tokens(account_id: Optional[str] = None,
                             max_items: Optional[int] = None,
                             search: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAiSearchTokensResult
    def get_ai_search_tokens_output(account_id: pulumi.Input[Optional[str]] = None,
                             max_items: pulumi.Input[Optional[int]] = None,
                             search: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetAiSearchTokensResult]
    func LookupAiSearchTokens(ctx *Context, args *LookupAiSearchTokensArgs, opts ...InvokeOption) (*LookupAiSearchTokensResult, error)
    func LookupAiSearchTokensOutput(ctx *Context, args *LookupAiSearchTokensOutputArgs, opts ...InvokeOption) LookupAiSearchTokensResultOutput

    > Note: This function is named LookupAiSearchTokens in the Go SDK.

    public static class GetAiSearchTokens 
    {
        public static Task<GetAiSearchTokensResult> InvokeAsync(GetAiSearchTokensArgs args, InvokeOptions? opts = null)
        public static Output<GetAiSearchTokensResult> Invoke(GetAiSearchTokensInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiSearchTokensResult> getAiSearchTokens(GetAiSearchTokensArgs args, InvokeOptions options)
    public static Output<GetAiSearchTokensResult> getAiSearchTokens(GetAiSearchTokensArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAiSearchTokens:getAiSearchTokens
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter tokens whose name contains this string (case-insensitive).
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter tokens whose name contains this string (case-insensitive).
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    search String
    Filter tokens whose name contains this string (case-insensitive).
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    search string
    Filter tokens whose name contains this string (case-insensitive).
    account_id str
    max_items int
    Max items to fetch, default: 1000
    search str
    Filter tokens whose name contains this string (case-insensitive).
    accountId String
    maxItems Number
    Max items to fetch, default: 1000
    search String
    Filter tokens whose name contains this string (case-insensitive).

    getAiSearchTokens Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetAiSearchTokensResult>
    The items returned by the data source
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter tokens whose name contains this string (case-insensitive).
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetAiSearchTokensResult
    The items returned by the data source
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Search string
    Filter tokens whose name contains this string (case-insensitive).
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetAiSearchTokensResult>
    The items returned by the data source
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    search String
    Filter tokens whose name contains this string (case-insensitive).
    id string
    The provider-assigned unique ID for this managed resource.
    results GetAiSearchTokensResult[]
    The items returned by the data source
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    search string
    Filter tokens whose name contains this string (case-insensitive).
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetAiSearchTokensResult]
    The items returned by the data source
    account_id str
    max_items int
    Max items to fetch, default: 1000
    search str
    Filter tokens whose name contains this string (case-insensitive).
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    accountId String
    maxItems Number
    Max items to fetch, default: 1000
    search String
    Filter tokens whose name contains this string (case-insensitive).

    Supporting Types

    GetAiSearchTokensResult

    CfApiId string
    CreatedAt string
    CreatedBy string
    Enabled bool
    Id string
    Legacy bool
    ModifiedAt string
    ModifiedBy string
    Name string
    CfApiId string
    CreatedAt string
    CreatedBy string
    Enabled bool
    Id string
    Legacy bool
    ModifiedAt string
    ModifiedBy string
    Name string
    cfApiId String
    createdAt String
    createdBy String
    enabled Boolean
    id String
    legacy Boolean
    modifiedAt String
    modifiedBy String
    name String
    cfApiId string
    createdAt string
    createdBy string
    enabled boolean
    id string
    legacy boolean
    modifiedAt string
    modifiedBy string
    name string
    cfApiId String
    createdAt String
    createdBy String
    enabled Boolean
    id String
    legacy Boolean
    modifiedAt String
    modifiedBy String
    name String

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.15.0
    published on Saturday, May 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.