For the complete documentation index, see llms.txt. This page is also available as Markdown.

Data Structure Notes

Create structure note by external data structure id

post

Creates a structure note for a data structure identified by its external ID rather than its numeric ID.

Requires administrative privileges (administrator or service account) because this endpoint always uses the forced workflow path.

Request body:

  • structure_note (required) – Object containing:

    • data_structure_external_id (required, string) – External ID of the target structure.

    • df_content (required) – Note content based on the structure's template.

The external ID is resolved to a data structure, which is then used to validate access and determine the template and workflow state. The note is created directly in the requested status (forced creation).

Body
validate_mandatoryboolean · nullableOptional

Skip mandatory field validation when creating/updating a draft

Responses
201

Structure note created

application/json
post/api/data_structure_notes
POST /api/data_structure_notes HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 105

{
  "structure_note": {
    "data_structure_external_id": "ds_customer_email",
    "df_content": {
      "field_name": "value"
    }
  }
}
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": {
    "data_structure_id": 123,
    "df_content": {
      "field_name": "value"
    },
    "id": 1,
    "status": "published",
    "updated_at": "2026-06-18T10:00:00Z",
    "version": 2
  }
}

Search structure notes

post

Searches structure notes across all data structures using the supplied filters.

Requires administrative privileges (administrator or service account). This is a global search across the entire note catalog, not scoped to a single structure. That is why the permission check is global rather than per‑structure..

Request body:

  • query (optional, string) – Free‑text search.

  • status (optional, string) – One of draft, pending_approval, published, rejected, versioned, deprecated.

  • updated_at (optional, string) – Lower bound on the last update timestamp.

  • until (optional, string) – Upper bound on the last update timestamp.

  • system_id (optional, integer) – Filter by system.

  • data_structure_id (optional, integer) – Filter by structure.

  • size (optional, integer) – Number of results, capped at 100.

Body

Search payload for structure notes. Supported filters include query, status (draft, pending_approval, published, rejected, versioned, deprecated), updated_at, until, system_id, data_structure_id, and size. size defaults to the search layer's configured page size and is capped at 100 in this schema; note searches are permission-aware and only return notes visible to the current user.

data_structure_idinteger · nullableOptional

Filter by data structure ID

querystring · nullableOptional

Search query text

sizeinteger · min: 1 · max: 100 · nullableOptional

Number of results per page

statusstring · enum · nullableOptional

Filter by status

Possible values:
system_idinteger · nullableOptional

Filter by system ID

untilstring · nullableOptional

Filter by update timestamp (upper bound)

updated_atstring · nullableOptional

Filter by update timestamp

Responses
200

Structure note search response

application/json
post/api/data_structure_notes/search
POST /api/data_structure_notes/search HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "query": "customer",
  "size": 20,
  "status": "published"
}
{
  "data": [
    {
      "data_structure_external_id": "ds_customer_email",
      "data_structure_id": 123,
      "df_content": {
        "field_name": "value"
      },
      "id": 1,
      "status": "published",
      "updated_at": "2026-06-18T10:00:00Z",
      "version": 2
    }
  ]
}

List structure notes

get

Returns all structure notes for the specified data structure that are visible to the current user, along with the available workflow actions.

Requires the 'View structures' permission on the data structure. The set of returned notes is further filtered by the user's note‑workflow permissions; for example:application

  • Drafts are only visible with 'Edit note'

  • Pending approvals are only visible with 'Send note to approval'

  • Rejected notes are only visible with 'Reject note'

  • Versioned/deprecated notes are only visible with 'View notes history'.

  • Published notes are visible without further permissions.

Only notes whose status the user is permitted to see are returned. For draft and pending‑approval notes, the response includes a _diff field listing the fields changed with respect to the published version.

Soft‑deleted structures are excluded by default. Available actions are also returned at the top level of the response so the client can discover the next possible workflow steps.

Path parameters
data_structure_idintegerRequired

Data structure ID

Responses
200

Structure notes

