Schema Service
List Schema
POST
Models written to Permify using the write schema API can be listed using this API with the timestamps at which the models were created.
Request needs to be made to the API endpoint /v1/schemas/list to list all the models.
Example Request on Postman
POST /v1/tenants/{tenant_id}/schemas/list
Path Parameters
Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \“[a-zA-Z0-9-,]+\“, max 64 bytes.
Body
application/json
SchemaListRequest is the request message for the List method in the Schema service. It contains tenant_id for which the schemas are to be listed.
Response
200
application/json
A successful response.
The response is of type object
.