List every route
GET
/api
const url = 'http://127.0.0.1:8765/api';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://127.0.0.1:8765/apiIndex of every route (method, path, effect, one line) plus the spec and agent-guide links. Start here. Every route this server answers, with its effect and cost class; follow openapi for parameters, schemas and error codes.
Responses
Section titled “Responses”Success.
Media typeapplication/json
object
schema_version
required
key
additional properties
any
Example
{ "llms": "/llms.txt", "openapi": "/api/openapi.json", "routes": [ { "effect": "read", "external": "none", "method": "GET", "path": "/api/health", "summary": "Liveness." } ], "schema_version": "scout-api-index:1"}Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}