What is GRAPI? #
The M-Files API Suite GRAPI (GraphQL API) is a modern, high-performance GraphQL service built on .NET 8.0 and HotChocolate that provides a flexible and powerful interface to M-Files vault data.
GRAPI automatically generates strongly-typed GraphQL schemas from your M-Files vault structure, enabling advanced querying capabilities with comprehensive filtering, intelligent sorting, and optimized nested object resolution.
Key Capabilities #
- Dynamic Schema Generation: Automatically creates strongly-typed GraphQL schemas from M-Files vault metadata
- Multi-Vault Support: Query multiple M-Files vaults through a single GraphQL endpoint with vault-specific namespacing
- Advanced Filtering: Comprehensive where clause support with nested conditions on all object properties
- Intelligent Lookup Resolution: Automatic nested object resolution with smart depth calculation
- Real-time Data Access: Direct integration with M-Files via high-performance TRAPI service
- Type Safety: Strongly-typed GraphQL schema with proper scalar types and validation
- Hot Schema Refresh: Runtime schema updates without service restart
- Rich Query Capabilities: Support for complex filtering, sorting, and field selection
- Performance Optimized: Intelligent lookup depth calculation, query optimization, and response caching