Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agentcash.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

The discover_api_endpoints tool fetches the OpenAPI document from an origin and returns a list of all available endpoints. Works with any origin that publishes a spec, not just the pre-indexed ones. Equivalent CLI command: npx agentcash discover <url>

Parameters

url
string
required
The origin URL to discover endpoints on (e.g., https://stableenrich.dev).

Response

origin
string
The origin that was queried.
endpoints
object[]
List of discovered endpoints.
instructions
string
Usage instructions from the origin, if provided.

Behavior

  1. Fetches /openapi.json from the origin (falls back to /.well-known/x402)
  2. Parses the OpenAPI document and its x-payment-info annotations
  3. Returns endpoints with their descriptions, pricing, and accepted protocols

Known origins

These origins are pre-indexed and available by default:
  • stableenrich.dev
  • stablesocial.dev
  • stablestudio.dev
  • stableupload.dev
  • stableemail.dev

Example

Ask your agent:
Discover all available endpoints on stableenrich.dev using AgentCash.