1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAiSearchTokens
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 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,
                             opts: Optional[InvokeOptions] = None) -> GetAiSearchTokensResult
    def get_ai_search_tokens_output(account_id: Optional[pulumi.Input[str]] = None,
                             max_items: Optional[pulumi.Input[int]] = 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
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getAiSearchTokens Result

    The following output properties are available:

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

    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.14.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.