REST API
Planned programmatic API for Team and Enterprise. Not available during early access.
Planned — not available yet
This documents the intended design. Nothing here ships in the product today. Install the GitHub App and use the playground for what is live now.
Auth
Get a personal access token from app.bedrock.dev/settings/tokens. Pass it as Authorization: Bearer ....
POST /v1/reviews
bash
curl https://api.bedrock.dev/v1/reviews \
-H "Authorization: Bearer $BEDROCK_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"currentSchema": "model User { id String @id }",
"proposedSchema": "model User { id String @id email String }",
"appCodeRefs": "src/auth/login.ts:42",
"context": "Allow email login"
}'GET /v1/reviews/:id
Returns the full MigrationReview object (same shape as the “Raw JSON” tab in the analyzer).