Skip to main content
POST
Approve a proposal

Authorizations

Authorization
string
header
required

nia_sk_...

Path Parameters

proposal_id
string<uuid>
required

Body

application/json

A person may edit the proposal before approving it; the edit passes the redactor again.

body
string | null
Required string length: 1 - 2000
kind
enum<string> | null
Available options:
procedure,
tool_note,
process_note,
pitfall
tags
string[] | null
Maximum array length: 8
Pattern: ^[a-z0-9][a-z0-9_.:-]{0,63}$
title
string | null
Required string length: 1 - 120
visibility
enum<string> | null
Available options:
source,
vendor,
space

Response

The note created.

body
string
required
created_at
string<date-time>
required
created_by
string
required

source:<id> or user:<id>.

kind
enum<string>
required
Available options:
procedure,
tool_note,
process_note,
pitfall
note_id
string<uuid>
required
origin
enum<string>
required
Available options:
agent,
human,
distilled
source_id
string<uuid>
required

The agent that owns the note.

status
enum<string>
required
Available options:
active,
retired
title
string
required
version
integer
required
Required range: x >= 1
visibility
enum<string>
required
Available options:
source,
vendor,
space
evidence
Evidence · object | null

Where the note came from: an id only, never the text of the conversation or task.

supersedes_note_id
string<uuid> | null

The version this one replaced; that one is retired.

tags
string[]
valid_until
string<date-time> | null

After this moment the note leaves the block and the search.