Metadata
Metadata stores descriptive information about your content (name, subject, title, authors, etc.).
Each aspect defined in the configuration has associated metadata. That metadata can be used in the GQL conditions to filter and search the content.
Syntax
To reference a metadata, use the format:
<aspect_name>.<metadata_name>
For instance: core.name, standard.title
Default metadata
Two aspects are available by default on every content:
core aspect
The core metadata holds the system information of the content:
| Metadata | Description |
|---|---|
| name | Name of the content |
| object_type | Type of content (usually the main aspect) |
| object_id | Unique internal ID of the content |
| root_id | Root ID shared in a version tree |
| primary_format_extension | Extension of the primary format (e.g. pdf, docx) |
| primary_format_size | Size of the primary file in bytes |
| modifier | Name of the user who made the last change |
| creation_date | Date and time of creation |
| modification_date | Date and time of the last change |
| version | Version number of the content |
| version_tags | Tags associated with the version |
| aspects | List of the aspects applied to the content |
standard aspect
The standard metadata holds the common business information:
| Metadata | Description |
|---|---|
| title | Title of the content |
| subject | Subject of the content |
| authors | List of the authors of the content |
| status | Status of the content (e.g. Approved, Draft) |
| keywords | Keywords related to the content |
Query examples
Search approved PDFs
Query every PDF document with the subject 'installation' and the status 'Approved':
SELECT * FROM documents
WHERE core.primary_format_extension = 'pdf'
AND standard.subject LIKE '*installation'
AND standard.status = 'Approved'
Search by creation date
Retrieve the contents created in the last 30 days:
SELECT * FROM documents
WHERE core.creation_date >= '2026-06-09'
ORDER BY core.creation_date DESC
Search by author
Find every document of a specific author:
SELECT * FROM documents
WHERE standard.authors LIKE '*Jean Dupont*'
Custom aspects
Beyond the standard core and standard aspects, you can create custom aspects through the configuration. The metadata of these aspects follows the same query format.