ScoutRail Agent API
The Agent API from ScoutRail — 6 operation(s) for agent.
The Agent API from ScoutRail — 6 operation(s) for agent.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scoutrail-io:scoutrail-io-agent-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScoutRail public Agent API
version: 1.0.0
tags:
- name: Agent
paths:
/api/agent/v1/capabilities:
get:
operationId: get_agent_capabilities
security:
- {}
- bearer: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: Get agent capabilities
x-summary-source: derived
/api/agent/v1/markets:
get:
operationId: list_markets
security:
- {}
- bearer: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- markets
- availability
properties:
markets:
type: array
items:
type: object
required:
- id
- country
- status
- kind
additionalProperties: false
properties:
id:
type: string
country:
type: string
status:
type: string
kind:
type: string
availability:
type: string
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: List markets
x-summary-source: derived
/api/agent/v1/scout:
post:
operationId: scout_opportunities
security:
- {}
- bearer: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- business
properties:
business:
type: string
minLength: 3
maxLength: 500
markets:
type: array
minItems: 1
maxItems: 10
uniqueItems: true
items:
type: string
pattern: ^[a-z0-9-]{2,8}$
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
required:
- schema
- nextMove
- counts
- groups
properties:
schema:
type: string
const: scoutrail.answer/2
query:
type: string
pending:
type: boolean
description: True when more results are still being gathered; call again shortly for the complete list.
markets:
type: array
items:
type: object
enriched:
type: boolean
nextMove:
type:
- object
- 'null'
properties:
title:
type: string
detail:
type:
- string
- 'null'
scout:
type:
- object
- 'null'
opportunityId:
type:
- string
- 'null'
counts:
type: object
properties:
total:
type: integer
shown:
type: integer
lockedBriefs:
type: integer
groups:
type: array
items:
type: object
properties:
key:
type: string
label:
type: string
count:
type: integer
items:
type: array
items:
type: object
description: 'An opportunity. For full-data callers (MCP, WhatsApp) an unlocked item also carries `outreach`: how to reach the buyer and a drafted message to send.'
properties:
id:
type: string
title:
type: string
buyer:
type:
- string
- 'null'
classification:
type:
- string
- 'null'
deadline: {}
value: {}
evidence: {}
commercial: {}
links:
type: object
properties:
original:
type: string
actions:
type: array
items:
type: string
outreach:
type: object
description: Present on unlocked full-data items only.
properties:
contact:
type:
- object
- 'null'
properties:
channel:
type: string
value:
type: string
message:
type:
- object
- 'null'
properties:
subject:
type: string
body:
type: string
steps:
type: array
items:
type: string
subscribe:
type: object
description: 'How to hear about updates for this query. poll: re-call the tool (what a conversational agent does). push: backends with an https endpoint POST { query, callbackUrl } to push.url for signed webhook updates.'
properties:
query:
type: string
poll:
type: string
push:
type: object
properties:
url:
type: string
note:
type: string
sample:
type: boolean
description: True for the anonymous two-item projection.
meta:
type: object
properties:
source_text:
const: untrusted_data
contact_authority:
const: not_granted
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: Scout opportunities
x-summary-source: derived
/api/agent/v1/messages/validate:
post:
operationId: validate_business_message
security:
- {}
- bearer: []
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- command_json
properties:
command_json:
type: string
maxLength: 262144
description: Exact BRP command JSON, without canonical rewriting.
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- valid
- delivered
- admission
- authority
- protocol
- command_type
- checks
properties:
valid:
const: true
delivered:
const: false
admission:
const: not_checked
authority:
const: not_checked
protocol:
const: brp/0.1
command_type:
type: string
checks:
type: array
items:
enum:
- strict_json
- closed_command_schema
- dates
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: Validate business message
x-summary-source: derived
/api/agent/v1/openapi.json:
get:
operationId: openapi_json
security:
- {}
- bearer: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: Openapi json
x-summary-source: derived
/api/agent/v1/schemas/business-message-0.1.json:
get:
operationId: schemas_business_message_____json
security:
- {}
- bearer: []
responses:
'200':
description: Success
content:
application/json:
schema:
type: object
additionalProperties: true
default:
description: RFC 9457 problem. Validation failures include valid:false.
content:
application/problem+json:
schema:
type: object
required:
- type
- title
- status
- code
- request_id
- retryable
properties:
type:
type: string
title:
type: string
status:
type: integer
code:
type: string
request_id:
type: string
retryable:
type: boolean
valid:
const: false
tags:
- Agent
summary: Schemas business message json
x-summary-source: derived
components:
securitySchemes:
bearer:
type: http
scheme: bearer
description: Research-only API key. Never room authority.