Search the directory
--environment production.
This example finds compute services that accept MPP through InFlow.
suggest.
suggest accepts the same flags, except --next. For the listing fields, see The InFlow directory.
Read a service
inspect shows the catalog operations that a service supports.
--language sets a preferred response language. The CLI sends it as Accept-Language.
Read offerings and collections
list and search return pages. To get the next page, pass the --next value from the response.
Filter and sort a search
A service advertises its own filters and sorts. Read them before you use--filter or --sort.
Search many services at once
offerings discover selects services from the directory. Then it searches the offerings of each service.
Resolve an action
resolve turns one offering action, for example a purchase, into an executable request. It does not invoke the action.
Use an OpenAPI service
Some listings come from an OpenAPI document, not an ODP document. For these services, useinflow openapi operations. The source is an HTTPS origin or the exact URL of a public OpenAPI JSON document.
Select one operation with
--operation-id, or with --method and --path together.
Enroll with a service
The CLI stores the AEP credential in the vault. The vault must be unlocked.1
Inspect the service
inspect needs no authentication. It shows the advertised commands and credential types.did:web reference.2
Enroll
--approval-id.3
Fetch a protected resource
fetch for normal access. It authenticates with AEP when the service challenges the request.Useful flags on aep fetch
Manage credentials
Use
grant and revoke only when you manage credentials directly. grant uses the first credential type in the inspect output. To choose a different type, pass --grant-type. To ask for a scope, pass --scope, which repeats.
revoke accepts --credential-id for one credential, or --grant-type for one type.
Troubleshooting
A command reports that the vault is locked
A command reports that the vault is locked
The owner must run
inflow vault unlock in a terminal.The enrollment waits and then fails
The enrollment waits and then fails
The owner did not approve it within 900 seconds. Run
inflow aep enroll again. Give the new approval URL to the owner at once.The search returns no services
The search returns no services
Run
inflow auth status to check the environment. In the sandbox, add --environment production to search production.Next, remove the filters one at a time. Then try inflow directory suggest with a shorter prefix.A filter or a sort has no effect
A filter or a sort has no effect
The service does not advertise it. Run
inflow odp offerings capabilities. Use only the identifiers that it returns.Next step
Pay for a resource
Pay an MPP or x402 endpoint and get the response.