Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/content/getting-started/perform-check.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,12 @@ To check whether user `user:anne` has relationship `reader` with object `documen
]}
/>

The result's `allowed` field will return `true` if the relationship exists and `false` if the relationship does not exist.
The result's `allowed` field will be:
- `true` if the relationship exists.
- `false` if the relation is defined in your model but no matching tuple exists.

If the relation is *not defined* in your model, the API will return a `400 Bad Request` instead of `false`.
Comment on lines +166 to +170
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title/description indicate that the example relation in this page was changed from can_view to reader, but this diff only updates the explanatory text about the allowed result. If the relation change is already present on the base branch, consider updating the PR title/description to match what’s actually being changed; if not, the intended can_viewreader change appears to be missing from this PR.

Copilot uses AI. Check for mistakes.


### 03. Calling Batch Check API

Expand Down
Loading