1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getAiSearchToken
Viewing docs for Cloudflare v6.17.0
published on Friday, May 22, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.17.0
published on Friday, May 22, 2026 by Pulumi

    Using getAiSearchToken

    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 getAiSearchToken(args: GetAiSearchTokenArgs, opts?: InvokeOptions): Promise<GetAiSearchTokenResult>
    function getAiSearchTokenOutput(args: GetAiSearchTokenOutputArgs, opts?: InvokeOptions): Output<GetAiSearchTokenResult>
    def get_ai_search_token(account_id: Optional[str] = None,
                            filter: Optional[GetAiSearchTokenFilter] = None,
                            id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAiSearchTokenResult
    def get_ai_search_token_output(account_id: pulumi.Input[Optional[str]] = None,
                            filter: pulumi.Input[Optional[GetAiSearchTokenFilterArgs]] = None,
                            id: pulumi.Input[Optional[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetAiSearchTokenResult]
    func LookupAiSearchToken(ctx *Context, args *LookupAiSearchTokenArgs, opts ...InvokeOption) (*LookupAiSearchTokenResult, error)
    func LookupAiSearchTokenOutput(ctx *Context, args *LookupAiSearchTokenOutputArgs, opts ...InvokeOption) LookupAiSearchTokenResultOutput

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

    public static class GetAiSearchToken 
    {
        public static Task<GetAiSearchTokenResult> InvokeAsync(GetAiSearchTokenArgs args, InvokeOptions? opts = null)
        public static Output<GetAiSearchTokenResult> Invoke(GetAiSearchTokenInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiSearchTokenResult> getAiSearchToken(GetAiSearchTokenArgs args, InvokeOptions options)
    public static Output<GetAiSearchTokenResult> getAiSearchToken(GetAiSearchTokenArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAiSearchToken:getAiSearchToken
      arguments:
        # arguments dictionary
    data "cloudflare_getaisearchtoken" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Filter GetAiSearchTokenFilter
    Id string
    The ID of this resource.
    AccountId string
    Filter GetAiSearchTokenFilter
    Id string
    The ID of this resource.
    account_id string
    filter object
    id string
    The ID of this resource.
    accountId String
    filter GetAiSearchTokenFilter
    id String
    The ID of this resource.
    accountId string
    filter GetAiSearchTokenFilter
    id string
    The ID of this resource.
    account_id str
    filter GetAiSearchTokenFilter
    id str
    The ID of this resource.
    accountId String
    filter Property Map
    id String
    The ID of this resource.

    getAiSearchToken Result

    The following output properties are available:

    CfApiId string
    CreatedAt string
    CreatedBy string
    Enabled bool
    Id string
    The ID of this resource.
    Legacy bool
    ModifiedAt string
    ModifiedBy string
    Name string
    AccountId string
    Filter GetAiSearchTokenFilter
    CfApiId string
    CreatedAt string
    CreatedBy string
    Enabled bool
    Id string
    The ID of this resource.
    Legacy bool
    ModifiedAt string
    ModifiedBy string
    Name string
    AccountId string
    Filter GetAiSearchTokenFilter
    cf_api_id string
    created_at string
    created_by string
    enabled bool
    id string
    The ID of this resource.
    legacy bool
    modified_at string
    modified_by string
    name string
    account_id string
    filter object
    cfApiId String
    createdAt String
    createdBy String
    enabled Boolean
    id String
    The ID of this resource.
    legacy Boolean
    modifiedAt String
    modifiedBy String
    name String
    accountId String
    filter GetAiSearchTokenFilter
    cfApiId string
    createdAt string
    createdBy string
    enabled boolean
    id string
    The ID of this resource.
    legacy boolean
    modifiedAt string
    modifiedBy string
    name string
    accountId string
    filter GetAiSearchTokenFilter
    cfApiId String
    createdAt String
    createdBy String
    enabled Boolean
    id String
    The ID of this resource.
    legacy Boolean
    modifiedAt String
    modifiedBy String
    name String
    accountId String
    filter Property Map

    Supporting Types

    GetAiSearchTokenFilter

    Search string
    Filter tokens whose name contains this string (case-insensitive).
    Search string
    Filter tokens whose name contains this string (case-insensitive).
    search string
    Filter tokens whose name contains this string (case-insensitive).
    search String
    Filter tokens whose name contains this string (case-insensitive).
    search string
    Filter tokens whose name contains this string (case-insensitive).
    search str
    Filter tokens whose name contains this string (case-insensitive).
    search String
    Filter tokens whose name contains this string (case-insensitive).

    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.17.0
    published on Friday, May 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial