Skip to main content
PATCH
Edit an idea

Authorizations

Authorization
string
header
required

An API key from Settings > API & MCP.

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). A retry with the same key and request returns the first answer (Idempotent-Replayed: true, ids only) instead of doing it twice. Kept 24 hours.

Maximum string length: 255

Path Parameters

id
string<uuid>
required

The id of the idea, input, post or agent run.

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)$

Query Parameters

workspace_id
string<uuid>

The workspace to act in (ids from list_workspaces). Optional when the key or app has a default or a lock, or you belong to one workspace.

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)$
as_user
string<uuid>

Owners and admins only: act as this member of the workspace, like View As (user ids from list_members). Every use is audited.

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)$

Body

application/json
title
string
Required string length: 3 - 200
description
string
Required string length: 10 - 500
pillar
string

A content pillar of the strategy (get_strategy).

Required string length: 1 - 200
format
string | null
Maximum string length: 100
questions
string[]

Interview questions for recording the idea (short prompts; a script goes in scripts).

Required array length: 1 - 10 elements
Required string length: 5 - 500
scripts
string[]

Scripts, one per question in the same order ("" = none): what the person reads on the teleprompter. A whole script belongs under ONE question (never split it into several questions). Each at most 5000 characters, 30000 in total.

Maximum array length: 10
Maximum string length: 5000
expected_updated_at
string

The idea's updated_at you last read: refuse if it changed since.

Response

OK

object
string
required
Allowed value: "idea"
id
string<uuid>
required
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)$
title
string
required
status
string
required
questions
object[]
required
scripts_saved
boolean
required

false if the idea was saved but its scripts could not be (retry with get_idea's updated_at).

updated_at
string
required
app_url
string
required