API Reference
Auto-generated
Agent Visibility
API reference for agent visibility endpoints.
Auto-generated
This page was generated from the OpenAPI spec. Run
make generate-docs to refresh after spec changes.POST /api/v1/agent-visibility
POST
/api/v1/agent-visibilityCheck what AI agents are served by one hostname
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| hostname | string | Required | Hostname |
| turnstile_token | string | Optional | turnstile_token |
Request Example
Bash
curl -X POST https://api.alterlab.io/api/v1/agent-visibility \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"hostname": "example_hostname"
}'Response Example
JSON
{
"status": "ok"
}GET /api/v1/agent-visibility/cached
GET
/api/v1/agent-visibility/cachedCached agent-visibility result only; never runs a scan
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| hostname | string | Required | hostname |
Request Example
Bash
curl -X GET 'https://api.alterlab.io/api/v1/agent-visibility/cached?hostname=<hostname>' \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"Response Example
JSON
{
"status": "ok"
}