API Reference
Endpoint Scans
Configure and scan deployed HTTP agents.
Endpoint Scans
Endpoint configurations
| Method | Returns |
|---|---|
endpointConfigs.create(input) | { id: string } |
endpointConfigs.list(workspaceId?) | AgentConfigListResponse |
endpointConfigs.update(configId, input) | { success: boolean } |
endpointConfigs.delete(configId) | { success: boolean } |
AgentConfigInput includes the endpoint URL, authentication method, request and response mapping, description, full tool definitions, and optional workspace.
Endpoint scans
| Method | Returns |
|---|---|
endpointScans.create(configId) | Scan and workflow identifiers |
endpointScans.get(scanId, signal?) | AgentScanResult |
endpointScans.list(workspaceId?) | AgentScanListResponse |
endpointScans.wait(scanId, options?) | AgentScanResult |
endpointScans.run(configId, options?) | Completed AgentScanResult |
endpointScans.cancel(scanId) | { success: boolean } |
The older agentConfigs and agentScans names call the same API objects.