Skip to main content
POST /v1/run executes operations registered in the fetchbean catalog. You identify an operation by its provider and endpoint, and fetchbean validates input against that operation’s schema before calling it. The result keeps the operation’s provider-specific shape instead of applying the normalized shape used by provider-independent tools. /v1/run does not accept arbitrary upstream URLs or undocumented provider methods. Use GET /discover, the catalog, or the OpenAPI specification to find registered operations and their input schemas.

Request format

The request body accepts these fields. provider and endpoint are required; input defaults to an empty object.

Examples

Finding an operation

Use the current catalog and connection reference:

Catalog

Every registered operation, with parameters, credit cost, and a ready-to-run curl example.

Connections

The providers that run on your own account, and what each needs to connect.
Not sure which operation to use? Call GET /discover?q=your+task. It is public, needs no key, and returns ranked matches with the provider and endpoint to pass to run.

Providers that need your own account

Managed operations use credentials fetchbean supplies. Operations that act on your account require a connection first. discover flags these, and a run against an unconnected provider fails with credential_required and is billed zero. See Connections.