Skip to main content
POST
Plan Entity Card Change

Authorizations

Authorization
string
header
required

A Turtle API key (sk_...) as a bearer token.

Path Parameters

organizationId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

cardId
string<uuid>
required
Example:

"248df4b7-aa70-47b8-a036-33ac447e668d"

Body

application/json
config
object

Replaces the card's config.

draft
boolean

Hold this write as a draft, even where the permissions would let it through: the agent's waits for a person to approve, a person's own waits for them to confirm it (owner: its author). The response is applied=false with the draft.

evidence
object[] | null
fieldSchema
object[]

Replaces the card's fields wholesale: an ordered list of {key, kind, entity?, set?, required?, label?, options?, unit?, section?, format?, description?, onCard?, deprecated?}, as on a board's card, without stage. An entity's built-in columns (an organization's name, a document's status…) cannot be declared.

migrate
object

What becomes of the records the change strands, as on PUT /pipelines/{id}; POST /entity-cards/{id}/change-plan lists them.

rationale
string
Maximum string length: 20000
Pattern: ^(?:[^<\p{C}]|[\t\n\r‍]|<+(?:[^<A-Za-z/!?\p{C}]|[\t\n\r‍]|$))*$
source
enum<string>

With a personal API key only: ai records the write as the key owner's agent's (source ai, with the owner as its user), owing the rationale and evidence, and passing the permissions, of any agent write. Omit for a person's own write.

Available options:
ai

Response

OK

records
integer
strands
object[] | null