application/json
get/api/data_structures/{data_structure_id}/notes
GET /api/data_structures/{data_structure_id}/notes HTTP/1.1
Accept: */*
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": [
    {
      "data_structure_id": 123,
      "df_content": {
        "field_name": "value"
      },
      "id": 1,
      "status": "published",
      "updated_at": "2026-06-18T10:00:00Z",
      "version": 2
    }
  ]
}

Create structure note

post

Creates a new structure note for the specified data structure.

Requires the 'View structures' permission on the structure plus the 'Create note' permission. When the request includes force: true, it requires administrative privileges (administrator or service account).

Request body:

  • structure_note (required) – Object containing:

    • df_content (required) – Note content, based on the structure's template.

    • status (optional) – Target status. Ignored unless force is used; by default the note is created as a draft.

  • force (optional, boolean) – When true, the note is created directly in the target status without following the standard workflow. Default: false.

The status field is workflow‑driven. Without force, the note always starts as a draft.

The response includes the available workflow actions for the newly created note. A Location header points to the created resource.

Path parameters
data_structure_idintegerRequired

Data structure ID

Body
validate_mandatoryboolean · nullableOptional

Skip mandatory field validation when creating/updating a draft

Responses
201

Structure note

application/json
post/api/data_structures/{data_structure_id}/notes
POST /api/data_structures/{data_structure_id}/notes HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "structure_note": {
    "df_content": {
      "field_name": "value"
    }
  }
}
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": {
    "data_structure_id": 123,
    "df_content": {
      "field_name": "value"
    },
    "id": 1,
    "status": "published",
    "updated_at": "2026-06-18T10:00:00Z",
    "version": 2
  }
}

Show structure note

get

Retrieves a single structure note by its ID.

Requires the 'View structures' permission on the data structure. The set of returned notes is further filtered by the user's note‑workflow permissions; for example:application

  • Drafts are only visible with 'Edit note'

  • Pending approvals are only visible with 'Send note to approval'

  • Rejected notes are only visible with 'Reject note'

  • Versioned/deprecated notes are only visible with 'View notes history'.

  • Published notes are visible without further permissions.

Path parameters
data_structure_idintegerRequired

Data structure ID

idintegerRequired

Structure note ID

Responses
200

Structure note

application/json
get/api/data_structures/{data_structure_id}/notes/{id}
GET /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Accept: */*
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": {
    "data_structure_id": 123,
    "df_content": {
      "field_name": "value"
    },
    "id": 1,
    "status": "published",
    "updated_at": "2026-06-18T10:00:00Z",
    "version": 2
  }
}

Update structure note

put

Updates a structure note's content or transitions it to a new workflow status.

Permissions: The exact permission depends on the transition requested:

  • Editing draft content requires 'Edit note'.

  • Publishing a note directly requires 'Publish note'.

  • Publishing a draft requires 'Publish note from draft'.

  • Submitting for approval requires 'Send note to approval'.

  • Rejecting requires 'Reject note'.

  • Unrejecting requires 'Unreject note'.

  • Deprecating requires 'Deprecate note'. All transitions additionally require the 'View structures' permission on the parent structure.

Request body:

  • structure_note (required) – Object containing:

    • df_content (optional) – New content (only when editing a draft).

    • status (optional) – Target status; when provided, a workflow transition is attempted.

If status is omitted or null, the note is treated as an edit and the df_content is updated in place. Otherwise, the requested status transition is validated against the workflow.

The response includes the updated note and the available workflow actions after the transition. A Location header points to the note.

Path parameters
data_structure_idintegerRequired

Data structure ID

idintegerRequired

Structure note ID

Body
validate_mandatoryboolean · nullableOptional

Skip mandatory field validation when creating/updating a draft

Responses
200

Structure note updated

application/json
put/api/data_structures/{data_structure_id}/notes/{id}
PUT /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "structure_note": {
    "df_content": {
      "field_name": "updated_value"
    },
    "status": "published"
  }
}
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": {
    "data_structure_id": 123,
    "df_content": {
      "field_name": "value"
    },
    "id": 1,
    "status": "published",
    "updated_at": "2026-06-18T10:00:00Z",
    "version": 2
  }
}

Delete structure note

delete

Permanently deletes a structure note.

Requires the 'View structures' permission on the parent structure and the 'Delete note' permission.

Only notes in a deletable status (typically draft or rejected) can be removed.

Path parameters
data_structure_idintegerRequired

Data structure ID

idintegerRequired

Structure note ID

Responses
204

Structure note deleted

No content

delete/api/data_structures/{data_structure_id}/notes/{id}
DELETE /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Accept: */*

No content

Update structure note

patch

Updates a structure note's content or transitions it to a new workflow status.

Permissions: The exact permission depends on the transition requested:

  • Editing draft content requires 'Edit note'.

  • Publishing a note directly requires 'Publish note'.

  • Publishing a draft requires 'Publish note from draft'.

  • Submitting for approval requires 'Send note to approval'.

  • Rejecting requires 'Reject note'.

  • Unrejecting requires 'Unreject note'.

  • Deprecating requires 'Deprecate note'. All transitions additionally require the 'View structures' permission on the parent structure.

Request body:

  • structure_note (required) – Object containing:

    • df_content (optional) – New content (only when editing a draft).

    • status (optional) – Target status; when provided, a workflow transition is attempted.

If status is omitted or null, the note is treated as an edit and the df_content is updated in place. Otherwise, the requested status transition is validated against the workflow.

The response includes the updated note and the available workflow actions after the transition. A Location header points to the note.

Path parameters
data_structure_idintegerRequired

Data structure ID

idintegerRequired

Structure note ID

Body
validate_mandatoryboolean · nullableOptional

Skip mandatory field validation when creating/updating a draft

Responses
200

Structure note updated

application/json
patch/api/data_structures/{data_structure_id}/notes/{id}
PATCH /api/data_structures/{data_structure_id}/notes/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "structure_note": {
    "df_content": {
      "field_name": "updated_value"
    },
    "status": "published"
  }
}
{
  "_actions": {
    "draft": {
      "href": "/api/data_structures/123/notes",
      "input": {
        "df_content": {}
      },
      "method": "POST"
    }
  },
  "data": {
    "data_structure_id": 123,
    "df_content": {
      "field_name": "value"
    },
    "id": 1,
    "status": "published",
    "updated_at": "2026-06-18T10:00:00Z",
    "version": 2
  }
}

Last updated