Get document or group details
get_documentRetrieve complete details and field values for documents, templates, template groups, or document groups. Specify the entity ID and optional type to fetch information.
Instructions
Get full document, template, template group or document group information with field values
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | ID of the document, template, template group or document group to retrieve | |
| entity_type | No | Type of entity: 'document', 'template', 'template_group' or 'document_group' (optional). If not provided, will be determined automatically |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_updated | Yes | Unix timestamp of the last update | |
| entity_id | Yes | Document group ID | |
| group_name | Yes | Name of the document group | |
| entity_type | Yes | Type of entity: 'document' or 'document_group' | |
| invite | No | Unified invite info | |
| freeform_invite_id | No | Freeform invite ID, if a freeform invite exists on this entity | |
| documents | Yes | List of documents in this group |