Skip to main content
POST
Create a proposal

Authorizations

Authorization
string
header
required

API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

Body

application/json
canonical_action
object
required
input
object
required
risk_class
enum<string>
required
Available options:
read,
write,
destructive,
financial,
outbound_communication,
external_side_effect
approval_policy
enum<string>
required
Available options:
none,
configurable,
mandatory
rationale
string
Maximum string length: 4000
idempotency_key
string
Required string length: 1 - 255
expires_at
string<date-time>
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
target_records
object[]
Maximum array length: 64
conversation_uuid
string<uuid>

Only for the Journeybee app's assistant session credential; refused for every other caller.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

201 - application/json

Default Response

uuid
string
required
version
number
required
state
enum<string>
required
Available options:
draft,
proposed,
approved,
executing,
succeeded,
partially_succeeded,
failed,
denied,
canceled,
expired
canonical_action
object
required
input_digest
string
required
input
object | null
required
risk_class
enum<string>
required
Available options:
read,
write,
destructive,
financial,
outbound_communication,
external_side_effect
approval_policy
enum<string>
required
Available options:
none,
configurable,
mandatory
rationale
string | null
required
conversation_uuid
string | null
required
outcome
object | null
required
error_summary
string | null
required
execution_run_uuid
string | null
required
proposed_by_uuid
string | null
required
canceled_by_uuid
string | null
required
cancel_reason
string | null
required
source_host
enum<string>
required
Available options:
buzz,
mcp,
v1,
workflow,
internal
expires_at
string
required
proposed_at
string | null
required
decided_at
string | null
required
started_at
string | null
required
completed_at
string | null
required
parent_uuid
string | null
required
batch_seq
number | null
required
input_scrubbed_at
string | null
presentation
object
batch
object
children
object[]