Intents
Preview an intent without proposing it
Changed onRuns every check POST /intents runs — the action's feature flag, resource type and id, token binding, who may propose, and the handler's own validation — and returns what the reviewer would read, without minting anything. The draft step for agents: admitted by any proposing scope or read:explore, and the action's own scope is not required, so a user can shape the text before granting the write permission. Same request body as POST /intents (without idempotency_key). Errors are the same as POST /intents would give.
post/intents/preview
Request
- Base URL: https://api.wefunder.com
- URL: https://api.wefunder.com/intents/preview
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: read:explore)
- OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: write:syndicates)
- OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: write:comments)
Request body
Response
The proposal would be accepted.
Changes
- info
the security scope
read:explorewas added to the endpoint's security schemebearerAuth - info
the security scope
write:commentswas removed from the endpoint's security schemebearerAuth
- info
- info
endpoint added
- info