@@ -4,22 +4,22 @@ All URIs are relative to *https://developers.hostinger.com*
44
55Method | HTTP request | Description
66------------- | ------------- | -------------
7- [ ** get_website_scan_v1 ** ] ( AgentReadinessScansApi.md#get_website_scan_v1 ) | ** GET** /api/agent-readiness/v1/scans/{domain} | Get website scan
8- [ ** run_website_scan_v1 ** ] ( AgentReadinessScansApi.md#run_website_scan_v1 ) | ** POST** /api/agent-readiness/v1/scans | Run website scan
7+ [ ** get_agent_readiness_scan_v1 ** ] ( AgentReadinessScansApi.md#get_agent_readiness_scan_v1 ) | ** GET** /api/agent-readiness/v1/scans/{domain} | Get agent readiness scan
8+ [ ** run_agent_readiness_scan_v1 ** ] ( AgentReadinessScansApi.md#run_agent_readiness_scan_v1 ) | ** POST** /api/agent-readiness/v1/scans | Run agent readiness scan
99
1010
11- # ** get_website_scan_v1 **
12- > AgentReadinessV1ScansScanResource get_website_scan_v1 (domain)
11+ # ** get_agent_readiness_scan_v1 **
12+ > AgentReadinessV1ScansScanResource get_agent_readiness_scan_v1 (domain)
1313
14- Get website scan
14+ Get agent readiness scan
1515
1616Get the latest agent readiness scan of a website.\n
17- Scans started with the ` Run website scan ` operation are asynchronous. While the status is ` pending ` ,
18- the result fields are null; wait a few seconds and call this operation again until the status is
17+ Scans started with the ` Run agent readiness scan ` operation are asynchronous. While the status is
18+ ` pending ` , the result fields are null; wait a few seconds and call this operation again until the status is
1919` completed ` or ` failed ` . A ` failed ` scan is not retried; run the scan again.\n
2020A completed scan has a 0-100 score, a letter grade, a score per category, and the result of every
2121check with the evidence found and how to fix it. Check names are listed by the ` List checks ` operation.\n
22- Returns 404 when the domain has never been scanned; use the ` Run website scan ` operation first.
22+ Returns 404 when the domain has never been scanned; use the ` Run agent readiness scan ` operation first.
2323
2424### Example
2525
@@ -44,12 +44,12 @@ with hostinger_api.ApiClient(configuration) as api_client:
4444 domain = ' example.com' # str | Domain name the scan was run for
4545
4646 try :
47- # Get website scan
48- api_response = api_instance.get_website_scan_v1 (domain)
49- print (" The response of AgentReadinessScansApi->get_website_scan_v1 :\n " )
47+ # Get agent readiness scan
48+ api_response = api_instance.get_agent_readiness_scan_v1 (domain)
49+ print (" The response of AgentReadinessScansApi->get_agent_readiness_scan_v1 :\n " )
5050 pprint(api_response)
5151 except Exception as e:
52- print (" Exception when calling AgentReadinessScansApi->get_website_scan_v1 : %s \n " % e)
52+ print (" Exception when calling AgentReadinessScansApi->get_agent_readiness_scan_v1 : %s \n " % e)
5353```
5454
5555
@@ -84,15 +84,15 @@ Name | Type | Description | Notes
8484
8585[[ Back to top]] ( # ) [[ Back to API list]] ( ../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../README.md#documentation-for-models ) [[ Back to README]] ( ../README.md )
8686
87- # ** run_website_scan_v1 **
88- > AgentReadinessV1ScansScanResource run_website_scan_v1 (agent_readiness_v1_scans_run_scan_request)
87+ # ** run_agent_readiness_scan_v1 **
88+ > AgentReadinessV1ScansScanResource run_agent_readiness_scan_v1 (agent_readiness_v1_scans_run_scan_request)
8989
90- Run website scan
90+ Run agent readiness scan
9191
9292Start a scan of how ready a public website is for AI agents to discover, read and act on.\n
9393Scanning is asynchronous: this operation only starts the scan, and the returned scan is usually ` pending `
94- with no results yet. To get the results, poll the ` Get website scan ` operation with the same domain every
95- few seconds until its status is ` completed ` or ` failed ` . The scan itself is limited to 60 seconds,
94+ with no results yet. To get the results, poll the ` Get agent readiness scan ` operation with the same
95+ domain every few seconds until its status is ` completed ` or ` failed ` . The scan itself is limited to 60 seconds,
9696plus any time it waits in the queue. A ` failed ` scan is not retried; run this operation again.\n
9797Starting a scan for a domain that already has a pending scan from the last 5 minutes
9898returns that scan instead of starting a new one.
@@ -121,12 +121,12 @@ with hostinger_api.ApiClient(configuration) as api_client:
121121 agent_readiness_v1_scans_run_scan_request = hostinger_api.AgentReadinessV1ScansRunScanRequest() # AgentReadinessV1ScansRunScanRequest |
122122
123123 try :
124- # Run website scan
125- api_response = api_instance.run_website_scan_v1 (agent_readiness_v1_scans_run_scan_request)
126- print (" The response of AgentReadinessScansApi->run_website_scan_v1 :\n " )
124+ # Run agent readiness scan
125+ api_response = api_instance.run_agent_readiness_scan_v1 (agent_readiness_v1_scans_run_scan_request)
126+ print (" The response of AgentReadinessScansApi->run_agent_readiness_scan_v1 :\n " )
127127 pprint(api_response)
128128 except Exception as e:
129- print (" Exception when calling AgentReadinessScansApi->run_website_scan_v1 : %s \n " % e)
129+ print (" Exception when calling AgentReadinessScansApi->run_agent_readiness_scan_v1 : %s \n " % e)
130130```
131131
132132
0 commit comments