Update a database item
const url = 'https://api-dev.mindflow.io/v1/organizations/%24CURRENT_ORGANIZATION_ID/databases/example/items/example';const options = { method: 'PATCH', headers: { Authorization: 'Bearer <token>', 'Content-Type': 'application/merge-patch+json' }, body: '{ "properties": { "title": "example", "description": "", "status": "New", "severity": "Informational", "category": [ "Other" ], "assignee": "", "dueAt": "2026-04-15", "details": "" } }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api-dev.mindflow.io/v1/organizations/%24CURRENT_ORGANIZATION_ID/databases/example/items/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/merge-patch+json' \ --data '{ "properties": { "title": "example", "description": "", "status": "New", "severity": "Informational", "category": [ "Other" ], "assignee": "", "dueAt": "2026-04-15", "details": "" } }'Updates an existing database item’s properties (RFC 7396 JSON Merge Patch). The blueprint is owned by the parent database and cannot be changed on the item. Only blueprint-known property keys are accepted; unknown keys are rejected with HTTP 400. Send { "properties": { … } } with only the fields to change: omitted keys stay, nested objects merge recursively, arrays replace wholesale, and JSON null deletes that property. Root-level fields are also accepted for compatibility.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Opaque id of the organization that owns the resource. In a playbook step this can be filled from the current organization when the caller leaves it unset.
Example
ORGA-57b858ed-ec60-4507-b2ef-ea58244ac742ID of the organization.
Database that owns items. Item property shape comes from this database’s schema snapshot.
Database that owns the item.
Unique identifier of the database item.
Unique identifier of the database item to update.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Operational case for investigating and responding to a security incident
object
Short, searchable name for the incident
One-line summary shown under the title
Where the case sits in the incident-response lifecycle
Combined impact and urgency for how analysts should work this case
Incident type tags
Analyst or on-call owner currently responsible. Persist the Mindflow organization user id (USER-…). Call Platform Users listUsers to discover candidates (userId, name, email). Email or exact display name is accepted only when it uniquely matches one org member; otherwise the request is rejected.
Target time for the next response milestone
What happened, impact, assets involved, and current hypothesis
When this incident was created
When this incident was last updated
Track a planned infrastructure or application change through approval and execution
object
Short summary of the change
One-line summary shown under the title
Where the change sits in the approval and delivery workflow
Residual risk if the change fails or causes outage
Standard ITIL-style change category
Systems impacted while the change is applied
Engineer responsible for executing the change. Persist the Mindflow organization user id (USER-…). Call Platform Users listUsers to discover candidates (userId, name, email). Email or exact display name is accepted only when it uniquely matches one org member; otherwise the request is rejected.
Target date for completing the change
What will change, why it is needed, how it is applied, and how to roll it back
When this change request was created
When this change request was last updated
Vulnerability found by a scan: affected and excluded servers, policy-driven priority, plan, and remediation tracking through scan proof
object
Short, searchable name for the vulnerability
One-line summary shown under the title
Where the case sits in the vulnerability lifecycle
Combined impact and urgency for how analysts should work this case
Type, CVE, known exploitation (KEV), and exposure
CVE identifier (for example CVE-2021-44228).
Published base CVSS score from threat intel, from 0 to 10 (for example “10.0”).
Listed in the CISA KEV catalog or reported as exploited by CERT-FR.
At least one vulnerable server is reachable from the internet (CMDB).
Servers affected per the scan and CMDB, exposed ones first (for example “SRV-LNX-01, SRV-LNX-02 (exposed); SRV-LNX-04”).
Servers seen by the scan but not in scope, with the reason (for example “SRV-LNX-08: 5.2.5 outside the affected range”).
Teams and owners of the fixes, with their ticket (for example “Customer apps — Nadia Benali, TCK-4801”).
Mitigation deadline set by policy.
Fix deadline set by policy.
Change request created by the plan in the Changes database (for example “CHG-9652 — log4j-core 2.17.1”).
Analyst or on-call owner currently responsible. Persist the Mindflow organization user id (USER-…). Call Platform Users listUsers to discover candidates (userId, name, email). Email or exact display name is accepted only when it uniquely matches one org member; otherwise the request is rejected.
Target time for the next response milestone
What was found, impact, assets involved, and current remediation plan
When this vulnerability was created
When this vulnerability was last updated
Use of an AI tool or agent spotted in the estate: agent qualification, CISO decision, evidence, and follow-up
object
Short, searchable name for the AI usage case
One-line summary shown under the title
Where the case sits in the AI usage review lifecycle
Combined impact and urgency for how analysts should work this case
Signal nature, source, and sensitivities (AI Act, personal account, executive, outside the EU)
Name of the tool, module, or agent involved, as it appears in the source (for example “Otter.ai”, “Copilot Studio agent HR Assistant”).
Employee or team behind the usage, with their role (for example “Claire Martin, CFO”). This is not a Mindflow user: do not store a USER- id.
Estate tool that observed the usage.
Account used with the tool.
Highest classification level of data passed to the tool, based on evidence.
Usage class under the AI Act; “Prohibited practice” means Article 5 — approval is refused by policy.
Catalog tool to propose instead, with its conditions (for example “DeepL Pro, corporate account”).
Reassessment date for an approved usage (90 days after approval).
Analyst or on-call owner currently responsible. Persist the Mindflow organization user id (USER-…). Call Platform Users listUsers to discover candidates (userId, name, email). Email or exact display name is accepted only when it uniquely matches one org member; otherwise the request is rejected.
Target time for the next response milestone
What was detected, data involved, evidence, and the decision rationale
When this AI usage case was created
When this AI usage case was last updated
Minimal starter schema. Add fields in Settings → Blueprint.
object
Short, searchable name for the item
Long-form body for the item
When this item was created
When this item was last updated
Responses
Section titled “Responses”The database item was successfully updated.
An item in a database. Its properties follow the database schema.
object
Organization that owns this item. Same value as the organizationId path parameter.
Unique identifier of the database item.
Database that owns items. Item property shape comes from this database’s schema snapshot.
Blueprint copied onto the item at create time (matches schema.blueprintId on the database).
Fields defined by the parent database schema JSON Schema.
object
When the item was created.
When the item was last updated.
Example
{ "organizationId": "$CURRENT_ORGANIZATION_ID", "blueprintId": "incident-ir-v0"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
The request was invalid. Common causes include:
- Invalid timestamp format.
- Using
cursorwithbeforeorafter. - Missing
limitwhen usingbeforeorafter. - Invalid field names in the
fieldsparameter.
See the error response for specific details about what went wrong.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always BAD_REQUEST on this response. Read detail for which value to change, then send a corrected request.
Example
{ "type": "about:blank", "title": "Bad Request", "status": 400, "detail": "The request body or query is invalid.", "code": "BAD_REQUEST"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Authentication failed. The request lacks valid credentials or the provided credentials are invalid.
Ensure you have:
- A valid API key or token.
- Proper authentication headers.
- Required permissions.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always MISSING_OR_INVALID_TOKEN on this response. Branch on this value, not on detail.
Example
{ "type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "The bearer token is missing or invalid.", "code": "MISSING_OR_INVALID_TOKEN"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
The requested resource was not found.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always NOT_FOUND on this response. The resource is not available to this caller.
Example
{ "type": "about:blank", "title": "Not Found", "status": 404, "detail": "The resource was not found.", "code": "NOT_FOUND"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Too many requests. The request rate limit has been exceeded.
Please wait until the rate limit window resets before making additional requests.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always RATE_LIMIT_EXCEEDED on this response. Wait Retry-After seconds before retrying.
Example
{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "The request rate limit has been exceeded.", "code": "RATE_LIMIT_EXCEEDED"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.
Internal server error. The server encountered an unexpected condition that prevented it from fulfilling the request.
Please try again later or contact support if the problem persists.
object
URI reference identifying the problem type. When absent, “about:blank” per RFC 9457 Section 3.1.1.
Short, human-readable summary of the problem type (RFC 9457 Section 3.1.3).
HTTP status code for this occurrence (advisory; same as response status) (RFC 9457 Section 3.1.2).
Human-readable explanation specific to this occurrence (RFC 9457 Section 3.1.4).
URI reference identifying the specific occurrence (RFC 9457 Section 3.1.5).
Always INTERNAL_ERROR on this response. Retry later. Do not retry a create in a tight loop.
Example
{ "type": "about:blank", "title": "Internal Server Error", "status": 500, "detail": "The request could not be completed.", "code": "INTERNAL_ERROR"}Headers
Section titled “Headers”Example
1000Maximum number of requests allowed in the current window. Present when this response is rate limited.
Example
42Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.
Example
2026-03-20T15:31:00.000ZTime when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.
Example
30HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.
Example
*CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.