get_submission_metadata
Stream submission metadata for a Nettskjema form as newline-delimited JSON without answers to bulk export submission-level fields or identify submissions before fetching their answers.
Instructions
Stream all submission metadata for a form, as newline-delimited JSON.
Returns metadata without answers: use this for bulk export of submission-level fields or to find which submissions exist before fetching their answers. This streams NDJSON (one JSON object per line), so a large form's metadata is never held whole in memory. The result is capped at max_rows to bound context size: check the returned truncated field to see if more data exists.
Distinct from get_postponed_submission_metadata, which returns postponed submission metadata only. The relationship between the two result sets (whether this endpoint includes or excludes postponed submissions) is not specified by the API documentation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | The form's numeric ID. | |
| max_rows | No | Maximum number of rows to return. Defaults to this MCP server's configured limit (1000). When the cap is reached, truncated is set to true and reason is "rowCap". The caller may raise this limit arbitrarily by passing a larger value. | |
| optimize_for_large_data | No | Request optimization for large datasets. | |
| submission_ids_greater_than | No | Only include submissions with IDs above this value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |