Skip to main content
POST
Apply a pending assistant proposal

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required
message_id
string
required

Id of one of this user's own assistant messages that carries a pending proposal.

Response

Every step applied. Each step is executed by re-invoking the real admin routes in process (same validation, SQL, RBAC and audit trail as the console), so the caller's role still governs what lands.

ok
boolean
required
secrets
object[]
required

Signing secrets revealed ONCE here and never persisted into the thread.

message
object
required

The appended assistant message reporting what happened. Same shape as getAssistantHistory.