Domain Detective

API Reference

Class

AgentReadinessAnalysis

Namespace DomainDetective
Assembly DomainDetective
Implements
Modifiers sealed

Assesses whether a website exposes machine-readable resources useful to AI crawlers and agents.

Inheritance

  • Object
  • AgentReadinessAnalysis

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public async Task AnalyzeAsync(String subject, InternalLogger logger = null, AgentReadinessOptions options = null, CancellationToken cancellationToken = null) #
Returns: Task

Executes the agent readiness scan.

Parameters

subject System.String requiredposition: 0
logger DomainDetective.InternalLogger = null optionalposition: 1
options DomainDetective.AgentReadinessOptions = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = null optionalposition: 3

Properties

public String Subject { get; set; } #

Subject that was analyzed.

public Uri OriginUri { get; set; } #

Origin URL selected for the scan.

public String MainPageUrl { get; set; } #

Final main page URL after redirects.

public Nullable<Int32> MainPageStatusCode { get; set; } #

Main page status code.

public String MainPageContentType { get; set; } #

Main page content type.

public Boolean HttpsUsed { get; } #

True when the selected origin used HTTPS.

public Boolean RobotsPresent { get; set; } #

True when robots.txt was found.

public RobotsFile Robots { get; set; } #

Parsed robots.txt when present.

public String RobotsContent { get; set; } #

Raw robots.txt content when present.

public List<ContentSignalPolicy> ContentSignals { get; } #

Content-Signal policies found in robots.txt or HTTP headers.

public List<AgentReadinessLinkRelation> LinkRelations { get; } #

Parsed Link header relations from the main page and agent-facing documents.

public List<AgentReadinessEndpointProbe> EndpointProbes { get; } #

Well-known and linked endpoint probes.

public MarkdownNegotiationResult Markdown { get; } #

Markdown negotiation result.

public Int32 TrustHeaderCount { get; set; } #

Number of security/trust headers found on the main page response.

public Int32 TrustHeaderTotal { get; set; } #

Number of trust headers evaluated.

public List<AgentReadinessCheck> Checks { get; } #

Individual checks used by the score.

public List<AgentReadinessCategoryScore> CategoryScores { get; } #

Category rollups.

public Double Score { get; set; } #

Total readiness score from 0 to 100.

public virtual List<Assessment> Assessments { get; } #

Structured assessments captured during the analysis.

public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #

Actionable recommendations derived from assessments.

public Func<HttpMessageHandler> HttpHandlerFactory { get; set; } #

Factory for HTTP message handlers; mainly useful for tests.

{{ include "footer" }}