Preview an intent without proposing it
POST/intents/preview
Runs 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 on the
token, so a user can shape the text before granting the write permission. The caller must
still be allowed to propose on the resource, and for a syndicate-owned token the application's
Installation scope ceiling still applies (an install granted only read:syndicates cannot
preview a write:syndicates action: 403 insufficient_scope). Same request body as
POST /intents (without idempotency_key). Errors are the same as POST /intents would give.
Request
Responses
- 200
- 401
- 403
- 422
The proposal would be accepted.
Authentication required or token is invalid/expired. This error occurs when:
- No Authorization header is provided
- The access token is invalid or malformed
- The access token has expired
- The access token has been revoked
To resolve: Obtain a new access token using the OAuth 2.0 flow.
The authenticated user does not have permission to access this resource. This typically means:
- The user is authenticated but lacks the required OAuth scope
- The resource belongs to a different user
- The user's role doesn't allow this operation
Check that your OAuth token includes the necessary scopes for this endpoint.
The handler refused it; error.message is the reason.