1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAiSearchToken
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 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,
                            id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetAiSearchTokenResult
    def get_ai_search_token_output(account_id: Optional[pulumi.Input[str]] = None,
                            id: Optional[pulumi.Input[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

    The following arguments are supported:

    AccountId string
    Id string
    The ID of this resource.
    AccountId string
    Id string
    The ID of this resource.
    accountId String
    id String
    The ID of this resource.
    accountId string
    id string
    The ID of this resource.
    account_id str
    id str
    The ID of this resource.
    accountId String
    id String
    The ID of this resource.

    getAiSearchToken Result

    The following output properties are available:

    AccountId string
    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
    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
    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
    cfApiId string
    createdAt string
    createdBy string
    enabled boolean
    id string
    The ID of this resource.
    legacy boolean
    modifiedAt string
    modifiedBy string
    name string
    account_id str
    cf_api_id str
    created_at str
    created_by str
    enabled bool
    id str
    The ID of this resource.
    legacy bool
    modified_at str
    modified_by str
    name str
    accountId String
    cfApiId String
    createdAt String
    createdBy String
    enabled Boolean
    id String
    The ID of this resource.
    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.