Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
- Get tenants to fetch more than one tenant at a time.
- Get tenant by ID
- Search for tenants
tenant:read
Get tenants
Our API allows you to fetch tenants as a collection using thetenants query in GraphQL. This endpoint supports Pagination.
Query
Variables
Get tenant by ID
If you know the tenant’s ID in Plain you can use this method to fetch the tenant. Generally speaking it’s preferable to use upsert when you have the full details of the tenant.Query
Variables
Search for tenants
ThesearchTenants query lets you do a case-insensitive partial match on a tenant’s name as well as an exact match on its external ID. The search term must be at least 2 characters long.
Query
Variables

