---
title: "Workflows in the Fulldev API"
description: "Every Workflows operation of the Fulldev API, with what it takes, what it answers and an example."
---

# Workflows in the Fulldev API

Every Workflows operation of the Fulldev API, with what it takes, what it answers and an example.

The reference comes straight from the API's own definition, so it always matches what the API does. [The OpenAPI document](https://app.full.dev/api/openapi.json)

## List forms

`GET /api/v1/data/forms`

Forms people fill in: for a member (assigneeId), who sends it with submit_form, or behind a private link. Each is about a row (subject, as <type>:<id>, such as a workflow run's approval step), with its sections and fields (definition), what its maker prefilled and the latest answers (values). You read the forms you made, those for you, and those whose subject you may read. List by status (open, submitted, expired), kind, subject or assignee (me for yours). update saves answers before the form is sent, with the revision you read.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.
- `filter.status` (query, "open" | "submitted" | "expired" | "closed", optional): Only rows whose status is this.
- `filter.kind` (query, "form" | "approval" | "calibration", optional): Only rows whose kind is this.
- `filter.subject` (query, string, optional): Only the forms about this row, as <type>:<id>.
- `filter.assignee` (query, string (uuid) | "me", optional): Only the forms for this member id, or me for the caller's.

### Response

- `items` (array of object, required)
  - `id` (string (uuid), required)
  - `kind` ("form" | "approval" | "calibration", required)
  - `subject` (string, required): The row it is about, as <type>:<id>.
  - `title` (string, required)
  - `definition` (object, required): Its sections and fields; source notes only for its maker and those who read it as its subject.
    - `title` (string, required)
    - `description` (string, optional): What the person fills in and why, in their language.
    - `submitLabel` (string, optional)
    - `language` ("en" | "nl", optional): Language of the labels, so the form's own buttons match. Omit for other languages; the browser's language applies.
    - `subjectVersion` (integer, optional): The version of its subject it is about, where the subject has versions, such as a design's.
    - `sections` (array of object, required): Parts of the form, shown in order. Usually one per part of the page being edited. Field keys are shared by all sections, so each key is used once in the form.
  - `prefill` (map of any, required)
  - `values` (map of any, required): The latest answers: sent ones, or saved before sending.
  - `status` ("open" | "submitted" | "expired" | "closed", required): open until it is sent, then submitted; expired when it ran out unsent; closed when what it was for ended without it, such as an approval an administrator answered.
  - `submittedAt` (string (date-time) | null, required)
  - `expiresAt` (string (date-time), required)
  - `assigneeId` (string (uuid) | null, required): The member it is for; a form without one is a link form.
  - `createdBy` (string (uuid), required): Its maker's user id.
  - `revision` (integer, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/forms" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Change one of forms

`PATCH /api/v1/data/forms/{id}`

### Parameters

- `id` (path, string, required)
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `values` (map of any, required): The answers so far, before the form is sent. Required fields may stay empty until submit_form.
- `revision` (integer, optional): The revision you read; a newer one refuses the change.

### Response

- `id` (string (uuid), required)
- `kind` ("form" | "approval" | "calibration", required)
- `subject` (string, required): The row it is about, as <type>:<id>.
- `title` (string, required)
- `definition` (object, required): Its sections and fields; source notes only for its maker and those who read it as its subject.
  - `title` (string, required)
  - `description` (string, optional): What the person fills in and why, in their language.
  - `submitLabel` (string, optional)
  - `language` ("en" | "nl", optional): Language of the labels, so the form's own buttons match. Omit for other languages; the browser's language applies.
  - `subjectVersion` (integer, optional): The version of its subject it is about, where the subject has versions, such as a design's.
  - `sections` (array of object, required): Parts of the form, shown in order. Usually one per part of the page being edited. Field keys are shared by all sections, so each key is used once in the form.
    - `title` (string, optional)
    - `description` (string, optional)
    - `image` (object, optional): Shows a snapshot beside this section's fields, such as a screenshot of the part of the page they change. Only alt and caption go here; create_form returns an upload link for the image file itself.
    - `previewUrl` (string (uri), optional): Page where the person can see this part live, such as the deploy preview page from get_preview.
    - `fields` (array of object, required): This section's fields. group and list contain fields one level deep.
      - One of these shapes:
        - Shape 1:
          - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `placeholder` (string, optional)
        - Shape 2:
          - `type` ("number", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `min` (number, optional)
          - `max` (number, optional)
          - `step` (number, optional)
        - Shape 3:
          - `type` ("boolean", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 4:
          - `type` ("select", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
          - `options` (array of object, required)
            - `value` (string, required): Non-empty; an empty answer means nothing chosen.
            - `label` (string, optional)
            - `example` (object, optional): What this option stands for, shown as the option.
              - One of these shapes:
                - Shape 1:
                  - `type` ("text", required)
                  - `label` (string, optional)
                  - `text` (string, required)
                - Shape 2:
                  - `type` ("image", required)
                  - `label` (string, optional)
                  - `alt` (string, required): What the image shows, for screen readers.
                  - `file` (string, optional): The name of the form's own file that holds the image.
          - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
            - One of these shapes:
              - Shape 1:
                - `type` ("text", required)
                - `label` (string, optional)
                - `text` (string, required)
              - Shape 2:
                - `type` ("image", required)
                - `label` (string, optional)
                - `alt` (string, required): What the image shows, for screen readers.
                - `file` (string, optional): The name of the form's own file that holds the image.
        - Shape 5:
          - `type` ("image", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 6:
          - `type` ("note", required)
          - `label` (string, optional)
          - `text` (string, required)
        - Shape 7:
          - `type` ("group", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
        - Shape 8:
          - `type` ("list", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `itemLabel` (string, optional): Name of one item, such as Team member or Question.
          - `titleKey` (string, optional): Key of the item field shown as each item's title.
          - `min` (integer, optional)
          - `max` (integer, optional)
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
- `prefill` (map of any, required)
- `values` (map of any, required): The latest answers: sent ones, or saved before sending.
- `status` ("open" | "submitted" | "expired" | "closed", required): open until it is sent, then submitted; expired when it ran out unsent; closed when what it was for ended without it, such as an approval an administrator answered.
- `submittedAt` (string (date-time) | null, required)
- `expiresAt` (string (date-time), required)
- `assigneeId` (string (uuid) | null, required): The member it is for; a form without one is a link form.
- `createdBy` (string (uuid), required): Its maker's user id.
- `revision` (integer, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## Get one of forms

`GET /api/v1/data/forms/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string (uuid), required)
- `kind` ("form" | "approval" | "calibration", required)
- `subject` (string, required): The row it is about, as <type>:<id>.
- `title` (string, required)
- `definition` (object, required): Its sections and fields; source notes only for its maker and those who read it as its subject.
  - `title` (string, required)
  - `description` (string, optional): What the person fills in and why, in their language.
  - `submitLabel` (string, optional)
  - `language` ("en" | "nl", optional): Language of the labels, so the form's own buttons match. Omit for other languages; the browser's language applies.
  - `subjectVersion` (integer, optional): The version of its subject it is about, where the subject has versions, such as a design's.
  - `sections` (array of object, required): Parts of the form, shown in order. Usually one per part of the page being edited. Field keys are shared by all sections, so each key is used once in the form.
    - `title` (string, optional)
    - `description` (string, optional)
    - `image` (object, optional): Shows a snapshot beside this section's fields, such as a screenshot of the part of the page they change. Only alt and caption go here; create_form returns an upload link for the image file itself.
    - `previewUrl` (string (uri), optional): Page where the person can see this part live, such as the deploy preview page from get_preview.
    - `fields` (array of object, required): This section's fields. group and list contain fields one level deep.
      - One of these shapes:
        - Shape 1:
          - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `placeholder` (string, optional)
        - Shape 2:
          - `type` ("number", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `min` (number, optional)
          - `max` (number, optional)
          - `step` (number, optional)
        - Shape 3:
          - `type` ("boolean", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 4:
          - `type` ("select", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
          - `options` (array of object, required)
            - `value` (string, required): Non-empty; an empty answer means nothing chosen.
            - `label` (string, optional)
            - `example` (object, optional): What this option stands for, shown as the option.
              - One of these shapes:
                - Shape 1:
                  - `type` ("text", required)
                  - `label` (string, optional)
                  - `text` (string, required)
                - Shape 2:
                  - `type` ("image", required)
                  - `label` (string, optional)
                  - `alt` (string, required): What the image shows, for screen readers.
                  - `file` (string, optional): The name of the form's own file that holds the image.
          - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
            - One of these shapes:
              - Shape 1:
                - `type` ("text", required)
                - `label` (string, optional)
                - `text` (string, required)
              - Shape 2:
                - `type` ("image", required)
                - `label` (string, optional)
                - `alt` (string, required): What the image shows, for screen readers.
                - `file` (string, optional): The name of the form's own file that holds the image.
        - Shape 5:
          - `type` ("image", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 6:
          - `type` ("note", required)
          - `label` (string, optional)
          - `text` (string, required)
        - Shape 7:
          - `type` ("group", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
        - Shape 8:
          - `type` ("list", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `itemLabel` (string, optional): Name of one item, such as Team member or Question.
          - `titleKey` (string, optional): Key of the item field shown as each item's title.
          - `min` (integer, optional)
          - `max` (integer, optional)
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
- `prefill` (map of any, required)
- `values` (map of any, required): The latest answers: sent ones, or saved before sending.
- `status` ("open" | "submitted" | "expired" | "closed", required): open until it is sent, then submitted; expired when it ran out unsent; closed when what it was for ended without it, such as an approval an administrator answered.
- `submittedAt` (string (date-time) | null, required)
- `expiresAt` (string (date-time), required)
- `assigneeId` (string (uuid) | null, required): The member it is for; a form without one is a link form.
- `createdBy` (string (uuid), required): Its maker's user id.
- `revision` (integer, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `dashboardUrl` (string, optional): Its page in the dashboard, to send the person to.

### Example

```sh
curl "https://app.full.dev/api/v1/data/forms/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## List runs

`GET /api/v1/data/runs`

Workflow runs: their status (running, waiting, finished, failed or ended), the step they are at, when a wait ends, the error of a failed one and, from get, how their approvals and sends stand: a finished run sent each message once, and its send's status says whether it arrived (failed, or unconfirmed when the provider's answer was lost or its status is not known). Runs are kept 90 days. You read the runs you started; with workflows:admin every run of the organization. List by workflow (workflowId) or status. A run's approval is answered with its form (submit_form); retry_run runs a failed run again, cancel_run ends one that waits for a time, trigger_workflow starts one.

### Parameters

- `limit` (query, integer, optional): How many at most, 50 when left out; a list that is always short gives all its rows at once, without a cursor.
- `cursor` (query, string, optional): The cursor the last page returned, for the next.
- `filter.workflowId` (query, string (uuid), optional): Only rows whose workflowId is this.
- `filter.status` (query, "running" | "waiting" | "finished" | "failed" | "ended", optional): Only rows whose status is this.

### Response

- `items` (array of object, required)
  - `id` (string (uuid), required)
  - `workflowId` (string (uuid), required)
  - `status` ("running" | "waiting" | "finished" | "failed" | "ended", required)
  - `currentStep` (string | null, required)
  - `waitingUntil` (string (date-time) | null, required)
  - `errorCode` (string | null, required)
  - `createdAt` (string (date-time), required)
  - `updatedAt` (string (date-time), required)
  - `finishedAt` (string (date-time) | null, required)
  - `approvals` (array of object, optional)
    - `step` (string, required)
    - `formId` (string (uuid), required)
    - `assigneeId` (string (uuid) | null, required)
    - `status` (string, required)
    - `approved` (boolean | null, required)
    - `submittedAt` (string (date-time) | null, required)
    - `expiresAt` (string (date-time), required)
  - `sends` (array of object, optional)
    - `step` (string, required)
    - `action` (string, required)
    - `messageId` (string | null, required): The message, for whoever reads its conversation; null otherwise.
    - `status` (string, required): not_sent, sending, sent, delivered, read, failed or unconfirmed: the provider's answer was lost or its status is not known, so it may or may not have gone out.
- `cursor` (string, optional): The next page's cursor, while there is more.

### Example

```sh
curl "https://app.full.dev/api/v1/data/runs" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## Get one of runs

`GET /api/v1/data/runs/{id}`

### Parameters

- `id` (path, string, required)

### Response

- `id` (string (uuid), required)
- `workflowId` (string (uuid), required)
- `status` ("running" | "waiting" | "finished" | "failed" | "ended", required)
- `currentStep` (string | null, required)
- `waitingUntil` (string (date-time) | null, required)
- `errorCode` (string | null, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `finishedAt` (string (date-time) | null, required)
- `approvals` (array of object, optional)
  - `step` (string, required)
  - `formId` (string (uuid), required)
  - `assigneeId` (string (uuid) | null, required)
  - `status` (string, required)
  - `approved` (boolean | null, required)
  - `submittedAt` (string (date-time) | null, required)
  - `expiresAt` (string (date-time), required)
- `sends` (array of object, optional)
  - `step` (string, required)
  - `action` (string, required)
  - `messageId` (string | null, required): The message, for whoever reads its conversation; null otherwise.
  - `status` (string, required): not_sent, sending, sent, delivered, read, failed or unconfirmed: the provider's answer was lost or its status is not known, so it may or may not have gone out.

### Example

```sh
curl "https://app.full.dev/api/v1/data/runs/$ID" \
  -H "Authorization: Bearer $FULLDEV_API_KEY"
```

## create_form

`POST /api/v1/actions/create_form`

Makes a form about a row (subject, as <type>:<id>) whose owner lets you: sections of fields such as text, rich text, numbers, checkboxes, choices, dates, images, groups and repeatable lists, with prefilled values. With assigneeId it is for that member, who sends it with submit_form; without, it gets a private link (url) to give the person, shown only in this answer. Every field that holds a value has type, key and label, for example {"type":"text","key":"title","label":"Title"}. Read it later with get on forms.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `subject` (string, required): The row the form is about, as <type>:<id>. Its owner decides who may make it and who else reads it.
- `kind` ("form" | "approval", optional): form when left out.
- `title` (string, required)
- `description` (string, optional): What the person fills in and why, in their language.
- `submitLabel` (string, optional)
- `language` ("en" | "nl", optional): Language of the labels, so the form's own buttons match. Omit for other languages; the browser's language applies.
- `subjectVersion` (integer, optional): The version of its subject it is about, where the subject has versions, such as a design's.
- `sections` (array of object, required): Parts of the form, shown in order. Usually one per part of the page being edited. Field keys are shared by all sections, so each key is used once in the form.
  - `title` (string, optional)
  - `description` (string, optional)
  - `image` (object, optional): Shows a snapshot beside this section's fields, such as a screenshot of the part of the page they change. Only alt and caption go here; create_form returns an upload link for the image file itself.
    - `alt` (string, required): What the image shows, for screen readers.
    - `caption` (string, optional)
  - `previewUrl` (string (uri), optional): Page where the person can see this part live, such as the deploy preview page from get_preview.
  - `fields` (array of object, required): This section's fields. group and list contain fields one level deep.
    - One of these shapes:
      - Shape 1:
        - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - `placeholder` (string, optional)
      - Shape 2:
        - `type` ("number", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - `min` (number, optional)
        - `max` (number, optional)
        - `step` (number, optional)
      - Shape 3:
        - `type` ("boolean", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
      - Shape 4:
        - `type` ("select", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
        - `options` (array of object, required)
          - `value` (string, required): Non-empty; an empty answer means nothing chosen.
          - `label` (string, optional)
          - `example` (object, optional): What this option stands for, shown as the option.
            - One of these shapes:
              - Shape 1:
                - `type` ("text", required)
                - `label` (string, optional)
                - `text` (string, required)
              - Shape 2:
                - `type` ("image", required)
                - `label` (string, optional)
                - `alt` (string, required): What the image shows, for screen readers.
                - `file` (string, optional): The name of the form's own file that holds the image.
        - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
          - One of these shapes:
            - Shape 1:
              - `type` ("text", required)
              - `label` (string, optional)
              - `text` (string, required)
            - Shape 2:
              - `type` ("image", required)
              - `label` (string, optional)
              - `alt` (string, required): What the image shows, for screen readers.
              - `file` (string, optional): The name of the form's own file that holds the image.
      - Shape 5:
        - `type` ("image", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
      - Shape 6:
        - `type` ("note", required)
        - `label` (string, optional)
        - `text` (string, required)
      - Shape 7:
        - `type` ("group", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - `fields` (array of object, required)
          - One of these shapes:
            - Shape 1:
              - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `placeholder` (string, optional)
            - Shape 2:
              - `type` ("number", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `min` (number, optional)
              - `max` (number, optional)
              - `step` (number, optional)
            - Shape 3:
              - `type` ("boolean", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
            - Shape 4:
              - `type` ("select", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
              - `options` (array of object, required)
                - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                - `label` (string, optional)
                - `example` (object, optional): What this option stands for, shown as the option.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                - One of these shapes:
                  - Shape 1:
                    - `type` ("text", required)
                    - `label` (string, optional)
                    - `text` (string, required)
                  - Shape 2:
                    - `type` ("image", required)
                    - `label` (string, optional)
                    - `alt` (string, required): What the image shows, for screen readers.
                    - `file` (string, optional): The name of the form's own file that holds the image.
            - Shape 5:
              - `type` ("image", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
            - Shape 6:
              - `type` ("note", required)
              - `label` (string, optional)
              - `text` (string, required)
      - Shape 8:
        - `type` ("list", required)
        - `key` (string, required): Property name of this field in values.
        - `label` (string, required)
        - `description` (string, optional): Help text shown under the field.
        - `required` (boolean, optional)
        - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
        - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
          - `path` (string, optional): Repository file the value is written to.
          - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - `itemLabel` (string, optional): Name of one item, such as Team member or Question.
        - `titleKey` (string, optional): Key of the item field shown as each item's title.
        - `min` (integer, optional)
        - `max` (integer, optional)
        - `fields` (array of object, required)
          - One of these shapes:
            - Shape 1:
              - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `placeholder` (string, optional)
            - Shape 2:
              - `type` ("number", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `min` (number, optional)
              - `max` (number, optional)
              - `step` (number, optional)
            - Shape 3:
              - `type` ("boolean", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
            - Shape 4:
              - `type` ("select", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
              - `options` (array of object, required)
                - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                - `label` (string, optional)
                - `example` (object, optional): What this option stands for, shown as the option.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                - One of these shapes:
                  - Shape 1:
                    - `type` ("text", required)
                    - `label` (string, optional)
                    - `text` (string, required)
                  - Shape 2:
                    - `type` ("image", required)
                    - `label` (string, optional)
                    - `alt` (string, required): What the image shows, for screen readers.
                    - `file` (string, optional): The name of the form's own file that holds the image.
            - Shape 5:
              - `type` ("image", required)
              - `key` (string, required): Property name of this field in values.
              - `label` (string, required)
              - `description` (string, optional): Help text shown under the field.
              - `required` (boolean, optional)
              - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
              - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                - `path` (string, optional): Repository file the value is written to.
                - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
            - Shape 6:
              - `type` ("note", required)
              - `label` (string, optional)
              - `text` (string, required)
- `values` (map of any, optional): Prefilled answers, so the person edits rather than retypes.
- `assigneeId` (string (uuid), optional): The member who fills it in and sends it with submit_form. Without one the form gets a private link instead.
- `expiresInHours` (integer, optional): How long it can be filled in; 24 hours when left out.

### Response

- `id` (string (uuid), required)
- `kind` ("form" | "approval" | "calibration", required)
- `subject` (string, required): The row it is about, as <type>:<id>.
- `title` (string, required)
- `definition` (object, required): Its sections and fields; source notes only for its maker and those who read it as its subject.
  - `title` (string, required)
  - `description` (string, optional): What the person fills in and why, in their language.
  - `submitLabel` (string, optional)
  - `language` ("en" | "nl", optional): Language of the labels, so the form's own buttons match. Omit for other languages; the browser's language applies.
  - `subjectVersion` (integer, optional): The version of its subject it is about, where the subject has versions, such as a design's.
  - `sections` (array of object, required): Parts of the form, shown in order. Usually one per part of the page being edited. Field keys are shared by all sections, so each key is used once in the form.
    - `title` (string, optional)
    - `description` (string, optional)
    - `image` (object, optional): Shows a snapshot beside this section's fields, such as a screenshot of the part of the page they change. Only alt and caption go here; create_form returns an upload link for the image file itself.
    - `previewUrl` (string (uri), optional): Page where the person can see this part live, such as the deploy preview page from get_preview.
    - `fields` (array of object, required): This section's fields. group and list contain fields one level deep.
      - One of these shapes:
        - Shape 1:
          - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `placeholder` (string, optional)
        - Shape 2:
          - `type` ("number", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `min` (number, optional)
          - `max` (number, optional)
          - `step` (number, optional)
        - Shape 3:
          - `type` ("boolean", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 4:
          - `type` ("select", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
          - `options` (array of object, required)
            - `value` (string, required): Non-empty; an empty answer means nothing chosen.
            - `label` (string, optional)
            - `example` (object, optional): What this option stands for, shown as the option.
              - One of these shapes:
                - Shape 1:
                  - `type` ("text", required)
                  - `label` (string, optional)
                  - `text` (string, required)
                - Shape 2:
                  - `type` ("image", required)
                  - `label` (string, optional)
                  - `alt` (string, required): What the image shows, for screen readers.
                  - `file` (string, optional): The name of the form's own file that holds the image.
          - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
            - One of these shapes:
              - Shape 1:
                - `type` ("text", required)
                - `label` (string, optional)
                - `text` (string, required)
              - Shape 2:
                - `type` ("image", required)
                - `label` (string, optional)
                - `alt` (string, required): What the image shows, for screen readers.
                - `file` (string, optional): The name of the form's own file that holds the image.
        - Shape 5:
          - `type` ("image", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
        - Shape 6:
          - `type` ("note", required)
          - `label` (string, optional)
          - `text` (string, required)
        - Shape 7:
          - `type` ("group", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
        - Shape 8:
          - `type` ("list", required)
          - `key` (string, required): Property name of this field in values.
          - `label` (string, required)
          - `description` (string, optional): Help text shown under the field.
          - `required` (boolean, optional)
          - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
          - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
            - `path` (string, optional): Repository file the value is written to.
            - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
          - `itemLabel` (string, optional): Name of one item, such as Team member or Question.
          - `titleKey` (string, optional): Key of the item field shown as each item's title.
          - `min` (integer, optional)
          - `max` (integer, optional)
          - `fields` (array of object, required)
            - One of these shapes:
              - Shape 1:
                - `type` ("text" | "textarea" | "richtext" | "email" | "url" | "date" | "time" | "color", required): text is one line, for headings, labels, names and paths such as /contact; textarea is several lines of plain text. richtext is formatted text with bold, italic, links, headings and lists; its value is Markdown. url is a full address starting with http(s)://. date is YYYY-MM-DD, time HH:MM and color #rrggbb.
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `placeholder` (string, optional)
              - Shape 2:
                - `type` ("number", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `min` (number, optional)
                - `max` (number, optional)
                - `step` (number, optional)
              - Shape 3:
                - `type` ("boolean", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 4:
                - `type` ("select", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
                - `multiple` (boolean, optional): true lets the person tick several options; the value is then an array of option values.
                - `options` (array of object, required)
                  - `value` (string, required): Non-empty; an empty answer means nothing chosen.
                  - `label` (string, optional)
                  - `example` (object, optional): What this option stands for, shown as the option.
                    - One of these shapes:
                      - Shape 1:
                        - `type` ("text", required)
                        - `label` (string, optional)
                        - `text` (string, required)
                      - Shape 2:
                        - `type` ("image", required)
                        - `label` (string, optional)
                        - `alt` (string, required): What the image shows, for screen readers.
                        - `file` (string, optional): The name of the form's own file that holds the image.
                - `examples` (array of object, optional): What the choice is about, shown with it, such as a before and an after.
                  - One of these shapes:
                    - Shape 1:
                      - `type` ("text", required)
                      - `label` (string, optional)
                      - `text` (string, required)
                    - Shape 2:
                      - `type` ("image", required)
                      - `label` (string, optional)
                      - `alt` (string, required): What the image shows, for screen readers.
                      - `file` (string, optional): The name of the form's own file that holds the image.
              - Shape 5:
                - `type` ("image", required)
                - `key` (string, required): Property name of this field in values.
                - `label` (string, required)
                - `description` (string, optional): Help text shown under the field.
                - `required` (boolean, optional)
                - `width` ("full" | "half", optional): half places two fields side by side on wider screens.
                - `source` (object, optional): Where this value lives, for whoever writes the answers to the files. Never shown to the person and not enforced.
                  - `path` (string, optional): Repository file the value is written to.
                  - `note` (string, optional): Where in that file, such as `frontmatter hero.title` or `the second <h2> in Hero.astro`.
              - Shape 6:
                - `type` ("note", required)
                - `label` (string, optional)
                - `text` (string, required)
- `prefill` (map of any, required)
- `values` (map of any, required): The latest answers: sent ones, or saved before sending.
- `status` ("open" | "submitted" | "expired" | "closed", required): open until it is sent, then submitted; expired when it ran out unsent; closed when what it was for ended without it, such as an approval an administrator answered.
- `submittedAt` (string (date-time) | null, required)
- `expiresAt` (string (date-time), required)
- `assigneeId` (string (uuid) | null, required): The member it is for; a form without one is a link form.
- `createdBy` (string (uuid), required): Its maker's user id.
- `revision` (integer, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `url` (string | null, required): The private link to give the person, shown only now; null for a form for a member.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## submit_form

`POST /api/v1/actions/submit_form`

Sends the answers of a form that is for you (its assigneeId is your membership), with every required field filled in. Until the form expires you may send it again; the latest answers count. A form with a private link is sent through that link instead.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `formId` (string (uuid), required): The form's id.
- `values` (map of any, required): The answers, complete: required fields filled in. The latest submission counts.
- `revision` (integer, optional): The revision you read; a newer one refuses the change.

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

Only when signed in, through OAuth, as the CLI and MCP do.

## trigger_workflow

`POST /api/v1/actions/trigger_workflow`

Starts a run of the organization's active webhook workflow with this key, with the fields its trigger takes. A run key that ran already answers that run for the same fields, and IDEMPOTENCY_CONFLICT for others. Answers the run's id at once; read it with get on runs.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `key` (string, required)
- `fields` (map of any, optional)

### Response

- `runId` (string (uuid), required)

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/actions/trigger_workflow" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "key": "key"
}'
```

## retry_run

`POST /api/v1/actions/retry_run`

Runs a failed workflow run again from the step that failed, once its cause is fixed; its finished steps stay. Answers the run.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `runId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/actions/retry_run" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "runId": "00000000-0000-4000-8000-000000000000"
}'
```

## cancel_run

`POST /api/v1/actions/cancel_run`

Cancels a workflow run that waits for a time, so it goes no further. A run waiting for an approval is declined with its form instead. Answers the run.

### Parameters

- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (required)

- `runId` (string (uuid), required)

### Response

The API's document has no schema for this answer; the description above says what it gives.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/actions/cancel_run" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "runId": "00000000-0000-4000-8000-000000000000"
}'
```

## Trigger a webhook workflow

`POST /api/v1/triggers/{key}`

Starts a run of the organization's active webhook workflow with this key (trigger_workflow), with the body as its fields, then waits up to 20 seconds for the run to end or wait, and answers it: a run still running then answers `running`, so read it again with GET /api/v1/data/runs/{id}. The workflow says which fields it takes. A workflow of Message takes `reference`, `to` and a value for each variable of its template or text, and runs once per reference: the same reference answers that run for the same fields, and IDEMPOTENCY_CONFLICT for others. A run's sends say whether each message arrived.

### Parameters

- `key` (path, string, required): The workflow's key, as its page in Fulldev shows it.
- `Idempotency-Key` (header, string, optional): Your own key for this change: send the same one on a retry, so it happens once.

### Body (optional)

`map of string | number | boolean`: The fields the workflow's trigger takes, by name, each as the kind the workflow says.

### Response

- `id` (string (uuid), required)
- `workflowId` (string (uuid), required)
- `status` ("running" | "waiting" | "finished" | "failed" | "ended", required)
- `currentStep` (string | null, required)
- `waitingUntil` (string (date-time) | null, required)
- `errorCode` (string | null, required)
- `createdAt` (string (date-time), required)
- `updatedAt` (string (date-time), required)
- `finishedAt` (string (date-time) | null, required)
- `approvals` (array of object, optional)
  - `step` (string, required)
  - `formId` (string (uuid), required)
  - `assigneeId` (string (uuid) | null, required)
  - `status` (string, required)
  - `approved` (boolean | null, required)
  - `submittedAt` (string (date-time) | null, required)
  - `expiresAt` (string (date-time), required)
- `sends` (array of object, optional)
  - `step` (string, required)
  - `action` (string, required)
  - `messageId` (string | null, required): The message, for whoever reads its conversation; null otherwise.
  - `status` (string, required): not_sent, sending, sent, delivered, read, failed or unconfirmed: the provider's answer was lost or its status is not known, so it may or may not have gone out.

### Example

```sh
# Once per change; send the same key when you retry this request.
IDEMPOTENCY_KEY=$(uuidgen)

curl -X POST "https://app.full.dev/api/v1/triggers/$KEY" \
  -H "Authorization: Bearer $FULLDEV_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "reference": "order-1042",
  "to": "+31612345678",
  "name": "Sam",
  "order_number": "1042"
}'
```
