from retab import Retab client = Retab() templates = client.edit.templates.list(limit=10) for template in templates.data: print(f"{template.id}: {template.name} ({template.field_count} fields)") filtered = client.edit.templates.list( filename="w9", mime_type="application/pdf", limit=20, )
{ "object": "list", "data": [ { "id": "edittplt_abc123", "name": "W-9 2025", "file": { "id": "file_123", "filename": "w9.pdf", "mime_type": "application/pdf" }, "form_fields": [], "field_count": 18, "organization_id": "org_abc123", "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:30:00Z" } ], "first_id": "edittplt_abc123", "last_id": "edittplt_abc123", "has_more": false }
List edit templates with pagination and optional filtering.
asc
desc
application/pdf
created_at
name
Items per page
1 <= x <= 100
Include embeddings in the response
Successful Response
Show child attributes