Every message on a socket session’s connection, in both directions, and its payload.
Listen to this pageabout 4 min
This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.
This connection delivers live updates of the AI chat for the apps a white-label session can watch. It uses Socket.IO, not a raw WebSocket. Connect with io(socket_url, { path: socket_path, transports: ["websocket"], auth: { session_token } }), using the values your server received from POST /api/v1/socket-sessions. Then send join for each app to receive the app’s snapshot, followed by live events.Available only to white-label workspaces on the Builder plan or higher, with live AI chat updates turned on. Ask your onboarding contact to turn them on for your workspace.Send the session token in the Socket.IO CONNECT auth as session_token. A refused connection is a connect_error with message: "connection_denied" and data: { retryable }. If retryable is true, retry with backoff. Otherwise, ask your server for a new session.One connection per session carries the events of every app it joins. In an event’s data, a missing field is unchanged and an explicit null clears it. The app.snapshot event is the exception, since it replaces the app’s state.
Event format
Every event the server sends is an object with two fields:
string | null
required
The app the event belongs to, as /apps/{app_id}. It is null for session.ended, which concerns the whole session.
object
required
The event’s payload. Its fields depend on the event.
A chat message was added or replaced. Replace the message with the same id.data fields
object
required
The message in full, as it now reads.
Show child attributes
string | null
ID of the message. An update carries the whole message again under the same ID.
'user' | 'assistant' | 'system' | null
Who sent the message. The value is user for a message a person sent and assistant for the AI’s reply. Messages with the system role are never sent.
string | null
Text of the message. Attachments and structured content are left out.
object[] | null
The tool calls the AI made in this message, in order. Each is updated in place as it progresses.Every shape has these fields:
Show child attributes
string | null
ID of the call. Every update to the call carries the same ID.
boolean | null
Whether the call has paused for the user’s answer or approval. The value becomes true once it pauses and stays true after the user answers, so read status to know whether it’s still waiting.
boolean | null
Whether the call skipped its approval because the app has Auto approve on. The value is true when the call needed approval but ran at once. It never paused, and its result is real.
State of the call. The value is running while the tool works, success or error once it finished, stopped when the user stopped the turn, or waiting_for_user_input while it waits for the user’s answer or approval.
boolean | null
Whether the call changed the app or its data. false means it finished without changing anything. null means the tool did not report it, so whether it changed anything is unknown.
object | null
What kind of answer the call waits for, while status is waiting_for_user_input.
Show child attributes
'choice' | 'input' | 'approval'
What the call needs from the user. The value is choice to pick among options, input to supply values, or approval to approve or reject.
object | null
Why the call waits for approval, from the check that paused it. Present only while status is waiting_for_user_input.One of these shapes, told apart by guard:
Show backend_function_entity_delete
Waiting for approval because testing a backend function would delete records from an entity.
'backend_function_entity_delete'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Backend function under test.
string
Entity method the function calls.
boolean
The check could not verify the function’s source.
Show bash_approval
Waiting for approval because the AI wants to run a shell command that needs a review first. The command itself is not published.
'bash_approval'
required
The check that paused the call.
Show entity_rls_guard
Waiting for approval because the AI wants to change who can read or write an entity’s records.
'entity_rls_guard'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Entity whose access rules change.
string
How the access rules change.
string[]
Access operations whose rules change.
Show exec_tool_entity_mutation
Waiting for approval because the AI’s code would update or delete records in an entity.
'exec_tool_entity_mutation'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Entity method the code calls, such as delete.
string
The agent’s summary of what the code does.
string[]
Entities whose records the code changes; empty when the code names one at runtime.
Show exec_tool_github_repo_write
Waiting for approval because the AI’s code would write to a GitHub repository.
'exec_tool_github_repo_write'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_invite_user
Waiting for approval because the AI’s code would invite someone to the app by email.
'exec_tool_invite_user'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_send_email
Waiting for approval because the AI’s code would send an email.
'exec_tool_send_email'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_send_sms
Waiting for approval because the AI’s code would send a text message.
'exec_tool_send_sms'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show workspace_rule_status
Waiting for approval because the AI wants to turn a workspace rule on or off.
'workspace_rule_status'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The status change: activate, deactivate, archive or unarchive.
string | null
The rule’s workflow.
string | null
The workflow name the call asked for, when the check could not load it.
string | null
The operation the rule guards.
boolean | null
The check could not load the workflow.
Show any other approval
Waiting for approval from a check that publishes only its name.
string
required
The check that paused the call.Any value not matched by the other shapes.
Each shape adds its own fields, told apart by name:
Show ask_clarifying_questions
The AI asks the user questions before it goes on. The call waits until the user answers.
'ask_clarifying_questions'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Questions presented to the user.
Show child attributes
string
Visible question text.
string
Question category, such as text.
string
Supporting text.
boolean
More than one answer may be selected.
string
Plan section the question covers.
(string | object)[]
Selectable options. A bare string is its label.
Show child attributes
string
Visible option label.
object | null
The user’s answer to the call, once given, for tools that take one.
Show child attributes
object[]
Answers supplied to the question card.
Show child attributes
integer
Zero-based question index.
string
Label selected for a single-select question.
string[]
Labels selected for a multi-select question.
string
Free-text answer. Structural filtering does not redact prose.
Show ask_plan_questions
The AI asks the user questions that shape the plan, in plan mode. The call waits until the user answers.
'ask_plan_questions'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Questions presented to the user.
Show child attributes
string
Visible question text.
string
Question category, such as text.
string
Supporting text.
boolean
More than one answer may be selected.
string
Plan section the question covers.
(string | object)[]
Selectable options. A bare string is its label.
Show child attributes
string
Visible option label.
object | null
The user’s answer to the call, once given, for tools that take one.
Show child attributes
object[]
Answers supplied to the question card.
Show child attributes
integer
Zero-based question index.
string
Label selected for a single-select question.
string[]
Labels selected for a multi-select question.
string
Free-text answer. Structural filtering does not redact prose.
Show bash
The AI runs a shell command in the app’s sandbox.
'bash'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show create_entity_records
The AI adds records to one of the app’s entities.
'create_entity_records'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
integer
Number of records created.
Show delete_entities
The AI deletes records from one of the app’s entities.
'delete_entities'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
The agent’s summary of the change. Queries and record values are never included.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
Show delete_file
The AI deletes a file from the app.
'delete_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show edit_repo_file
The AI edits a file in the imported repository.
'edit_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show exec_tool
The AI runs code against the app’s data and integrations.
'exec_tool'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show find_replace
The AI edits files by replacing text in them.
'find_replace'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show generate_game_background
The AI generates a background image for a game. An image.resolved event follows when it is ready.
'generate_game_background'
required
The tool that was called.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show generate_game_image
The AI generates an image asset for a game. An image.resolved event follows when it is ready.
'generate_game_image'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Requested aspect ratio, such as 1:1.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show generate_image
The AI generates an image for the app. An image.resolved event follows when it is ready.
'generate_image'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Visible media label.
string
Requested aspect ratio, such as 16:9.
object | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show child attributes
string
Placeholder URL, used to associate an image.resolved event with this tool.
'pending' | 'completed' | 'failed'
Current generation status.
string | null
Generated image URL, once available.
Show generate_prd
The AI writes down the plan it settled with the user. In plan mode this call carries the plan itself.
'generate_prd'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
App or feature name.
string
What is being built and why.
string
Who uses it and their roles.
string[]
End-to-end user flows.
string
Specific technical requirements.
string
Design preferences.
string
Build or plan declaration, when the AI asks for one.
string
Store platform settled in planning, for e-commerce plans.
string
Engine settled in planning, for game plans.
Show generate_video
The AI generates a video for the app.
'generate_video'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Visible media label.
string
Requested aspect ratio, such as 16:9.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show install_npm_package
The AI installs or removes npm packages in the app.
'install_npm_package'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Requested package operations.
Show child attributes
string
Package name.
string
Requested operation, such as install.
Show preview_execute_code
The AI runs code inside the app preview to inspect it.
'preview_execute_code'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show preview_screenshot
The AI takes a screenshot of the app preview to check its work.
'preview_screenshot'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show read_only_exec_tool
The AI runs code that only reads the app’s data.
'read_only_exec_tool'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show read_repo_file
The AI reads a file in the imported repository.
'read_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show run_shell_command
The AI runs a shell command in the imported repository’s sandbox.
'run_shell_command'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show set_secrets
The AI asks the user for secret values, such as API keys. The call waits until the user supplies them.
'set_secrets'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Requested secrets.
Show child attributes
string
Requested secret name.
string
Where to obtain it.
Show update_entities
The AI updates records in one of the app’s entities.
'update_entities'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
The agent’s summary of the change. Queries and record values are never included.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
Show update_plan
The AI adds settled points to the plan.
'update_plan'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Plan updates in their emitted order.
Show child attributes
string
Update action.
string
Plan section key.
string
User-facing section label.
string
Plan point.
string[]
Base plan sections the AI considers sufficiently specified.
Show write_file
The AI writes a file in the app.
'write_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show write_repo_file
The AI writes a file in the imported repository.
'write_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show any other tool call
A call to any other tool. Only its name and progress are published.
string
required
The tool that was called.Any value not matched by the other shapes.
string | null
ID of the checkpoint tied to the message. On a message a person sent it holds the app before the turn, on the AI’s final reply the app after it. Absent when the turn made no checkpoint.
object | null
When the message was created.
Show child attributes
string<date-time> | null
Time the message was created, as a UTC timestamp in ISO 8601 format.
object | null
Flags on the message, such as plan mode. Only the flags listed here are published.
Show child attributes
string
Identifier the sending client attached, to match its optimistic message.
boolean
The message was sent in plan mode.
boolean
The message approves a plan.
boolean
The message expects no AI reply.
string
System message category.
string | null
ID of the conversation the message belongs to. Each branch has its own conversation, so a viewer showing one branch can drop another branch’s messages.
string | null
ID of the branch the change belongs to. Omitted or null means the main branch.
A chat message was removed or hidden. An id the viewer never saw is a no-op.data fields
string
required
ID of the removed message.
string | null
ID of the conversation the message belongs to. Each branch has its own conversation, so a viewer showing one branch can drop another branch’s messages.
string | null
ID of the branch the change belongs to. Omitted or null means the main branch.
The AI started, finished, or failed a turn. Null status clears it.data fields
object | null
required
The new status, or null when the status was cleared.
Show child attributes
'ready' | 'processing' | 'error' | null
Where the app is in its build lifecycle. Ready means idle with no build in progress, processing means the app is being generated or modified, and error means the last build failed. This tracks building, not publishing.
string | null
ID of the user message whose turn the status belongs to.
string<date-time> | null
Time the status was last updated, as a UTC timestamp in ISO 8601 format.
string | null
ID of the branch the change belongs to. Omitted or null means the main branch.
The session ended because it expired, was revoked, or was taken by a newer socket. The socket disconnects next.data fields
'expired' | 'revoked' | 'replaced'
required
Why the session ended. When it’s expired, ask your server for a new session. When it’s revoked, your server or an admin ended it, so don’t reconnect. When it’s replaced, a newer socket took the session, so stop.
Example
{ "room": null, "data": { "reason": "revoked" }}
room.access_denied
A join was refused because the app is not on the session’s allowlist, or the socket joins too often.data fieldsThe data object is empty.
The app’s current status and its last 50 public messages, after every join. Replace the app’s state with it.data fields
object | null
required
The app’s build status, or null when none is recorded.
Show child attributes
'ready' | 'processing' | 'error' | null
Where the app is in its build lifecycle. Ready means idle with no build in progress, processing means the app is being generated or modified, and error means the last build failed. This tracks building, not publishing.
string | null
ID of the user message whose turn the status belongs to.
string<date-time> | null
Time the status was last updated, as a UTC timestamp in ISO 8601 format.
object[]
required
The last 50 messages, oldest first.
Show child attributes
string | null
ID of the message. An update carries the whole message again under the same ID.
'user' | 'assistant' | 'system' | null
Who sent the message. The value is user for a message a person sent and assistant for the AI’s reply. Messages with the system role are never sent.
string | null
Text of the message. Attachments and structured content are left out.
object[] | null
The tool calls the AI made in this message, in order. Each is updated in place as it progresses.Every shape has these fields:
Show child attributes
string | null
ID of the call. Every update to the call carries the same ID.
boolean | null
Whether the call has paused for the user’s answer or approval. The value becomes true once it pauses and stays true after the user answers, so read status to know whether it’s still waiting.
boolean | null
Whether the call skipped its approval because the app has Auto approve on. The value is true when the call needed approval but ran at once. It never paused, and its result is real.
State of the call. The value is running while the tool works, success or error once it finished, stopped when the user stopped the turn, or waiting_for_user_input while it waits for the user’s answer or approval.
boolean | null
Whether the call changed the app or its data. false means it finished without changing anything. null means the tool did not report it, so whether it changed anything is unknown.
object | null
What kind of answer the call waits for, while status is waiting_for_user_input.
Show child attributes
'choice' | 'input' | 'approval'
What the call needs from the user. The value is choice to pick among options, input to supply values, or approval to approve or reject.
object | null
Why the call waits for approval, from the check that paused it. Present only while status is waiting_for_user_input.One of these shapes, told apart by guard:
Show backend_function_entity_delete
Waiting for approval because testing a backend function would delete records from an entity.
'backend_function_entity_delete'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Backend function under test.
string
Entity method the function calls.
boolean
The check could not verify the function’s source.
Show bash_approval
Waiting for approval because the AI wants to run a shell command that needs a review first. The command itself is not published.
'bash_approval'
required
The check that paused the call.
Show entity_rls_guard
Waiting for approval because the AI wants to change who can read or write an entity’s records.
'entity_rls_guard'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Entity whose access rules change.
string
How the access rules change.
string[]
Access operations whose rules change.
Show exec_tool_entity_mutation
Waiting for approval because the AI’s code would update or delete records in an entity.
'exec_tool_entity_mutation'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
Entity method the code calls, such as delete.
string
The agent’s summary of what the code does.
string[]
Entities whose records the code changes; empty when the code names one at runtime.
Show exec_tool_github_repo_write
Waiting for approval because the AI’s code would write to a GitHub repository.
'exec_tool_github_repo_write'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_invite_user
Waiting for approval because the AI’s code would invite someone to the app by email.
'exec_tool_invite_user'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_send_email
Waiting for approval because the AI’s code would send an email.
'exec_tool_send_email'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show exec_tool_send_sms
Waiting for approval because the AI’s code would send a text message.
'exec_tool_send_sms'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The agent’s summary of what the code does.
Show workspace_rule_status
Waiting for approval because the AI wants to turn a workspace rule on or off.
'workspace_rule_status'
required
The check that paused the call.
string | null
Why the call needs approval, as the check explained it.
object | null
What the check found.
Show child attributes
string
The status change: activate, deactivate, archive or unarchive.
string | null
The rule’s workflow.
string | null
The workflow name the call asked for, when the check could not load it.
string | null
The operation the rule guards.
boolean | null
The check could not load the workflow.
Show any other approval
Waiting for approval from a check that publishes only its name.
string
required
The check that paused the call.Any value not matched by the other shapes.
Each shape adds its own fields, told apart by name:
Show ask_clarifying_questions
The AI asks the user questions before it goes on. The call waits until the user answers.
'ask_clarifying_questions'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Questions presented to the user.
Show child attributes
string
Visible question text.
string
Question category, such as text.
string
Supporting text.
boolean
More than one answer may be selected.
string
Plan section the question covers.
(string | object)[]
Selectable options. A bare string is its label.
Show child attributes
string
Visible option label.
object | null
The user’s answer to the call, once given, for tools that take one.
Show child attributes
object[]
Answers supplied to the question card.
Show child attributes
integer
Zero-based question index.
string
Label selected for a single-select question.
string[]
Labels selected for a multi-select question.
string
Free-text answer. Structural filtering does not redact prose.
Show ask_plan_questions
The AI asks the user questions that shape the plan, in plan mode. The call waits until the user answers.
'ask_plan_questions'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Questions presented to the user.
Show child attributes
string
Visible question text.
string
Question category, such as text.
string
Supporting text.
boolean
More than one answer may be selected.
string
Plan section the question covers.
(string | object)[]
Selectable options. A bare string is its label.
Show child attributes
string
Visible option label.
object | null
The user’s answer to the call, once given, for tools that take one.
Show child attributes
object[]
Answers supplied to the question card.
Show child attributes
integer
Zero-based question index.
string
Label selected for a single-select question.
string[]
Labels selected for a multi-select question.
string
Free-text answer. Structural filtering does not redact prose.
Show bash
The AI runs a shell command in the app’s sandbox.
'bash'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show create_entity_records
The AI adds records to one of the app’s entities.
'create_entity_records'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
integer
Number of records created.
Show delete_entities
The AI deletes records from one of the app’s entities.
'delete_entities'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
The agent’s summary of the change. Queries and record values are never included.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
Show delete_file
The AI deletes a file from the app.
'delete_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show edit_repo_file
The AI edits a file in the imported repository.
'edit_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show exec_tool
The AI runs code against the app’s data and integrations.
'exec_tool'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show find_replace
The AI edits files by replacing text in them.
'find_replace'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show generate_game_background
The AI generates a background image for a game. An image.resolved event follows when it is ready.
'generate_game_background'
required
The tool that was called.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show generate_game_image
The AI generates an image asset for a game. An image.resolved event follows when it is ready.
'generate_game_image'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Requested aspect ratio, such as 1:1.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show generate_image
The AI generates an image for the app. An image.resolved event follows when it is ready.
'generate_image'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Visible media label.
string
Requested aspect ratio, such as 16:9.
object | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show child attributes
string
Placeholder URL, used to associate an image.resolved event with this tool.
'pending' | 'completed' | 'failed'
Current generation status.
string | null
Generated image URL, once available.
Show generate_prd
The AI writes down the plan it settled with the user. In plan mode this call carries the plan itself.
'generate_prd'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
App or feature name.
string
What is being built and why.
string
Who uses it and their roles.
string[]
End-to-end user flows.
string
Specific technical requirements.
string
Design preferences.
string
Build or plan declaration, when the AI asks for one.
string
Store platform settled in planning, for e-commerce plans.
string
Engine settled in planning, for game plans.
Show generate_video
The AI generates a video for the app.
'generate_video'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
Visible media label.
string
Requested aspect ratio, such as 16:9.
string | null
The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.
Show install_npm_package
The AI installs or removes npm packages in the app.
'install_npm_package'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Requested package operations.
Show child attributes
string
Package name.
string
Requested operation, such as install.
Show preview_execute_code
The AI runs code inside the app preview to inspect it.
'preview_execute_code'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show preview_screenshot
The AI takes a screenshot of the app preview to check its work.
'preview_screenshot'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show read_only_exec_tool
The AI runs code that only reads the app’s data.
'read_only_exec_tool'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Code and output are never included.
boolean
The code changed entity data, so refresh the preview.
Show read_repo_file
The AI reads a file in the imported repository.
'read_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show run_shell_command
The AI runs a shell command in the imported repository’s sandbox.
'run_shell_command'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Reviewed activity summary. Commands and output are never included.
Show set_secrets
The AI asks the user for secret values, such as API keys. The call waits until the user supplies them.
'set_secrets'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Requested secrets.
Show child attributes
string
Requested secret name.
string
Where to obtain it.
Show update_entities
The AI updates records in one of the app’s entities.
'update_entities'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
string
The agent’s summary of the change. Queries and record values are never included.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string
Entity type. Records and query values are never included.
Show update_plan
The AI adds settled points to the plan.
'update_plan'
required
The tool that was called.
object | null
What the AI asked the tool to do, narrowed to what this tool publishes.
Show child attributes
object[]
Plan updates in their emitted order.
Show child attributes
string
Update action.
string
Plan section key.
string
User-facing section label.
string
Plan point.
string[]
Base plan sections the AI considers sufficiently specified.
Show write_file
The AI writes a file in the app.
'write_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show write_repo_file
The AI writes a file in the imported repository.
'write_repo_file'
required
The tool that was called.
object | null
What the tool touched, for showing its progress. Never file contents or commands.
Show child attributes
string[]
Changed file paths. Source bodies and diffs are never included.
boolean
A write intentionally used empty content.
Show any other tool call
A call to any other tool. Only its name and progress are published.
string
required
The tool that was called.Any value not matched by the other shapes.
string | null
ID of the checkpoint tied to the message. On a message a person sent it holds the app before the turn, on the AI’s final reply the app after it. Absent when the turn made no checkpoint.
object | null
When the message was created.
Show child attributes
string<date-time> | null
Time the message was created, as a UTC timestamp in ISO 8601 format.
object | null
Flags on the message, such as plan mode. Only the flags listed here are published.
Show child attributes
string
Identifier the sending client attached, to match its optimistic message.
boolean
The message was sent in plan mode.
boolean
The message approves a plan.
boolean
The message expects no AI reply.
string
System message category.
object
required
The main branch’s prompt queue.
Show child attributes
object[] | null
Queued prompts, in the order they will run.
Show child attributes
string | null
ID of the queued prompt.
string | null
Text of the prompt.
string | null
Target branch ID. Null means main on legacy queues, or a branch resolved at execution when target_mode is session_current.
'fixed' | 'session_current' | null
Whether a session request names a fixed branch or follows the current branch at execution.
boolean | null
Remaining work of the active request; it precedes independent waiting requests and uses no pending slot.
string | null
Time the prompt was queued, as a UTC timestamp in ISO 8601 format.
boolean | null
Whether the queue is paused, so queued prompts wait. A person can pause it, and Base44 pauses it while the AI waits for an answer.
string | null
Session owning this queue for enrolled Base Code apps; absent on legacy branch queues.
Join an app’s room, once per app after every connect. An app.snapshot follows, then its live events. Refused with room.access_denied when the app is not on the session’s allowlist, or past 30 joins a minute.The payload is a string, not an object. Pattern: ^/apps/[0-9a-f]{24}$
Example
"/apps/6a2024af837c7a06c83021c1"
leave
Leave an app’s room. Its events stop.The payload is a string, not an object. Pattern: ^/apps/[0-9a-f]{24}$
Example
"/apps/6a2024af837c7a06c83021c1"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Base44 Support Documentation","colors":{"primary":"#FF6A00","light":"#FF8E5D","dark":"#FF6A00"},"logo":{"light":"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-light.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=7724705143e6cfece3b0a237be2a6890","dark":"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-dark.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=6c3ad8a8d1ae8299c119d554dc371843","href":"/"},"favicon":"https://mintcdn.com/base44/XkAHbvyG1CwOBCSP/images/base44-favicon.svg?fit=max\u0026auto=format\u0026n=XkAHbvyG1CwOBCSP\u0026q=85\u0026s=2a7fda75e5497e8b44f47f01bb3aa807","api":{"playground":{}},"background":{"color":{"light":"#FAF9F7","dark":"#1E1E24"}},"navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/changelog/product","label":"Changelog"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"footer":{"socials":{"twitter":"https://x.com/base44","discord":"https://discord.com/invite/ThpYPZpVts","linkedin":"https://www.linkedin.com/company/base44"}},"seo":{"metatags":{"canonical":"https://docs.base44.com","og:image":"https://docs.base44.com/images/base44-docs-og.png","og:image:width":"2400","og:image:height":"1260","twitter:image":"https://docs.base44.com/images/base44-docs-og.png","twitter:card":"summary_large_image"},"indexing":"all"},"integrations":{"mixpanel":{"projectToken":"cc6e9e106e4b833fc3a3819c11b74138"}},"contextual":{"options":["copy","view","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/pt-BR/changelog/product","label":"Registro de alterações"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"pt-BR"},{"language":"es","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/es/changelog/product","label":"Registro de cambios"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"es"},{"language":"he","hidden":true,"navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/he/changelog/product","label":"יומן שינויים"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"he"},{"language":"ja","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/ja/changelog/product","label":"変更履歴"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"ja"},{"language":"de","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/de/changelog/product","label":"Änderungsprotokoll"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"de"},{"language":"fr","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/fr/changelog/product","label":"Notes de version"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"fr"},{"language":"it","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/it/changelog/product","label":"Registro modifiche"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"it"},{"language":"hu","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/hu/changelog/product","label":"Változásnapló"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"href":"hu"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"base44","hasAudioNarration":true,"actualSubdomain":"base44","customDomains":["docs.base44.com"],"gitSource":{"type":"github","owner":"base44-dev","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afb2fb6b31d8d74aeeda2ec","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"en","tag":"Developers","count":868},{"language":"en","tag":"APIs","count":607},{"language":"en","tag":"Apps API (Beta)","count":466},{"language":"de","tag":"Entwickler","count":140},{"language":"es","tag":"Desarrolladores","count":140},{"language":"fr","tag":"Développeurs","count":140},{"language":"he","tag":"מפתחים","count":140},{"language":"hu","tag":"Fejlesztők","count":140},{"language":"it","tag":"Sviluppatori","count":140},{"language":"ja","tag":"開発者","count":140},{"language":"pt-BR","tag":"Desenvolvedores","count":140},{"language":"en","tag":"API Reference","count":128},{"language":"en","tag":"Apps","count":113},{"language":"en","tag":"Skills","count":113},{"language":"en","tag":"Google Ads","count":90},{"language":"en","tag":"Workspace API (Beta)","count":77},{"language":"hu","tag":"Alkalmazás","count":70},{"language":"de","tag":"Apps","count":68},{"language":"es","tag":"Aplicaciones","count":68},{"language":"fr","tag":"Applications","count":68},{"language":"it","tag":"App","count":68},{"language":"ja","tag":"アプリ","count":68},{"language":"pt-BR","tag":"Apps","count":68},{"language":"he","tag":"אפליקציות","count":67},{"language":"en","tag":"CLI","count":59},{"language":"de","tag":"CLI","count":59},{"language":"es","tag":"CLI","count":59},{"language":"fr","tag":"CLI","count":59},{"language":"he","tag":"CLI","count":59},{"language":"hu","tag":"CLI","count":59},{"language":"it","tag":"CLI","count":59},{"language":"ja","tag":"CLI","count":59},{"language":"pt-BR","tag":"CLI","count":59},{"language":"en","tag":"Commands","count":57},{"language":"de","tag":"Commands","count":57},{"language":"es","tag":"Commands","count":57},{"language":"fr","tag":"Commands","count":57},{"language":"he","tag":"Commands","count":57},{"language":"hu","tag":"Commands","count":57},{"language":"it","tag":"Commands","count":57},{"language":"ja","tag":"Commands","count":57},{"language":"pt-BR","tag":"Commands","count":57},{"language":"de","tag":"Backend (Beta)","count":42},{"language":"es","tag":"Backend (Beta)","count":42},{"language":"fr","tag":"Backend (Beta)","count":42},{"language":"he","tag":"Backend (בטא)","count":42},{"language":"hu","tag":"Backend (Beta)","count":42},{"language":"it","tag":"Backend (Beta)","count":42},{"language":"ja","tag":"バックエンド (Beta)","count":42},{"language":"pt-BR","tag":"Backend (Beta)","count":42},{"language":"de","tag":"Konto \u0026 Abrechnung","count":31},{"language":"de","tag":"SDKs","count":31},{"language":"es","tag":"Cuenta y facturación","count":31},{"language":"es","tag":"SDKs","count":31},{"language":"fr","tag":"Compte et facturation","count":31},{"language":"fr","tag":"SDKs","count":31},{"language":"he","tag":"חשבון וחיוב","count":31},{"language":"he","tag":"SDKs","count":31},{"language":"hu","tag":"Fiók és számlázás","count":31},{"language":"hu","tag":"SDKs","count":31},{"language":"it","tag":"Account e fatturazione","count":31},{"language":"it","tag":"SDKs","count":31},{"language":"ja","tag":"アカウントと請求","count":31},{"language":"ja","tag":"SDKs","count":31},{"language":"pt-BR","tag":"Conta e faturamento","count":31},{"language":"pt-BR","tag":"SDKs","count":31},{"language":"de","tag":"Integrationen","count":24},{"language":"de","tag":"App SDK","count":24},{"language":"es","tag":"Integraciones","count":24},{"language":"es","tag":"App SDK","count":24},{"language":"fr","tag":"Intégrations","count":24},{"language":"fr","tag":"App SDK","count":24},{"language":"he","tag":"אינטגרציות","count":24},{"language":"he","tag":"App SDK","count":24},{"language":"hu","tag":"App SDK","count":24},{"language":"it","tag":"Integrazioni","count":24},{"language":"it","tag":"App SDK","count":24},{"language":"ja","tag":"インテグレーション","count":24},{"language":"ja","tag":"App SDK","count":24},{"language":"pt-BR","tag":"Integrações","count":24},{"language":"pt-BR","tag":"App SDK","count":24},{"language":"de","tag":"Unternehmen","count":22},{"language":"es","tag":"Empresas","count":22},{"language":"fr","tag":"Entreprise","count":22},{"language":"he","tag":"ארגונים","count":22},{"language":"hu","tag":"Vállalatok","count":22},{"language":"hu","tag":"Integrációk","count":22},{"language":"it","tag":"Aziende","count":22},{"language":"ja","tag":"エンタープライズ","count":22},{"language":"pt-BR","tag":"Empresas","count":22},{"language":"default","tag":"Developers","count":2},{"language":"default","tag":"APIs","count":2},{"language":"default","tag":"Audit Logs API","count":2},{"language":"default","tag":"API Reference","count":2},{"language":"default","tag":"audit-logs","count":2}],"searchSettings":{"showContentSnippets":true,"maxResults":10}},"assistantConfig":{"enableStarterQuestions":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"68f8934ac32e3459832881b0","deploymentId":"6792c6d6e85c02040dc386df","questionText":"Which plans come with a free domain?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:18:18.293Z","updatedAt":"2025-10-22T08:18:18.293Z","__v":0},{"_id":"68f892c4c32e345983287064","deploymentId":"6792c6d6e85c02040dc386df","questionText":"How are credits used?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:16:04.700Z","updatedAt":"2025-10-22T08:16:24.261Z","__v":0},{"_id":"68f892aec32e345983286ddf","deploymentId":"6792c6d6e85c02040dc386df","questionText":"How do I use Discuss mode?","status":"active","generatedBy":"manual","createdAt":"2025-10-22T08:15:42.469Z","updatedAt":"2025-10-22T08:15:42.469Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","href":"/_mintlify/custom/base44/5b5842685c884e06/custom.css"}],"page":{"pagePath":"developers/references/apps-api/sections/socket-messages","slug":"/developers/references/apps-api/sections/socket-messages","pageMetadata":{"title":"Socket messages","description":"Every message on a socket session's connection, in both directions, and its payload.","sidebarTitle":"Socket messages","href":"/developers/references/apps-api/sections/socket-messages"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every message on a socket session’s connection, in both directions, and its payload.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:`This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.`}),`\n`,_jsxs(_components.p,{children:[`This connection delivers live updates of the AI chat for the apps a white-label session can watch. It uses Socket.IO, not a raw WebSocket. Connect with `,_jsx(_components.code,{children:`io(socket_url, { path: socket_path, transports: [\"websocket\"], auth: { session_token } })`}),`, using the values your server received from `,_jsx(_components.code,{children:`POST /api/v1/socket-sessions`}),`. Then send `,_jsx(_components.code,{children:`join`}),` for each app to receive the app’s snapshot, followed by live events.`]}),`\n`,_jsx(_components.p,{children:`Available only to white-label workspaces on the Builder plan or higher, with live AI chat updates turned on. Ask your onboarding contact to turn them on for your workspace.`}),`\n`,_jsxs(_components.p,{children:[`Send the session token in the Socket.IO CONNECT `,_jsx(_components.code,{children:`auth`}),` as `,_jsx(_components.code,{children:`session_token`}),`. A refused connection is a `,_jsx(_components.code,{children:`connect_error`}),` with `,_jsx(_components.code,{children:`message: \"connection_denied\"`}),` and `,_jsx(_components.code,{children:`data: { retryable }`}),`. If `,_jsx(_components.code,{children:`retryable`}),` is true, retry with backoff. Otherwise, ask your server for a new session.`]}),`\n`,_jsxs(_components.p,{children:[`One connection per session carries the events of every app it joins. In an event’s `,_jsx(_components.code,{children:`data`}),`, a missing field is unchanged and an explicit `,_jsx(_components.code,{children:`null`}),` clears it. The `,_jsx(_components.code,{children:`app.snapshot`}),` event is the exception, since it replaces the app’s state.`]}),`\n`,_jsx(Heading,{level:`2`,id:`event-format`,children:`Event format`}),`\n`,_jsx(_components.p,{children:`Every event the server sends is an object with two fields:`}),`\n`,_jsx(ResponseField,{name:`room`,type:`string | null`,required:true,id:`param-room`,children:_jsxs(_components.p,{children:[`The app the event belongs to, as `,_jsx(_components.code,{children:`/apps/{app_id}`}),`. It is `,_jsx(_components.code,{children:`null`}),` for `,_jsx(_components.code,{children:`session.ended`}),`, which concerns the whole session.`]})}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,required:true,id:`param-data`,children:_jsx(_components.p,{children:`The event’s payload. Its fields depend on the event.`})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/sign-in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"force\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`events-from-the-server`,children:`Events from the server`}),`\n`,_jsx(Heading,{level:`3`,id:`message-updated`,children:_jsx(_components.code,{children:`message.updated`})}),`\n`,_jsxs(_components.p,{children:[`A chat message was added or replaced. Replace the message with the same `,_jsx(_components.code,{children:`id`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(ResponseField,{name:`message`,type:`object`,required:true,id:`param-message`,children:[_jsx(_components.p,{children:`The message in full, as it now reads.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id`,children:_jsx(_components.p,{children:`ID of the message. An update carries the whole message again under the same ID.`})}),_jsx(ResponseField,{name:`role`,type:`'user' | 'assistant' | 'system' | null`,id:`param-role`,children:_jsxs(_components.p,{children:[`Who sent the message. The value is `,_jsx(_components.code,{children:`user`}),` for a message a person sent and `,_jsx(_components.code,{children:`assistant`}),` for the AI’s reply. Messages with the `,_jsx(_components.code,{children:`system`}),` role are never sent.`]})}),_jsx(ResponseField,{name:`content`,type:`string | null`,id:`param-content`,children:_jsx(_components.p,{children:`Text of the message. Attachments and structured content are left out.`})}),_jsxs(ResponseField,{name:`tool_calls`,type:`object[] | null`,id:`param-tool-calls`,children:[_jsx(_components.p,{children:`The tool calls the AI made in this message, in order. Each is updated in place as it progresses.`}),_jsx(_components.p,{children:`Every shape has these fields:`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id-1`,children:_jsx(_components.p,{children:`ID of the call. Every update to the call carries the same ID.`})}),_jsx(ResponseField,{name:`requires_user_input`,type:`boolean | null`,id:`param-requires-user-input`,children:_jsxs(_components.p,{children:[`Whether the call has paused for the user’s answer or approval. The value becomes `,_jsx(_components.code,{children:`true`}),` once it pauses and stays `,_jsx(_components.code,{children:`true`}),` after the user answers, so read `,_jsx(_components.code,{children:`status`}),` to know whether it’s still waiting.`]})}),_jsx(ResponseField,{name:`auto_approved`,type:`boolean | null`,id:`param-auto-approved`,children:_jsxs(_components.p,{children:[`Whether the call skipped its approval because the app has Auto approve on. The value is `,_jsx(_components.code,{children:`true`}),` when the call needed approval but ran at once. It never paused, and its result is real.`]})}),_jsx(ResponseField,{name:`status`,type:`'running' | 'success' | 'error' | 'stopped' | 'waiting_for_user_input' | null`,id:`param-status`,children:_jsxs(_components.p,{children:[`State of the call. The value is `,_jsx(_components.code,{children:`running`}),` while the tool works, `,_jsx(_components.code,{children:`success`}),` or `,_jsx(_components.code,{children:`error`}),` once it finished, `,_jsx(_components.code,{children:`stopped`}),` when the user stopped the turn, or `,_jsx(_components.code,{children:`waiting_for_user_input`}),` while it waits for the user’s answer or approval.`]})}),_jsx(ResponseField,{name:`mutation_applied`,type:`boolean | null`,id:`param-mutation-applied`,children:_jsxs(_components.p,{children:[`Whether the call changed the app or its data. `,_jsx(_components.code,{children:`false`}),` means it finished without changing anything. `,_jsx(_components.code,{children:`null`}),` means the tool did not report it, so whether it changed anything is unknown.`]})}),_jsxs(ResponseField,{name:`waiting_on`,type:`object | null`,id:`param-waiting-on`,children:[_jsxs(_components.p,{children:[`What kind of answer the call waits for, while `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`waiting_for_user_input`}),`.`]}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`kind`,type:`'choice' | 'input' | 'approval'`,id:`param-kind`,children:_jsxs(_components.p,{children:[`What the call needs from the user. The value is `,_jsx(_components.code,{children:`choice`}),` to pick among options, `,_jsx(_components.code,{children:`input`}),` to supply values, or `,_jsx(_components.code,{children:`approval`}),` to approve or reject.`]})})})]}),_jsxs(ResponseField,{name:`approval`,type:`object | null`,id:`param-approval`,children:[_jsxs(_components.p,{children:[`Why the call waits for approval, from the check that paused it. Present only while `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`waiting_for_user_input`}),`.`]}),_jsxs(_components.p,{children:[`One of these shapes, told apart by `,_jsx(_components.code,{children:`guard`}),`:`]}),_jsxs(Expandable,{title:`backend_function_entity_delete`,children:[_jsx(_components.p,{children:`Waiting for approval because testing a backend function would delete records from an entity.`}),_jsx(ResponseField,{name:`guard`,type:`'backend_function_entity_delete'`,required:true,id:`param-guard`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`function_name`,type:`string`,id:`param-function-name`,children:_jsx(_components.p,{children:`Backend function under test.`})}),_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method`,children:_jsx(_components.p,{children:`Entity method the function calls.`})}),_jsx(ResponseField,{name:`inspection_failed`,type:`boolean`,id:`param-inspection-failed`,children:_jsx(_components.p,{children:`The check could not verify the function’s source.`})})]})]})]}),_jsxs(Expandable,{title:`bash_approval`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to run a shell command that needs a review first. The command itself is not published.`}),_jsx(ResponseField,{name:`guard`,type:`'bash_approval'`,required:true,id:`param-guard-1`,children:_jsx(_components.p,{children:`The check that paused the call.`})})]}),_jsxs(Expandable,{title:`entity_rls_guard`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to change who can read or write an entity’s records.`}),_jsx(ResponseField,{name:`guard`,type:`'entity_rls_guard'`,required:true,id:`param-guard-2`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-1`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-1`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name`,children:_jsx(_components.p,{children:`Entity whose access rules change.`})}),_jsx(ResponseField,{name:`change_type`,type:`string`,id:`param-change-type`,children:_jsx(_components.p,{children:`How the access rules change.`})}),_jsx(ResponseField,{name:`changed_ops`,type:`string[]`,id:`param-changed-ops`,children:_jsx(_components.p,{children:`Access operations whose rules change.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool_entity_mutation`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would update or delete records in an entity.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_entity_mutation'`,required:true,id:`param-guard-3`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-2`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-2`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method-1`,children:_jsxs(_components.p,{children:[`Entity method the code calls, such as `,_jsx(_components.code,{children:`delete`}),`.`]})}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})}),_jsx(ResponseField,{name:`entity_names`,type:`string[]`,id:`param-entity-names`,children:_jsx(_components.p,{children:`Entities whose records the code changes; empty when the code names one at runtime.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool_github_repo_write`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would write to a GitHub repository.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_github_repo_write'`,required:true,id:`param-guard-4`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-3`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-3`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-1`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_invite_user`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would invite someone to the app by email.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_invite_user'`,required:true,id:`param-guard-5`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-4`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-4`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-2`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_send_email`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would send an email.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_send_email'`,required:true,id:`param-guard-6`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-5`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-5`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-3`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_send_sms`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would send a text message.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_send_sms'`,required:true,id:`param-guard-7`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-6`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-6`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-4`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`workspace_rule_status`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to turn a workspace rule on or off.`}),_jsx(ResponseField,{name:`guard`,type:`'workspace_rule_status'`,required:true,id:`param-guard-8`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-7`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-7`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action`,children:_jsx(_components.p,{children:`The status change: activate, deactivate, archive or unarchive.`})}),_jsx(ResponseField,{name:`workflow_id`,type:`string | null`,id:`param-workflow-id`,children:_jsx(_components.p,{children:`The rule’s workflow.`})}),_jsx(ResponseField,{name:`workflow_name`,type:`string | null`,id:`param-workflow-name`,children:_jsx(_components.p,{children:`The workflow name the call asked for, when the check could not load it.`})}),_jsx(ResponseField,{name:`hook_type`,type:`string | null`,id:`param-hook-type`,children:_jsx(_components.p,{children:`The operation the rule guards.`})}),_jsx(ResponseField,{name:`lookup_failed`,type:`boolean | null`,id:`param-lookup-failed`,children:_jsx(_components.p,{children:`The check could not load the workflow.`})})]})]})]}),_jsxs(Expandable,{title:`any other approval`,children:[_jsx(_components.p,{children:`Waiting for approval from a check that publishes only its name.`}),_jsxs(ResponseField,{name:`guard`,type:`string`,required:true,id:`param-guard-9`,children:[_jsx(_components.p,{children:`The check that paused the call.`}),_jsx(_components.p,{children:`Any value not matched by the other shapes.`})]})]})]})]}),_jsxs(_components.p,{children:[`Each shape adds its own fields, told apart by `,_jsx(_components.code,{children:`name`}),`:`]}),_jsxs(Expandable,{title:`ask_clarifying_questions`,children:[_jsx(_components.p,{children:`The AI asks the user questions before it goes on. The call waits until the user answers.`}),_jsx(ResponseField,{name:`name`,type:`'ask_clarifying_questions'`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`questions`,type:`object[]`,id:`param-questions`,children:[_jsx(_components.p,{children:`Questions presented to the user.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question`,type:`string`,id:`param-question`,children:_jsx(_components.p,{children:`Visible question text.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[`Question category, such as `,_jsx(_components.code,{children:`text`}),`.`]})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Supporting text.`})}),_jsx(ResponseField,{name:`multi_select`,type:`boolean`,id:`param-multi-select`,children:_jsx(_components.p,{children:`More than one answer may be selected.`})}),_jsx(ResponseField,{name:`covers`,type:`string`,id:`param-covers`,children:_jsx(_components.p,{children:`Plan section the question covers.`})}),_jsxs(ResponseField,{name:`options`,type:`(string | object)[]`,id:`param-options`,children:[_jsx(_components.p,{children:`Selectable options. A bare string is its label.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label`,children:_jsx(_components.p,{children:`Visible option label.`})})})]})]})]})})]}),_jsxs(ResponseField,{name:`user_input`,type:`object | null`,id:`param-user-input`,children:[_jsx(_components.p,{children:`The user’s answer to the call, once given, for tools that take one.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`answers`,type:`object[]`,id:`param-answers`,children:[_jsx(_components.p,{children:`Answers supplied to the question card.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question_index`,type:`integer`,id:`param-question-index`,children:_jsx(_components.p,{children:`Zero-based question index.`})}),_jsx(ResponseField,{name:`selected_label`,type:`string`,id:`param-selected-label`,children:_jsx(_components.p,{children:`Label selected for a single-select question.`})}),_jsx(ResponseField,{name:`selected_labels`,type:`string[]`,id:`param-selected-labels`,children:_jsx(_components.p,{children:`Labels selected for a multi-select question.`})}),_jsx(ResponseField,{name:`custom_text`,type:`string`,id:`param-custom-text`,children:_jsx(_components.p,{children:`Free-text answer. Structural filtering does not redact prose.`})})]})]})})]})]}),_jsxs(Expandable,{title:`ask_plan_questions`,children:[_jsx(_components.p,{children:`The AI asks the user questions that shape the plan, in plan mode. The call waits until the user answers.`}),_jsx(ResponseField,{name:`name`,type:`'ask_plan_questions'`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-1`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`questions`,type:`object[]`,id:`param-questions-1`,children:[_jsx(_components.p,{children:`Questions presented to the user.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question`,type:`string`,id:`param-question-1`,children:_jsx(_components.p,{children:`Visible question text.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-1`,children:_jsxs(_components.p,{children:[`Question category, such as `,_jsx(_components.code,{children:`text`}),`.`]})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`Supporting text.`})}),_jsx(ResponseField,{name:`multi_select`,type:`boolean`,id:`param-multi-select-1`,children:_jsx(_components.p,{children:`More than one answer may be selected.`})}),_jsx(ResponseField,{name:`covers`,type:`string`,id:`param-covers-1`,children:_jsx(_components.p,{children:`Plan section the question covers.`})}),_jsxs(ResponseField,{name:`options`,type:`(string | object)[]`,id:`param-options-1`,children:[_jsx(_components.p,{children:`Selectable options. A bare string is its label.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-1`,children:_jsx(_components.p,{children:`Visible option label.`})})})]})]})]})})]}),_jsxs(ResponseField,{name:`user_input`,type:`object | null`,id:`param-user-input-1`,children:[_jsx(_components.p,{children:`The user’s answer to the call, once given, for tools that take one.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`answers`,type:`object[]`,id:`param-answers-1`,children:[_jsx(_components.p,{children:`Answers supplied to the question card.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question_index`,type:`integer`,id:`param-question-index-1`,children:_jsx(_components.p,{children:`Zero-based question index.`})}),_jsx(ResponseField,{name:`selected_label`,type:`string`,id:`param-selected-label-1`,children:_jsx(_components.p,{children:`Label selected for a single-select question.`})}),_jsx(ResponseField,{name:`selected_labels`,type:`string[]`,id:`param-selected-labels-1`,children:_jsx(_components.p,{children:`Labels selected for a multi-select question.`})}),_jsx(ResponseField,{name:`custom_text`,type:`string`,id:`param-custom-text-1`,children:_jsx(_components.p,{children:`Free-text answer. Structural filtering does not redact prose.`})})]})]})})]})]}),_jsxs(Expandable,{title:`bash`,children:[_jsx(_components.p,{children:`The AI runs a shell command in the app’s sandbox.`}),_jsx(ResponseField,{name:`name`,type:`'bash'`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-5`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`create_entity_records`,children:[_jsx(_components.p,{children:`The AI adds records to one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'create_entity_records'`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-1`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-1`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})}),_jsx(ResponseField,{name:`record_count`,type:`integer`,id:`param-record-count`,children:_jsx(_components.p,{children:`Number of records created.`})})]})]})]}),_jsxs(Expandable,{title:`delete_entities`,children:[_jsx(_components.p,{children:`The AI deletes records from one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'delete_entities'`,required:true,id:`param-name-4`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-2`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-6`,children:_jsx(_components.p,{children:`The agent’s summary of the change. Queries and record values are never included.`})})})]}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-2`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-2`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})})})]})]}),_jsxs(Expandable,{title:`delete_file`,children:[_jsx(_components.p,{children:`The AI deletes a file from the app.`}),_jsx(ResponseField,{name:`name`,type:`'delete_file'`,required:true,id:`param-name-5`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-3`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`edit_repo_file`,children:[_jsx(_components.p,{children:`The AI edits a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'edit_repo_file'`,required:true,id:`param-name-6`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-4`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-1`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-1`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool`,children:[_jsx(_components.p,{children:`The AI runs code against the app’s data and integrations.`}),_jsx(ResponseField,{name:`name`,type:`'exec_tool'`,required:true,id:`param-name-7`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-5`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-7`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`find_replace`,children:[_jsx(_components.p,{children:`The AI edits files by replacing text in them.`}),_jsx(ResponseField,{name:`name`,type:`'find_replace'`,required:true,id:`param-name-8`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-6`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-2`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-2`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`generate_game_background`,children:[_jsxs(_components.p,{children:[`The AI generates a background image for a game. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_game_background'`,required:true,id:`param-name-9`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`generate_game_image`,children:[_jsxs(_components.p,{children:[`The AI generates an image asset for a game. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_game_image'`,required:true,id:`param-name-10`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-3`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`1:1`}),`.`]})})})]}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results-1`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`generate_image`,children:[_jsxs(_components.p,{children:[`The AI generates an image for the app. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_image'`,required:true,id:`param-name-11`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-4`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-2`,children:_jsx(_components.p,{children:`Visible media label.`})}),_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio-1`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`16:9`}),`.`]})})]})]}),_jsxs(ResponseField,{name:`results`,type:`object | null`,id:`param-results-2`,children:[_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`placeholder_url`,type:`string`,id:`param-placeholder-url`,children:_jsxs(_components.p,{children:[`Placeholder URL, used to associate an `,_jsx(_components.code,{children:`image.resolved`}),` event with this tool.`]})}),_jsx(ResponseField,{name:`status`,type:`'pending' | 'completed' | 'failed'`,id:`param-status-1`,children:_jsx(_components.p,{children:`Current generation status.`})}),_jsx(ResponseField,{name:`image_url`,type:`string | null`,id:`param-image-url`,children:_jsx(_components.p,{children:`Generated image URL, once available.`})})]})]})]}),_jsxs(Expandable,{title:`generate_prd`,children:[_jsx(_components.p,{children:`The AI writes down the plan it settled with the user. In plan mode this call carries the plan itself.`}),_jsx(ResponseField,{name:`name`,type:`'generate_prd'`,required:true,id:`param-name-12`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-5`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`app_name`,type:`string`,id:`param-app-name`,children:_jsx(_components.p,{children:`App or feature name.`})}),_jsx(ResponseField,{name:`intent_and_goal`,type:`string`,id:`param-intent-and-goal`,children:_jsx(_components.p,{children:`What is being built and why.`})}),_jsx(ResponseField,{name:`audience_and_roles`,type:`string`,id:`param-audience-and-roles`,children:_jsx(_components.p,{children:`Who uses it and their roles.`})}),_jsx(ResponseField,{name:`core_flows`,type:`string[]`,id:`param-core-flows`,children:_jsx(_components.p,{children:`End-to-end user flows.`})}),_jsx(ResponseField,{name:`technical_requirements`,type:`string`,id:`param-technical-requirements`,children:_jsx(_components.p,{children:`Specific technical requirements.`})}),_jsx(ResponseField,{name:`design_preferences`,type:`string`,id:`param-design-preferences`,children:_jsx(_components.p,{children:`Design preferences.`})}),_jsx(ResponseField,{name:`prd_type`,type:`string`,id:`param-prd-type`,children:_jsx(_components.p,{children:`Build or plan declaration, when the AI asks for one.`})}),_jsx(ResponseField,{name:`store_platform`,type:`string`,id:`param-store-platform`,children:_jsx(_components.p,{children:`Store platform settled in planning, for e-commerce plans.`})}),_jsx(ResponseField,{name:`game_engine`,type:`string`,id:`param-game-engine`,children:_jsx(_components.p,{children:`Engine settled in planning, for game plans.`})})]})]})]}),_jsxs(Expandable,{title:`generate_video`,children:[_jsx(_components.p,{children:`The AI generates a video for the app.`}),_jsx(ResponseField,{name:`name`,type:`'generate_video'`,required:true,id:`param-name-13`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-6`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-3`,children:_jsx(_components.p,{children:`Visible media label.`})}),_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio-2`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`16:9`}),`.`]})})]})]}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results-3`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`install_npm_package`,children:[_jsx(_components.p,{children:`The AI installs or removes npm packages in the app.`}),_jsx(ResponseField,{name:`name`,type:`'install_npm_package'`,required:true,id:`param-name-14`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-7`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`packages`,type:`object[]`,id:`param-packages`,children:[_jsx(_components.p,{children:`Requested package operations.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-15`,children:_jsx(_components.p,{children:`Package name.`})}),_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-1`,children:_jsxs(_components.p,{children:[`Requested operation, such as `,_jsx(_components.code,{children:`install`}),`.`]})})]})]})})]})]}),_jsxs(Expandable,{title:`preview_execute_code`,children:[_jsx(_components.p,{children:`The AI runs code inside the app preview to inspect it.`}),_jsx(ResponseField,{name:`name`,type:`'preview_execute_code'`,required:true,id:`param-name-16`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-7`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-8`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities-1`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`preview_screenshot`,children:[_jsx(_components.p,{children:`The AI takes a screenshot of the app preview to check its work.`}),_jsx(ResponseField,{name:`name`,type:`'preview_screenshot'`,required:true,id:`param-name-17`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-8`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-9`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`read_only_exec_tool`,children:[_jsx(_components.p,{children:`The AI runs code that only reads the app’s data.`}),_jsx(ResponseField,{name:`name`,type:`'read_only_exec_tool'`,required:true,id:`param-name-18`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-9`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-10`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities-2`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`read_repo_file`,children:[_jsx(_components.p,{children:`The AI reads a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'read_repo_file'`,required:true,id:`param-name-19`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-10`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-3`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-3`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`run_shell_command`,children:[_jsx(_components.p,{children:`The AI runs a shell command in the imported repository’s sandbox.`}),_jsx(ResponseField,{name:`name`,type:`'run_shell_command'`,required:true,id:`param-name-20`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-11`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-11`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`set_secrets`,children:[_jsx(_components.p,{children:`The AI asks the user for secret values, such as API keys. The call waits until the user supplies them.`}),_jsx(ResponseField,{name:`name`,type:`'set_secrets'`,required:true,id:`param-name-21`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-8`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`secrets_schema`,type:`object[]`,id:`param-secrets-schema`,children:[_jsx(_components.p,{children:`Requested secrets.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`secretName`,type:`string`,id:`param-secret-name`,children:_jsx(_components.p,{children:`Requested secret name.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-2`,children:_jsx(_components.p,{children:`Where to obtain it.`})})]})]})})]})]}),_jsxs(Expandable,{title:`update_entities`,children:[_jsx(_components.p,{children:`The AI updates records in one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'update_entities'`,required:true,id:`param-name-22`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-9`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-12`,children:_jsx(_components.p,{children:`The agent’s summary of the change. Queries and record values are never included.`})})})]}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-12`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-3`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})})})]})]}),_jsxs(Expandable,{title:`update_plan`,children:[_jsx(_components.p,{children:`The AI adds settled points to the plan.`}),_jsx(ResponseField,{name:`name`,type:`'update_plan'`,required:true,id:`param-name-23`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-10`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ResponseField,{name:`updates`,type:`object[]`,id:`param-updates`,children:[_jsx(_components.p,{children:`Plan updates in their emitted order.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-2`,children:_jsx(_components.p,{children:`Update action.`})}),_jsx(ResponseField,{name:`section`,type:`string`,id:`param-section`,children:_jsx(_components.p,{children:`Plan section key.`})}),_jsx(ResponseField,{name:`section_label`,type:`string`,id:`param-section-label`,children:_jsx(_components.p,{children:`User-facing section label.`})}),_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text`,children:_jsx(_components.p,{children:`Plan point.`})})]})]}),_jsx(ResponseField,{name:`sections_with_enough`,type:`string[]`,id:`param-sections-with-enough`,children:_jsx(_components.p,{children:`Base plan sections the AI considers sufficiently specified.`})})]})]})]}),_jsxs(Expandable,{title:`write_file`,children:[_jsx(_components.p,{children:`The AI writes a file in the app.`}),_jsx(ResponseField,{name:`name`,type:`'write_file'`,required:true,id:`param-name-24`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-13`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-4`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-4`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`write_repo_file`,children:[_jsx(_components.p,{children:`The AI writes a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'write_repo_file'`,required:true,id:`param-name-25`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-14`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-5`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-5`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`any other tool call`,children:[_jsx(_components.p,{children:`A call to any other tool. Only its name and progress are published.`}),_jsxs(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name-26`,children:[_jsx(_components.p,{children:`The tool that was called.`}),_jsx(_components.p,{children:`Any value not matched by the other shapes.`})]})]})]}),_jsx(ResponseField,{name:`checkpoint_id`,type:`string | null`,id:`param-checkpoint-id`,children:_jsx(_components.p,{children:`ID of the checkpoint tied to the message. On a message a person sent it holds the app before the turn, on the AI’s final reply the app after it. Absent when the turn made no checkpoint.`})}),_jsxs(ResponseField,{name:`metadata`,type:`object | null`,id:`param-metadata`,children:[_jsx(_components.p,{children:`When the message was created.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`created_date`,type:`string\u003cdate-time> | null`,id:`param-created-date`,children:_jsx(_components.p,{children:`Time the message was created, as a UTC timestamp in ISO 8601 format.`})})})]}),_jsxs(ResponseField,{name:`additional_message_params`,type:`object | null`,id:`param-additional-message-params`,children:[_jsx(_components.p,{children:`Flags on the message, such as plan mode. Only the flags listed here are published.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`client_creation_id`,type:`string`,id:`param-client-creation-id`,children:_jsx(_components.p,{children:`Identifier the sending client attached, to match its optimistic message.`})}),_jsx(ResponseField,{name:`plan_mode`,type:`boolean`,id:`param-plan-mode`,children:_jsx(_components.p,{children:`The message was sent in plan mode.`})}),_jsx(ResponseField,{name:`plan_approved`,type:`boolean`,id:`param-plan-approved`,children:_jsx(_components.p,{children:`The message approves a plan.`})}),_jsx(ResponseField,{name:`skip_ai_response`,type:`boolean`,id:`param-skip-ai-response`,children:_jsx(_components.p,{children:`The message expects no AI reply.`})}),_jsx(ResponseField,{name:`system_message_type`,type:`string`,id:`param-system-message-type`,children:_jsx(_components.p,{children:`System message category.`})})]})]})]})]}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string | null`,id:`param-conversation-id`,children:_jsx(_components.p,{children:`ID of the conversation the message belongs to. Each branch has its own conversation, so a viewer showing one branch can drop another branch’s messages.`})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I added a sign-in page with email and Google.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toolu_01HXq8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"write_file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requires_user_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"auto_approved\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mutation_applied\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file_paths\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"src/pages/SignIn.jsx\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checkpoint_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1f9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:23:41\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1f2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`message-removed`,children:_jsx(_components.code,{children:`message.removed`})}),`\n`,_jsxs(_components.p,{children:[`A chat message was removed or hidden. An `,_jsx(_components.code,{children:`id`}),` the viewer never saw is a no-op.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`message_id`,type:`string`,required:true,id:`param-message-id`,children:_jsx(_components.p,{children:`ID of the removed message.`})}),`\n`,_jsx(ResponseField,{name:`conversation_id`,type:`string | null`,id:`param-conversation-id-1`,children:_jsx(_components.p,{children:`ID of the conversation the message belongs to. Each branch has its own conversation, so a viewer showing one branch can drop another branch’s messages.`})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-1`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"conversation_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1f2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`app-status_changed`,children:_jsx(_components.code,{children:`app.status_changed`})}),`\n`,_jsx(_components.p,{children:`The AI started, finished, or failed a turn. Null status clears it.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`object | null`,required:true,id:`param-status-2`,children:[_jsxs(_components.p,{children:[`The new status, or `,_jsx(_components.code,{children:`null`}),` when the status was cleared.`]}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`state`,type:`'ready' | 'processing' | 'error' | null`,id:`param-state`,children:_jsx(_components.p,{children:`Where the app is in its build lifecycle. Ready means idle with no build in progress, processing means the app is being generated or modified, and error means the last build failed. This tracks building, not publishing.`})}),_jsx(ResponseField,{name:`turn_id`,type:`string | null`,id:`param-turn-id`,children:_jsx(_components.p,{children:`ID of the user message whose turn the status belongs to.`})}),_jsx(ResponseField,{name:`last_updated_date`,type:`string\u003cdate-time> | null`,id:`param-last-updated-date`,children:_jsx(_components.p,{children:`Time the status was last updated, as a UTC timestamp in ISO 8601 format.`})})]})]}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-2`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"processing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"turn_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_updated_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:23:41Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`preview-reload_requested`,children:_jsx(_components.code,{children:`preview.reload_requested`})}),`\n`,_jsx(_components.p,{children:`Reload the app preview.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-3`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`preview-navigation_requested`,children:_jsx(_components.code,{children:`preview.navigation_requested`})}),`\n`,_jsx(_components.p,{children:`Show this page of the app in the preview.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`path`,type:`string`,required:true,id:`param-path`,children:_jsxs(_components.p,{children:[`Path of the page to show, relative to the app’s root, such as `,_jsx(_components.code,{children:`/settings`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`force`,type:`boolean`,required:true,id:`param-force`,children:_jsx(_components.p,{children:`Navigate even when the user has moved away from the page.`})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-4`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/sign-in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"force\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`queue-updated`,children:_jsx(_components.code,{children:`queue.updated`})}),`\n`,_jsx(_components.p,{children:`The whole prompt queue, after any change.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(ResponseField,{name:`items`,type:`object[] | null`,id:`param-items`,children:[_jsx(_components.p,{children:`Queued prompts, in the order they will run.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id-2`,children:_jsx(_components.p,{children:`ID of the queued prompt.`})}),_jsx(ResponseField,{name:`content`,type:`string | null`,id:`param-content-1`,children:_jsx(_components.p,{children:`Text of the prompt.`})}),_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-5`,children:_jsx(_components.p,{children:`Target branch ID. Null means main on legacy queues, or a branch resolved at execution when target_mode is session_current.`})}),_jsx(ResponseField,{name:`target_mode`,type:`'fixed' | 'session_current' | null`,id:`param-target-mode`,children:_jsx(_components.p,{children:`Whether a session request names a fixed branch or follows the current branch at execution.`})}),_jsx(ResponseField,{name:`is_continuation`,type:`boolean | null`,id:`param-is-continuation`,children:_jsx(_components.p,{children:`Remaining work of the active request; it precedes independent waiting requests and uses no pending slot.`})}),_jsx(ResponseField,{name:`created_at`,type:`string | null`,id:`param-created-at`,children:_jsx(_components.p,{children:`Time the prompt was queued, as a UTC timestamp in ISO 8601 format.`})})]})]}),`\n`,_jsx(ResponseField,{name:`is_paused`,type:`boolean | null`,id:`param-is-paused`,children:_jsx(_components.p,{children:`Whether the queue is paused, so queued prompts wait. A person can pause it, and Base44 pauses it while the AI waits for an answer.`})}),`\n`,_jsx(ResponseField,{name:`session_id`,type:`string | null`,id:`param-session-id`,children:_jsx(_components.p,{children:`Session owning this queue for enrolled Base Code apps; absent on legacy branch queues.`})}),`\n`,_jsx(ResponseField,{name:`processed_item_id`,type:`string | null`,id:`param-processed-item-id`,children:_jsx(_components.p,{children:`ID of the queued prompt the AI just picked up to run. Absent when a prompt was added, removed, or cleared.`})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-6`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"q_7d1e9c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Add a dark mode toggle to the header.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_continuation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:24:05+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_paused\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"session_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`task-progressed`,children:_jsx(_components.code,{children:`task.progressed`})}),`\n`,_jsxs(_components.p,{children:[`Progress of a long-running tool, by `,_jsx(_components.code,{children:`tool_call_id`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`tool_call_id`,type:`string | null`,id:`param-tool-call-id`,children:_jsx(_components.p,{children:`ID of the tool call that started the task.`})}),`\n`,_jsx(ResponseField,{name:`message_id`,type:`string | null`,id:`param-message-id-1`,children:_jsx(_components.p,{children:`ID of the message that holds that tool call.`})}),`\n`,_jsx(ResponseField,{name:`event_type`,type:`'task_started' | 'task_progress' | 'task_completed' | 'task_failed' | 'task_cancelled' | null`,id:`param-event-type`,children:_jsxs(_components.p,{children:[`Kind of progress update. The value is `,_jsx(_components.code,{children:`task_started`}),`, `,_jsx(_components.code,{children:`task_progress`}),`, `,_jsx(_components.code,{children:`task_completed`}),`, `,_jsx(_components.code,{children:`task_failed`}),`, or `,_jsx(_components.code,{children:`task_cancelled`}),`.`]})}),`\n`,_jsxs(ResponseField,{name:`progress`,type:`object | null`,id:`param-progress`,children:[_jsx(_components.p,{children:`Progress so far.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`current`,type:`integer | null`,id:`param-current`,children:_jsx(_components.p,{children:`Items processed so far.`})}),_jsx(ResponseField,{name:`total`,type:`integer | null`,id:`param-total`,children:_jsx(_components.p,{children:`Items to process in all.`})}),_jsx(ResponseField,{name:`percentage`,type:`number | null`,id:`param-percentage`,children:_jsx(_components.p,{children:`Share of the work done, from 0 to 100.`})})]})]}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-7`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_call_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toolu_01HXq8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"task_progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"progress\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"current\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`250`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"percentage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`25`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`image-resolved`,children:_jsx(_components.code,{children:`image.resolved`})}),`\n`,_jsxs(_components.p,{children:[`A generated image finished or failed. Replace its `,_jsx(_components.code,{children:`placeholder_url`}),` wherever it appears.`]}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`status`,type:`'pending' | 'completed' | 'failed' | null`,id:`param-status-3`,children:_jsxs(_components.p,{children:[`State of the image. The value is `,_jsx(_components.code,{children:`pending`}),` while the image generates, `,_jsx(_components.code,{children:`completed`}),` once `,_jsx(_components.code,{children:`image_url`}),` is ready, or `,_jsx(_components.code,{children:`failed`}),` when generation failed.`]})}),`\n`,_jsx(ResponseField,{name:`placeholder_url`,type:`string | null`,id:`param-placeholder-url-1`,children:_jsx(_components.p,{children:`Placeholder URL the app shows while the image generates. Match it to find where the image appears.`})}),`\n`,_jsx(ResponseField,{name:`image_url`,type:`string | null`,id:`param-image-url-1`,children:_jsxs(_components.p,{children:[`URL of the finished image, or `,_jsx(_components.code,{children:`null`}),` while it is pending or after it failed.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"completed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"placeholder_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/__generating__/5e8b2f4a-1c3d-4e6f-9a7b-2d4c6e8f0a1b.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"image_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://media.base44.com/images/public/6a2024af837c7a06c83021c1/hero.png\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`conversation-changed`,children:_jsx(_components.code,{children:`conversation.changed`})}),`\n`,_jsx(_components.p,{children:`The conversation was rewritten by an undo, restore, or sync. Rejoin the room for a fresh snapshot.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-8`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`files-changed`,children:_jsx(_components.code,{children:`files.changed`})}),`\n`,_jsx(_components.p,{children:`The app’s files changed outside a chat turn.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-9`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`branch-deleted`,children:_jsx(_components.code,{children:`branch.deleted`})}),`\n`,_jsx(_components.p,{children:`A branch was deleted.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-10`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1fa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`repository-changed`,children:_jsx(_components.code,{children:`repository.changed`})}),`\n`,_jsx(_components.p,{children:`The imported app’s repository changed.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-11`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`pull_request-changed`,children:_jsx(_components.code,{children:`pull_request.changed`})}),`\n`,_jsx(_components.p,{children:`The imported app’s pull request changed.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-12`,children:_jsxs(_components.p,{children:[`ID of the branch the change belongs to. Omitted or `,_jsx(_components.code,{children:`null`}),` means the main branch.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1fa\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`session-ended`,children:_jsx(_components.code,{children:`session.ended`})}),`\n`,_jsx(_components.p,{children:`The session ended because it expired, was revoked, or was taken by a newer socket. The socket disconnects next.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsx(ResponseField,{name:`reason`,type:`'expired' | 'revoked' | 'replaced'`,required:true,id:`param-reason-8`,children:_jsxs(_components.p,{children:[`Why the session ended. When it’s `,_jsx(_components.code,{children:`expired`}),`, ask your server for a new session. When it’s `,_jsx(_components.code,{children:`revoked`}),`, your server or an admin ended it, so don’t reconnect. When it’s `,_jsx(_components.code,{children:`replaced`}),`, a newer socket took the session, so stop.`]})}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"reason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"revoked\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`room-access_denied`,children:_jsx(_components.code,{children:`room.access_denied`})}),`\n`,_jsx(_components.p,{children:`A join was refused because the app is not on the session’s allowlist, or the socket joins too often.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data`}),` object is empty.`]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`room-access_revoked`,children:_jsx(_components.code,{children:`room.access_revoked`})}),`\n`,_jsx(_components.p,{children:`The app left the session’s allowlist, or its workspace. Events for it stop. Do not rejoin.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data`}),` object is empty.`]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`room-snapshot_unavailable`,children:_jsx(_components.code,{children:`room.snapshot_unavailable`})}),`\n`,_jsx(_components.p,{children:`The join held but its snapshot failed. Live events still arrive. Rejoin later for a snapshot.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`data`}),` object is empty.`]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`app-snapshot`,children:_jsx(_components.code,{children:`app.snapshot`})}),`\n`,_jsx(_components.p,{children:`The app’s current status and its last 50 public messages, after every join. Replace the app’s state with it.`}),`\n`,_jsx(_components.p,{children:_jsxs(_components.strong,{children:[_jsx(_components.code,{children:`data`}),` fields`]})}),`\n`,_jsxs(ResponseField,{name:`status`,type:`object | null`,required:true,id:`param-status-4`,children:[_jsxs(_components.p,{children:[`The app’s build status, or `,_jsx(_components.code,{children:`null`}),` when none is recorded.`]}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`state`,type:`'ready' | 'processing' | 'error' | null`,id:`param-state-1`,children:_jsx(_components.p,{children:`Where the app is in its build lifecycle. Ready means idle with no build in progress, processing means the app is being generated or modified, and error means the last build failed. This tracks building, not publishing.`})}),_jsx(ResponseField,{name:`turn_id`,type:`string | null`,id:`param-turn-id-1`,children:_jsx(_components.p,{children:`ID of the user message whose turn the status belongs to.`})}),_jsx(ResponseField,{name:`last_updated_date`,type:`string\u003cdate-time> | null`,id:`param-last-updated-date-1`,children:_jsx(_components.p,{children:`Time the status was last updated, as a UTC timestamp in ISO 8601 format.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`messages`,type:`object[]`,required:true,id:`param-messages`,children:[_jsx(_components.p,{children:`The last 50 messages, oldest first.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id-3`,children:_jsx(_components.p,{children:`ID of the message. An update carries the whole message again under the same ID.`})}),_jsx(ResponseField,{name:`role`,type:`'user' | 'assistant' | 'system' | null`,id:`param-role-1`,children:_jsxs(_components.p,{children:[`Who sent the message. The value is `,_jsx(_components.code,{children:`user`}),` for a message a person sent and `,_jsx(_components.code,{children:`assistant`}),` for the AI’s reply. Messages with the `,_jsx(_components.code,{children:`system`}),` role are never sent.`]})}),_jsx(ResponseField,{name:`content`,type:`string | null`,id:`param-content-2`,children:_jsx(_components.p,{children:`Text of the message. Attachments and structured content are left out.`})}),_jsxs(ResponseField,{name:`tool_calls`,type:`object[] | null`,id:`param-tool-calls-1`,children:[_jsx(_components.p,{children:`The tool calls the AI made in this message, in order. Each is updated in place as it progresses.`}),_jsx(_components.p,{children:`Every shape has these fields:`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id-4`,children:_jsx(_components.p,{children:`ID of the call. Every update to the call carries the same ID.`})}),_jsx(ResponseField,{name:`requires_user_input`,type:`boolean | null`,id:`param-requires-user-input-1`,children:_jsxs(_components.p,{children:[`Whether the call has paused for the user’s answer or approval. The value becomes `,_jsx(_components.code,{children:`true`}),` once it pauses and stays `,_jsx(_components.code,{children:`true`}),` after the user answers, so read `,_jsx(_components.code,{children:`status`}),` to know whether it’s still waiting.`]})}),_jsx(ResponseField,{name:`auto_approved`,type:`boolean | null`,id:`param-auto-approved-1`,children:_jsxs(_components.p,{children:[`Whether the call skipped its approval because the app has Auto approve on. The value is `,_jsx(_components.code,{children:`true`}),` when the call needed approval but ran at once. It never paused, and its result is real.`]})}),_jsx(ResponseField,{name:`status`,type:`'running' | 'success' | 'error' | 'stopped' | 'waiting_for_user_input' | null`,id:`param-status-5`,children:_jsxs(_components.p,{children:[`State of the call. The value is `,_jsx(_components.code,{children:`running`}),` while the tool works, `,_jsx(_components.code,{children:`success`}),` or `,_jsx(_components.code,{children:`error`}),` once it finished, `,_jsx(_components.code,{children:`stopped`}),` when the user stopped the turn, or `,_jsx(_components.code,{children:`waiting_for_user_input`}),` while it waits for the user’s answer or approval.`]})}),_jsx(ResponseField,{name:`mutation_applied`,type:`boolean | null`,id:`param-mutation-applied-1`,children:_jsxs(_components.p,{children:[`Whether the call changed the app or its data. `,_jsx(_components.code,{children:`false`}),` means it finished without changing anything. `,_jsx(_components.code,{children:`null`}),` means the tool did not report it, so whether it changed anything is unknown.`]})}),_jsxs(ResponseField,{name:`waiting_on`,type:`object | null`,id:`param-waiting-on-1`,children:[_jsxs(_components.p,{children:[`What kind of answer the call waits for, while `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`waiting_for_user_input`}),`.`]}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`kind`,type:`'choice' | 'input' | 'approval'`,id:`param-kind-1`,children:_jsxs(_components.p,{children:[`What the call needs from the user. The value is `,_jsx(_components.code,{children:`choice`}),` to pick among options, `,_jsx(_components.code,{children:`input`}),` to supply values, or `,_jsx(_components.code,{children:`approval`}),` to approve or reject.`]})})})]}),_jsxs(ResponseField,{name:`approval`,type:`object | null`,id:`param-approval-1`,children:[_jsxs(_components.p,{children:[`Why the call waits for approval, from the check that paused it. Present only while `,_jsx(_components.code,{children:`status`}),` is `,_jsx(_components.code,{children:`waiting_for_user_input`}),`.`]}),_jsxs(_components.p,{children:[`One of these shapes, told apart by `,_jsx(_components.code,{children:`guard`}),`:`]}),_jsxs(Expandable,{title:`backend_function_entity_delete`,children:[_jsx(_components.p,{children:`Waiting for approval because testing a backend function would delete records from an entity.`}),_jsx(ResponseField,{name:`guard`,type:`'backend_function_entity_delete'`,required:true,id:`param-guard-10`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-9`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-8`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`function_name`,type:`string`,id:`param-function-name-1`,children:_jsx(_components.p,{children:`Backend function under test.`})}),_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method-2`,children:_jsx(_components.p,{children:`Entity method the function calls.`})}),_jsx(ResponseField,{name:`inspection_failed`,type:`boolean`,id:`param-inspection-failed-1`,children:_jsx(_components.p,{children:`The check could not verify the function’s source.`})})]})]})]}),_jsxs(Expandable,{title:`bash_approval`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to run a shell command that needs a review first. The command itself is not published.`}),_jsx(ResponseField,{name:`guard`,type:`'bash_approval'`,required:true,id:`param-guard-11`,children:_jsx(_components.p,{children:`The check that paused the call.`})})]}),_jsxs(Expandable,{title:`entity_rls_guard`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to change who can read or write an entity’s records.`}),_jsx(ResponseField,{name:`guard`,type:`'entity_rls_guard'`,required:true,id:`param-guard-12`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-10`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-9`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-4`,children:_jsx(_components.p,{children:`Entity whose access rules change.`})}),_jsx(ResponseField,{name:`change_type`,type:`string`,id:`param-change-type-1`,children:_jsx(_components.p,{children:`How the access rules change.`})}),_jsx(ResponseField,{name:`changed_ops`,type:`string[]`,id:`param-changed-ops-1`,children:_jsx(_components.p,{children:`Access operations whose rules change.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool_entity_mutation`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would update or delete records in an entity.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_entity_mutation'`,required:true,id:`param-guard-13`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-11`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-10`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`method`,type:`string`,id:`param-method-3`,children:_jsxs(_components.p,{children:[`Entity method the code calls, such as `,_jsx(_components.code,{children:`delete`}),`.`]})}),_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-13`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})}),_jsx(ResponseField,{name:`entity_names`,type:`string[]`,id:`param-entity-names-1`,children:_jsx(_components.p,{children:`Entities whose records the code changes; empty when the code names one at runtime.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool_github_repo_write`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would write to a GitHub repository.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_github_repo_write'`,required:true,id:`param-guard-14`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-12`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-11`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-14`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_invite_user`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would invite someone to the app by email.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_invite_user'`,required:true,id:`param-guard-15`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-13`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-12`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-15`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_send_email`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would send an email.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_send_email'`,required:true,id:`param-guard-16`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-14`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-13`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-16`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`exec_tool_send_sms`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI’s code would send a text message.`}),_jsx(ResponseField,{name:`guard`,type:`'exec_tool_send_sms'`,required:true,id:`param-guard-17`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-15`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-14`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-17`,children:_jsx(_components.p,{children:`The agent’s summary of what the code does.`})})})]})]}),_jsxs(Expandable,{title:`workspace_rule_status`,children:[_jsx(_components.p,{children:`Waiting for approval because the AI wants to turn a workspace rule on or off.`}),_jsx(ResponseField,{name:`guard`,type:`'workspace_rule_status'`,required:true,id:`param-guard-18`,children:_jsx(_components.p,{children:`The check that paused the call.`})}),_jsx(ResponseField,{name:`reason`,type:`string | null`,id:`param-reason-16`,children:_jsx(_components.p,{children:`Why the call needs approval, as the check explained it.`})}),_jsxs(ResponseField,{name:`details`,type:`object | null`,id:`param-details-15`,children:[_jsx(_components.p,{children:`What the check found.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-3`,children:_jsx(_components.p,{children:`The status change: activate, deactivate, archive or unarchive.`})}),_jsx(ResponseField,{name:`workflow_id`,type:`string | null`,id:`param-workflow-id-1`,children:_jsx(_components.p,{children:`The rule’s workflow.`})}),_jsx(ResponseField,{name:`workflow_name`,type:`string | null`,id:`param-workflow-name-1`,children:_jsx(_components.p,{children:`The workflow name the call asked for, when the check could not load it.`})}),_jsx(ResponseField,{name:`hook_type`,type:`string | null`,id:`param-hook-type-1`,children:_jsx(_components.p,{children:`The operation the rule guards.`})}),_jsx(ResponseField,{name:`lookup_failed`,type:`boolean | null`,id:`param-lookup-failed-1`,children:_jsx(_components.p,{children:`The check could not load the workflow.`})})]})]})]}),_jsxs(Expandable,{title:`any other approval`,children:[_jsx(_components.p,{children:`Waiting for approval from a check that publishes only its name.`}),_jsxs(ResponseField,{name:`guard`,type:`string`,required:true,id:`param-guard-19`,children:[_jsx(_components.p,{children:`The check that paused the call.`}),_jsx(_components.p,{children:`Any value not matched by the other shapes.`})]})]})]})]}),_jsxs(_components.p,{children:[`Each shape adds its own fields, told apart by `,_jsx(_components.code,{children:`name`}),`:`]}),_jsxs(Expandable,{title:`ask_clarifying_questions`,children:[_jsx(_components.p,{children:`The AI asks the user questions before it goes on. The call waits until the user answers.`}),_jsx(ResponseField,{name:`name`,type:`'ask_clarifying_questions'`,required:true,id:`param-name-27`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-11`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`questions`,type:`object[]`,id:`param-questions-2`,children:[_jsx(_components.p,{children:`Questions presented to the user.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question`,type:`string`,id:`param-question-2`,children:_jsx(_components.p,{children:`Visible question text.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-2`,children:_jsxs(_components.p,{children:[`Question category, such as `,_jsx(_components.code,{children:`text`}),`.`]})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-3`,children:_jsx(_components.p,{children:`Supporting text.`})}),_jsx(ResponseField,{name:`multi_select`,type:`boolean`,id:`param-multi-select-2`,children:_jsx(_components.p,{children:`More than one answer may be selected.`})}),_jsx(ResponseField,{name:`covers`,type:`string`,id:`param-covers-2`,children:_jsx(_components.p,{children:`Plan section the question covers.`})}),_jsxs(ResponseField,{name:`options`,type:`(string | object)[]`,id:`param-options-2`,children:[_jsx(_components.p,{children:`Selectable options. A bare string is its label.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-4`,children:_jsx(_components.p,{children:`Visible option label.`})})})]})]})]})})]}),_jsxs(ResponseField,{name:`user_input`,type:`object | null`,id:`param-user-input-2`,children:[_jsx(_components.p,{children:`The user’s answer to the call, once given, for tools that take one.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`answers`,type:`object[]`,id:`param-answers-2`,children:[_jsx(_components.p,{children:`Answers supplied to the question card.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question_index`,type:`integer`,id:`param-question-index-2`,children:_jsx(_components.p,{children:`Zero-based question index.`})}),_jsx(ResponseField,{name:`selected_label`,type:`string`,id:`param-selected-label-2`,children:_jsx(_components.p,{children:`Label selected for a single-select question.`})}),_jsx(ResponseField,{name:`selected_labels`,type:`string[]`,id:`param-selected-labels-2`,children:_jsx(_components.p,{children:`Labels selected for a multi-select question.`})}),_jsx(ResponseField,{name:`custom_text`,type:`string`,id:`param-custom-text-2`,children:_jsx(_components.p,{children:`Free-text answer. Structural filtering does not redact prose.`})})]})]})})]})]}),_jsxs(Expandable,{title:`ask_plan_questions`,children:[_jsx(_components.p,{children:`The AI asks the user questions that shape the plan, in plan mode. The call waits until the user answers.`}),_jsx(ResponseField,{name:`name`,type:`'ask_plan_questions'`,required:true,id:`param-name-28`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-12`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`questions`,type:`object[]`,id:`param-questions-3`,children:[_jsx(_components.p,{children:`Questions presented to the user.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question`,type:`string`,id:`param-question-3`,children:_jsx(_components.p,{children:`Visible question text.`})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type-3`,children:_jsxs(_components.p,{children:[`Question category, such as `,_jsx(_components.code,{children:`text`}),`.`]})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-4`,children:_jsx(_components.p,{children:`Supporting text.`})}),_jsx(ResponseField,{name:`multi_select`,type:`boolean`,id:`param-multi-select-3`,children:_jsx(_components.p,{children:`More than one answer may be selected.`})}),_jsx(ResponseField,{name:`covers`,type:`string`,id:`param-covers-3`,children:_jsx(_components.p,{children:`Plan section the question covers.`})}),_jsxs(ResponseField,{name:`options`,type:`(string | object)[]`,id:`param-options-3`,children:[_jsx(_components.p,{children:`Selectable options. A bare string is its label.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-5`,children:_jsx(_components.p,{children:`Visible option label.`})})})]})]})]})})]}),_jsxs(ResponseField,{name:`user_input`,type:`object | null`,id:`param-user-input-3`,children:[_jsx(_components.p,{children:`The user’s answer to the call, once given, for tools that take one.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`answers`,type:`object[]`,id:`param-answers-3`,children:[_jsx(_components.p,{children:`Answers supplied to the question card.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`question_index`,type:`integer`,id:`param-question-index-3`,children:_jsx(_components.p,{children:`Zero-based question index.`})}),_jsx(ResponseField,{name:`selected_label`,type:`string`,id:`param-selected-label-3`,children:_jsx(_components.p,{children:`Label selected for a single-select question.`})}),_jsx(ResponseField,{name:`selected_labels`,type:`string[]`,id:`param-selected-labels-3`,children:_jsx(_components.p,{children:`Labels selected for a multi-select question.`})}),_jsx(ResponseField,{name:`custom_text`,type:`string`,id:`param-custom-text-3`,children:_jsx(_components.p,{children:`Free-text answer. Structural filtering does not redact prose.`})})]})]})})]})]}),_jsxs(Expandable,{title:`bash`,children:[_jsx(_components.p,{children:`The AI runs a shell command in the app’s sandbox.`}),_jsx(ResponseField,{name:`name`,type:`'bash'`,required:true,id:`param-name-29`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-15`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-18`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`create_entity_records`,children:[_jsx(_components.p,{children:`The AI adds records to one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'create_entity_records'`,required:true,id:`param-name-30`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-16`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-5`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})}),_jsx(ResponseField,{name:`record_count`,type:`integer`,id:`param-record-count-1`,children:_jsx(_components.p,{children:`Number of records created.`})})]})]})]}),_jsxs(Expandable,{title:`delete_entities`,children:[_jsx(_components.p,{children:`The AI deletes records from one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'delete_entities'`,required:true,id:`param-name-31`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-13`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-19`,children:_jsx(_components.p,{children:`The agent’s summary of the change. Queries and record values are never included.`})})})]}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-17`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-6`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})})})]})]}),_jsxs(Expandable,{title:`delete_file`,children:[_jsx(_components.p,{children:`The AI deletes a file from the app.`}),_jsx(ResponseField,{name:`name`,type:`'delete_file'`,required:true,id:`param-name-32`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-18`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-6`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-6`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`edit_repo_file`,children:[_jsx(_components.p,{children:`The AI edits a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'edit_repo_file'`,required:true,id:`param-name-33`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-19`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-7`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-7`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`exec_tool`,children:[_jsx(_components.p,{children:`The AI runs code against the app’s data and integrations.`}),_jsx(ResponseField,{name:`name`,type:`'exec_tool'`,required:true,id:`param-name-34`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-20`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-20`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities-3`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`find_replace`,children:[_jsx(_components.p,{children:`The AI edits files by replacing text in them.`}),_jsx(ResponseField,{name:`name`,type:`'find_replace'`,required:true,id:`param-name-35`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-21`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-8`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-8`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`generate_game_background`,children:[_jsxs(_components.p,{children:[`The AI generates a background image for a game. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_game_background'`,required:true,id:`param-name-36`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results-4`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`generate_game_image`,children:[_jsxs(_components.p,{children:[`The AI generates an image asset for a game. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_game_image'`,required:true,id:`param-name-37`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-14`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio-3`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`1:1`}),`.`]})})})]}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results-5`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`generate_image`,children:[_jsxs(_components.p,{children:[`The AI generates an image for the app. An `,_jsx(_components.code,{children:`image.resolved`}),` event follows when it is ready.`]}),_jsx(ResponseField,{name:`name`,type:`'generate_image'`,required:true,id:`param-name-38`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-15`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-6`,children:_jsx(_components.p,{children:`Visible media label.`})}),_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio-4`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`16:9`}),`.`]})})]})]}),_jsxs(ResponseField,{name:`results`,type:`object | null`,id:`param-results-6`,children:[_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`placeholder_url`,type:`string`,id:`param-placeholder-url-2`,children:_jsxs(_components.p,{children:[`Placeholder URL, used to associate an `,_jsx(_components.code,{children:`image.resolved`}),` event with this tool.`]})}),_jsx(ResponseField,{name:`status`,type:`'pending' | 'completed' | 'failed'`,id:`param-status-6`,children:_jsx(_components.p,{children:`Current generation status.`})}),_jsx(ResponseField,{name:`image_url`,type:`string | null`,id:`param-image-url-2`,children:_jsx(_components.p,{children:`Generated image URL, once available.`})})]})]})]}),_jsxs(Expandable,{title:`generate_prd`,children:[_jsx(_components.p,{children:`The AI writes down the plan it settled with the user. In plan mode this call carries the plan itself.`}),_jsx(ResponseField,{name:`name`,type:`'generate_prd'`,required:true,id:`param-name-39`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-16`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`app_name`,type:`string`,id:`param-app-name-1`,children:_jsx(_components.p,{children:`App or feature name.`})}),_jsx(ResponseField,{name:`intent_and_goal`,type:`string`,id:`param-intent-and-goal-1`,children:_jsx(_components.p,{children:`What is being built and why.`})}),_jsx(ResponseField,{name:`audience_and_roles`,type:`string`,id:`param-audience-and-roles-1`,children:_jsx(_components.p,{children:`Who uses it and their roles.`})}),_jsx(ResponseField,{name:`core_flows`,type:`string[]`,id:`param-core-flows-1`,children:_jsx(_components.p,{children:`End-to-end user flows.`})}),_jsx(ResponseField,{name:`technical_requirements`,type:`string`,id:`param-technical-requirements-1`,children:_jsx(_components.p,{children:`Specific technical requirements.`})}),_jsx(ResponseField,{name:`design_preferences`,type:`string`,id:`param-design-preferences-1`,children:_jsx(_components.p,{children:`Design preferences.`})}),_jsx(ResponseField,{name:`prd_type`,type:`string`,id:`param-prd-type-1`,children:_jsx(_components.p,{children:`Build or plan declaration, when the AI asks for one.`})}),_jsx(ResponseField,{name:`store_platform`,type:`string`,id:`param-store-platform-1`,children:_jsx(_components.p,{children:`Store platform settled in planning, for e-commerce plans.`})}),_jsx(ResponseField,{name:`game_engine`,type:`string`,id:`param-game-engine-1`,children:_jsx(_components.p,{children:`Engine settled in planning, for game plans.`})})]})]})]}),_jsxs(Expandable,{title:`generate_video`,children:[_jsx(_components.p,{children:`The AI generates a video for the app.`}),_jsx(ResponseField,{name:`name`,type:`'generate_video'`,required:true,id:`param-name-40`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-17`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label-7`,children:_jsx(_components.p,{children:`Visible media label.`})}),_jsx(ResponseField,{name:`aspect_ratio`,type:`string`,id:`param-aspect-ratio-5`,children:_jsxs(_components.p,{children:[`Requested aspect ratio, such as `,_jsx(_components.code,{children:`16:9`}),`.`]})})]})]}),_jsx(ResponseField,{name:`results`,type:`string | null`,id:`param-results-7`,children:_jsx(_components.p,{children:`The tool’s result, narrowed to what this tool publishes. Absent while the call waits for approval.`})})]}),_jsxs(Expandable,{title:`install_npm_package`,children:[_jsx(_components.p,{children:`The AI installs or removes npm packages in the app.`}),_jsx(ResponseField,{name:`name`,type:`'install_npm_package'`,required:true,id:`param-name-41`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-18`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`packages`,type:`object[]`,id:`param-packages-1`,children:[_jsx(_components.p,{children:`Requested package operations.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-42`,children:_jsx(_components.p,{children:`Package name.`})}),_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-4`,children:_jsxs(_components.p,{children:[`Requested operation, such as `,_jsx(_components.code,{children:`install`}),`.`]})})]})]})})]})]}),_jsxs(Expandable,{title:`preview_execute_code`,children:[_jsx(_components.p,{children:`The AI runs code inside the app preview to inspect it.`}),_jsx(ResponseField,{name:`name`,type:`'preview_execute_code'`,required:true,id:`param-name-43`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-22`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-21`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities-4`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`preview_screenshot`,children:[_jsx(_components.p,{children:`The AI takes a screenshot of the app preview to check its work.`}),_jsx(ResponseField,{name:`name`,type:`'preview_screenshot'`,required:true,id:`param-name-44`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-23`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-22`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`read_only_exec_tool`,children:[_jsx(_components.p,{children:`The AI runs code that only reads the app’s data.`}),_jsx(ResponseField,{name:`name`,type:`'read_only_exec_tool'`,required:true,id:`param-name-45`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-24`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-23`,children:_jsx(_components.p,{children:`Reviewed activity summary. Code and output are never included.`})}),_jsx(ResponseField,{name:`writes_entities`,type:`boolean`,id:`param-writes-entities-5`,children:_jsx(_components.p,{children:`The code changed entity data, so refresh the preview.`})})]})]})]}),_jsxs(Expandable,{title:`read_repo_file`,children:[_jsx(_components.p,{children:`The AI reads a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'read_repo_file'`,required:true,id:`param-name-46`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-25`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-9`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-9`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`run_shell_command`,children:[_jsx(_components.p,{children:`The AI runs a shell command in the imported repository’s sandbox.`}),_jsx(ResponseField,{name:`name`,type:`'run_shell_command'`,required:true,id:`param-name-47`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-26`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-24`,children:_jsx(_components.p,{children:`Reviewed activity summary. Commands and output are never included.`})})})]})]}),_jsxs(Expandable,{title:`set_secrets`,children:[_jsx(_components.p,{children:`The AI asks the user for secret values, such as API keys. The call waits until the user supplies them.`}),_jsx(ResponseField,{name:`name`,type:`'set_secrets'`,required:true,id:`param-name-48`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-19`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsxs(ResponseField,{name:`secrets_schema`,type:`object[]`,id:`param-secrets-schema-1`,children:[_jsx(_components.p,{children:`Requested secrets.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`secretName`,type:`string`,id:`param-secret-name-1`,children:_jsx(_components.p,{children:`Requested secret name.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-5`,children:_jsx(_components.p,{children:`Where to obtain it.`})})]})]})})]})]}),_jsxs(Expandable,{title:`update_entities`,children:[_jsx(_components.p,{children:`The AI updates records in one of the app’s entities.`}),_jsx(ResponseField,{name:`name`,type:`'update_entities'`,required:true,id:`param-name-49`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-20`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`summary`,type:`string`,id:`param-summary-25`,children:_jsx(_components.p,{children:`The agent’s summary of the change. Queries and record values are never included.`})})})]}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-27`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`entity_name`,type:`string`,id:`param-entity-name-7`,children:_jsx(_components.p,{children:`Entity type. Records and query values are never included.`})})})]})]}),_jsxs(Expandable,{title:`update_plan`,children:[_jsx(_components.p,{children:`The AI adds settled points to the plan.`}),_jsx(ResponseField,{name:`name`,type:`'update_plan'`,required:true,id:`param-name-50`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`arguments`,type:`object | null`,id:`param-arguments-21`,children:[_jsx(_components.p,{children:`What the AI asked the tool to do, narrowed to what this tool publishes.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ResponseField,{name:`updates`,type:`object[]`,id:`param-updates-1`,children:[_jsx(_components.p,{children:`Plan updates in their emitted order.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`action`,type:`string`,id:`param-action-5`,children:_jsx(_components.p,{children:`Update action.`})}),_jsx(ResponseField,{name:`section`,type:`string`,id:`param-section-1`,children:_jsx(_components.p,{children:`Plan section key.`})}),_jsx(ResponseField,{name:`section_label`,type:`string`,id:`param-section-label-1`,children:_jsx(_components.p,{children:`User-facing section label.`})}),_jsx(ResponseField,{name:`text`,type:`string`,id:`param-text-1`,children:_jsx(_components.p,{children:`Plan point.`})})]})]}),_jsx(ResponseField,{name:`sections_with_enough`,type:`string[]`,id:`param-sections-with-enough-1`,children:_jsx(_components.p,{children:`Base plan sections the AI considers sufficiently specified.`})})]})]})]}),_jsxs(Expandable,{title:`write_file`,children:[_jsx(_components.p,{children:`The AI writes a file in the app.`}),_jsx(ResponseField,{name:`name`,type:`'write_file'`,required:true,id:`param-name-51`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-28`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-10`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-10`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`write_repo_file`,children:[_jsx(_components.p,{children:`The AI writes a file in the imported repository.`}),_jsx(ResponseField,{name:`name`,type:`'write_repo_file'`,required:true,id:`param-name-52`,children:_jsx(_components.p,{children:`The tool that was called.`})}),_jsxs(ResponseField,{name:`display`,type:`object | null`,id:`param-display-29`,children:[_jsx(_components.p,{children:`What the tool touched, for showing its progress. Never file contents or commands.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`file_paths`,type:`string[]`,id:`param-file-paths-11`,children:_jsx(_components.p,{children:`Changed file paths. Source bodies and diffs are never included.`})}),_jsx(ResponseField,{name:`content_empty`,type:`boolean`,id:`param-content-empty-11`,children:_jsx(_components.p,{children:`A write intentionally used empty content.`})})]})]})]}),_jsxs(Expandable,{title:`any other tool call`,children:[_jsx(_components.p,{children:`A call to any other tool. Only its name and progress are published.`}),_jsxs(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name-53`,children:[_jsx(_components.p,{children:`The tool that was called.`}),_jsx(_components.p,{children:`Any value not matched by the other shapes.`})]})]})]}),_jsx(ResponseField,{name:`checkpoint_id`,type:`string | null`,id:`param-checkpoint-id-1`,children:_jsx(_components.p,{children:`ID of the checkpoint tied to the message. On a message a person sent it holds the app before the turn, on the AI’s final reply the app after it. Absent when the turn made no checkpoint.`})}),_jsxs(ResponseField,{name:`metadata`,type:`object | null`,id:`param-metadata-1`,children:[_jsx(_components.p,{children:`When the message was created.`}),_jsx(Expandable,{title:`child attributes`,children:_jsx(ResponseField,{name:`created_date`,type:`string\u003cdate-time> | null`,id:`param-created-date-1`,children:_jsx(_components.p,{children:`Time the message was created, as a UTC timestamp in ISO 8601 format.`})})})]}),_jsxs(ResponseField,{name:`additional_message_params`,type:`object | null`,id:`param-additional-message-params-1`,children:[_jsx(_components.p,{children:`Flags on the message, such as plan mode. Only the flags listed here are published.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`client_creation_id`,type:`string`,id:`param-client-creation-id-1`,children:_jsx(_components.p,{children:`Identifier the sending client attached, to match its optimistic message.`})}),_jsx(ResponseField,{name:`plan_mode`,type:`boolean`,id:`param-plan-mode-1`,children:_jsx(_components.p,{children:`The message was sent in plan mode.`})}),_jsx(ResponseField,{name:`plan_approved`,type:`boolean`,id:`param-plan-approved-1`,children:_jsx(_components.p,{children:`The message approves a plan.`})}),_jsx(ResponseField,{name:`skip_ai_response`,type:`boolean`,id:`param-skip-ai-response-1`,children:_jsx(_components.p,{children:`The message expects no AI reply.`})}),_jsx(ResponseField,{name:`system_message_type`,type:`string`,id:`param-system-message-type-1`,children:_jsx(_components.p,{children:`System message category.`})})]})]})]})]}),`\n`,_jsxs(ResponseField,{name:`queue`,type:`object`,required:true,id:`param-queue`,children:[_jsx(_components.p,{children:`The main branch’s prompt queue.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsxs(ResponseField,{name:`items`,type:`object[] | null`,id:`param-items-1`,children:[_jsx(_components.p,{children:`Queued prompts, in the order they will run.`}),_jsxs(Expandable,{title:`child attributes`,children:[_jsx(ResponseField,{name:`id`,type:`string | null`,id:`param-id-5`,children:_jsx(_components.p,{children:`ID of the queued prompt.`})}),_jsx(ResponseField,{name:`content`,type:`string | null`,id:`param-content-3`,children:_jsx(_components.p,{children:`Text of the prompt.`})}),_jsx(ResponseField,{name:`branch_id`,type:`string | null`,id:`param-branch-id-13`,children:_jsx(_components.p,{children:`Target branch ID. Null means main on legacy queues, or a branch resolved at execution when target_mode is session_current.`})}),_jsx(ResponseField,{name:`target_mode`,type:`'fixed' | 'session_current' | null`,id:`param-target-mode-1`,children:_jsx(_components.p,{children:`Whether a session request names a fixed branch or follows the current branch at execution.`})}),_jsx(ResponseField,{name:`is_continuation`,type:`boolean | null`,id:`param-is-continuation-1`,children:_jsx(_components.p,{children:`Remaining work of the active request; it precedes independent waiting requests and uses no pending slot.`})}),_jsx(ResponseField,{name:`created_at`,type:`string | null`,id:`param-created-at-1`,children:_jsx(_components.p,{children:`Time the prompt was queued, as a UTC timestamp in ISO 8601 format.`})})]})]}),_jsx(ResponseField,{name:`is_paused`,type:`boolean | null`,id:`param-is-paused-1`,children:_jsx(_components.p,{children:`Whether the queue is paused, so queued prompts wait. A person can pause it, and Base44 pauses it while the AI waits for an answer.`})}),_jsx(ResponseField,{name:`session_id`,type:`string | null`,id:`param-session-id-1`,children:_jsx(_components.p,{children:`Session owning this queue for enrolled Base Code apps; absent on legacy branch queues.`})})]})]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`50`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`50`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"room\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ready\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"turn_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"last_updated_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:23:41Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c4f2a8e1-6b3d-4f9a-8e2c-1d7b5a9f3e60\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"role\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"assistant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"I added a sign-in page with email and Google.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tool_calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"toolu_01HXq8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"write_file\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"requires_user_input\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"auto_approved\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mutation_applied\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"file_paths\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"src/pages/SignIn.jsx\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"checkpoint_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"68f1c2d4e7b91d003c45a1f9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:23:41\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"queue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"q_7d1e9c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Add a dark mode toggle to the header.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"branch_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"target_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_continuation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-10T09:24:05+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_paused\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"session_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`messages-from-the-browser`,children:`Messages from the browser`}),`\n`,_jsx(Heading,{level:`3`,id:`join`,children:_jsx(_components.code,{children:`join`})}),`\n`,_jsxs(_components.p,{children:[`Join an app’s room, once per app after every connect. An `,_jsx(_components.code,{children:`app.snapshot`}),` follows, then its live events. Refused with `,_jsx(_components.code,{children:`room.access_denied`}),` when the app is not on the session’s allowlist, or past 30 joins a minute.`]}),`\n`,_jsxs(_components.p,{children:[`The payload is a `,_jsx(_components.code,{children:`string`}),`, not an object. Pattern: `,_jsx(_components.code,{children:`^/apps/[0-9a-f]{24}$`})]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`leave`,children:_jsx(_components.code,{children:`leave`})}),`\n`,_jsx(_components.p,{children:`Leave an app’s room. Its events stop.`}),`\n`,_jsxs(_components.p,{children:[`The payload is a `,_jsx(_components.code,{children:`string`}),`, not an object. Pattern: `,_jsx(_components.code,{children:`^/apps/[0-9a-f]{24}$`})]}),`\n`,_jsx(CodeBlock,{filename:`Example`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/apps/6a2024af837c7a06c83021c1\"`})}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Socket messages","description":"Every message on a socket session's connection, in both directions, and its payload.","sidebarTitle":"Socket messages","href":"/developers/references/apps-api/sections/socket-messages"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Event format","slug":"event-format","depth":2,"children":[]},{"title":"Events from the server","slug":"events-from-the-server","depth":2,"children":[{"title":"message.updated","slug":"message-updated","depth":3,"children":[]},{"title":"message.removed","slug":"message-removed","depth":3,"children":[]},{"title":"app.status_changed","slug":"app-status_changed","depth":3,"children":[]},{"title":"preview.reload_requested","slug":"preview-reload_requested","depth":3,"children":[]},{"title":"preview.navigation_requested","slug":"preview-navigation_requested","depth":3,"children":[]},{"title":"queue.updated","slug":"queue-updated","depth":3,"children":[]},{"title":"task.progressed","slug":"task-progressed","depth":3,"children":[]},{"title":"image.resolved","slug":"image-resolved","depth":3,"children":[]},{"title":"conversation.changed","slug":"conversation-changed","depth":3,"children":[]},{"title":"files.changed","slug":"files-changed","depth":3,"children":[]},{"title":"branch.deleted","slug":"branch-deleted","depth":3,"children":[]},{"title":"repository.changed","slug":"repository-changed","depth":3,"children":[]},{"title":"pull_request.changed","slug":"pull_request-changed","depth":3,"children":[]},{"title":"session.ended","slug":"session-ended","depth":3,"children":[]},{"title":"room.access_denied","slug":"room-access_denied","depth":3,"children":[]},{"title":"room.access_revoked","slug":"room-access_revoked","depth":3,"children":[]},{"title":"room.snapshot_unavailable","slug":"room-snapshot_unavailable","depth":3,"children":[]},{"title":"app.snapshot","slug":"app-snapshot","depth":3,"children":[]}]},{"title":"Messages from the browser","slug":"messages-from-the-browser","depth":2,"children":[{"title":"join","slug":"join","depth":3,"children":[]},{"title":"leave","slug":"leave","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/base44/ca59cb34fe66af72/custom-analytics.js","/_mintlify/custom/base44/878f3d61142901ae/changelog-display.js","/_mintlify/custom/base44/655d636252386031/cta-cards.js"],"narration":{"path":"developers/references/apps-api/sections/socket-messages","locale":"en","estimatedDurationSec":225},"subdomain":"base44","siteName":"Base44 Support Documentation","title":"Socket messages - Base44 Support Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/developers/references/apps-api/sections/socket-messages","matchLevel":0},"pt-BR":{"href":"/pt-BR","matchLevel":4},"es":{"href":"/es","matchLevel":4},"he":{"href":"/he/index","matchLevel":4},"ja":{"href":"/ja","matchLevel":4},"de":{"href":"/de","matchLevel":4},"fr":{"href":"/fr","matchLevel":4},"it":{"href":"/it","matchLevel":4},"hu":{"href":"/hu","matchLevel":4}}},"lastModified":"2026-11-13T07:15:27.782Z","originalFileLocation":"developers/references/apps-api/sections/socket-messages.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every message on a socket session\u0026#x27;s connection, in both directions, and its payload.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Socket messages - Base44 Support Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every message on a socket session\u0026#x27;s connection, in both directions, and its payload.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.base44.com/images/base44-docs-og.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Socket messages - Base44 Support Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every message on a socket session\u0026#x27;s connection, in both directions, and its payload.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.base44.com/images/base44-docs-og.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/base44/nuCdY9ZGKAmI8mvz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Base44 Support Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6A00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/references/apps-api/sections/socket-messages.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.base44.com/#organization\",\"name\":\"Base44 Support Documentation\",\"url\":\"https://docs.base44.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/base44/jhCpOaGylNweq32m/logo/new-brand-light.svg?fit=max\u0026auto=format\u0026n=jhCpOaGylNweq32m\u0026q=85\u0026s=7724705143e6cfece3b0a237be2a6890\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.base44.com#website\",\"name\":\"Base44 Support Documentation\",\"url\":\"https://docs.base44.com\",\"publisher\":{\"@id\":\"https://docs.base44.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages#webpage\",\"url\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages\",\"name\":\"Socket messages\",\"description\":\"Every message on a socket session's connection, in both directions, and its payload.\",\"dateModified\":\"2026-11-13T07:15:27.782Z\",\"isPartOf\":{\"@id\":\"https://docs.base44.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Apps API (Beta)\",\"item\":\"https://docs.base44.com/developers/references/apps-api/get-started/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Socket sessions\",\"item\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-sessions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Socket messages\",\"item\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages#article\",\"headline\":\"Socket messages\",\"name\":\"Socket messages\",\"description\":\"Every message on a socket session's connection, in both directions, and its payload.\",\"url\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages\",\"mainEntityOfPage\":{\"@id\":\"https://docs.base44.com/developers/references/apps-api/sections/socket-messages#webpage\"},\"image\":\"https://docs.base44.com/images/base44-docs-og.png\",\"dateModified\":\"2026-11-13T07:15:27.782Z\",\"publisher\":{\"@id\":\"https://docs.base44.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.base44.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Base44 Support Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Base44 Support Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/references/apps-api/sections/socket-messages.md","siteName":"Base44 Support Documentation","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Apps","pages":[{"title":"Apps","href":""}]},{"tab":"Superagents","pages":[{"title":"Superagents","href":"/Getting-Started/superagent"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/Integrations/Using-integrations"}]},{"tab":"Developers","dropdowns":[{"dropdown":"Home","icon":"house","pages":[{"title":"Base44 Developer Platform","mode":"wide","href":"/developers/home"}],"global":{"anchors":[{"anchor":"Backend","icon":"server","href":"/developers/backend/overview/introduction"},{"anchor":"App Code","icon":"code","href":"/developers/app-code/overview/introduction"},{"anchor":"SDKs","icon":"brackets-curly","href":"/developers/references/sdks/overview"},{"anchor":"CLI","icon":"terminal","href":"/developers/references/cli/get-started/overview"},{"anchor":"APIs","icon":"plug","href":"/developers/references/apis/overview"},{"anchor":"White label (Beta)","icon":"tag","href":"/developers/white-label/overview"}]}},{"dropdown":"Backend (Beta)","icon":"server","groups":[{"group":"Overview","icon":"compass","pages":[{"title":"Introduction","href":"/developers/backend/overview/introduction"},{"title":"Backend Service Basics","sidebarTitle":"Backend Service Basics","href":"/developers/backend/overview/backend-service-basics"},{"title":"Features","href":"/developers/backend/overview/features"},{"title":"Pricing","href":"/developers/backend/overview/pricing"},{"title":"Troubleshoot your project","sidebarTitle":"Troubleshooting","href":"/developers/backend/overview/troubleshooting"}]},{"group":"Quickstarts","icon":"rocket","pages":[{"title":"Build with AI","sidebarTitle":"Build with AI","href":"/developers/backend/quickstart/quickstart-with-ai"},{"group":"Templates","pages":[{"title":"Backend only","href":"/developers/backend/quickstart/templates/quickstart-backend-only"},{"title":"React Quickstart","sidebarTitle":"React","href":"/developers/backend/quickstart/templates/quickstart-react-template"}]},{"group":"Frameworks","pages":[{"title":"React Quickstart","sidebarTitle":"React","href":"/developers/backend/quickstart/frameworks/quickstart-with-react"},{"title":"Vue Quickstart","sidebarTitle":"Vue","href":"/developers/backend/quickstart/frameworks/quickstart-vue"},{"title":"Solid JS Quickstart","sidebarTitle":"Solid JS","href":"/developers/backend/quickstart/frameworks/quickstart-solid-js"},{"title":"Refine Quickstart","sidebarTitle":"Refine","href":"/developers/backend/quickstart/frameworks/quickstart-refine"},{"title":"Hono Quickstart","sidebarTitle":"Hono","href":"/developers/backend/quickstart/frameworks/quickstart-hono"},{"title":"React Native (Expo) Quickstart","sidebarTitle":"React Native (Expo)","href":"/developers/backend/quickstart/frameworks/quickstart-with-react-native"}]}]},{"group":"Project","icon":"folder-open","pages":[{"title":"Project Structure","href":"/developers/backend/overview/project-structure"},{"title":"Start from an Existing Base44 App","sidebarTitle":"Start from an Existing Base44 App","href":"/developers/backend/overview/start-from-existing-app"},{"title":"Set Up Local Dev for an Existing App","sidebarTitle":"Set Up Local Dev for an Existing App","href":"/developers/backend/overview/set-up-local-dev-existing-app"},{"title":"Link an Existing Backend Project","sidebarTitle":"Link an Existing Backend Project","href":"/developers/backend/overview/link-existing-project"},{"group":"Local Development","expanded":false,"pages":[{"title":"Local development","sidebarTitle":"Overview","href":"/developers/backend/overview/local-dev/local-development-overview"},{"title":"Local development setup","sidebarTitle":"Setup","href":"/developers/backend/overview/local-dev/get-started"}]},{"title":"Standalone scripts","sidebarTitle":"Standalone scripts","href":"/developers/backend/overview/run-scripts"}]},{"group":"AI Development Tools","icon":"wand-magic-sparkles","pages":[{"title":"AI development tools overview","sidebarTitle":"Overview","href":"/developers/backend/overview/agent-extensions"},{"title":"Skills","sidebarTitle":"Skills","href":"/developers/backend/overview/skills"},{"title":"Base44 MCP server","sidebarTitle":"Base44 MCP server","href":"/developers/backend/overview/mcp-server"},{"title":"Base44 Docs MCP","sidebarTitle":"Docs MCP server","href":"/developers/backend/overview/base44-docs-mcp"}]},{"group":"Resources","icon":"cubes","pages":[{"group":"Agents","expanded":false,"pages":[{"title":"About Agents","sidebarTitle":"Agents","href":"/developers/backend/resources/agents/overview"},{"title":"Agent Skills","sidebarTitle":"Agent Skills","href":"/developers/backend/resources/agents/agent-skills"}]},{"group":"Actors","expanded":false,"pages":[{"title":"Actors Overview","sidebarTitle":"Overview","href":"/developers/backend/resources/actors/overview"},{"title":"Create an Actor","sidebarTitle":"Create an Actor","href":"/developers/backend/resources/actors/create-actor"},{"title":"Actors: Sample Flows","sidebarTitle":"Sample Flows","href":"/developers/backend/resources/actors/sample-flows"},{"title":"Actors Files and Code","sidebarTitle":"Actors Files and Code","href":"/developers/backend/resources/actors/reference"}]},{"title":"Supported Models","sidebarTitle":"Models","href":"/developers/backend/resources/models"},{"title":"Auth","sidebarTitle":"Auth","href":"/developers/backend/resources/auth"},{"group":"Backend Functions","expanded":false,"pages":[{"title":"Backend Functions Overview","sidebarTitle":"Overview","href":"/developers/backend/resources/backend-functions/overview"},{"title":"Automations","href":"/developers/backend/resources/backend-functions/automations"}]},{"group":"Connectors","expanded":false,"pages":[{"title":"Connectors overview","sidebarTitle":"Overview","href":"/developers/backend/resources/connectors"},{"title":"Shared connectors","sidebarTitle":"Shared connectors","href":"/developers/backend/resources/connectors/shared-connectors"},{"title":"App user connectors","sidebarTitle":"App user connectors","href":"/developers/backend/resources/connectors/app-user-connectors"}]},{"group":"Entities","expanded":false,"pages":[{"title":"Entities Overview","sidebarTitle":"Overview","href":"/developers/backend/resources/entities/overview"},{"title":"Entity Schemas","href":"/developers/backend/resources/entities/entity-schemas"},{"title":"User Schema","href":"/developers/backend/resources/entities/user-schema"},{"title":"Security","href":"/developers/backend/resources/entities/security"}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"App Code","icon":"grid-2","groups":[{"group":"Overview","icon":"compass","pages":[{"title":"Introduction","sidebarTitle":"Base44 for Devs","href":"/developers/app-code/overview/introduction"},{"title":"Project Structure","href":"/developers/app-code/overview/project-structure"}]},{"group":"Base44 Editor","icon":"code","pages":[{"title":"Code Tab","href":"/developers/app-code/editor/code-tab"},{"title":"Activity Monitor","sidebarTitle":"Activity Monitor","href":"/developers/app-code/editor/activity-monitor"}]},{"group":"Local Development","icon":"laptop","pages":[{"title":"GitHub Integration","sidebarTitle":"GitHub Integration","href":"/developers/app-code/local-development/github"}]},{"group":"Cloud Sandbox","icon":"cloud","pages":[{"title":"Cloud sandbox","sidebarTitle":"Overview","href":"/developers/app-code/sandbox/overview"},{"title":"Bring your own agent","sidebarTitle":"Bring your own agent","href":"/developers/app-code/sandbox/bring-your-own-agent"}]},{"group":"Enterprise","icon":"building","pages":[{"title":"Enterprise APIs","href":"/developers/references/enterprise-apis"}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"SDKs","icon":"brackets-curly","groups":[{"group":"Base44 SDKs","icon":"book-open","expanded":false,"pages":[{"title":"Base44 SDKs","sidebarTitle":"Overview","href":"/developers/references/sdks/overview"}]},{"group":"App SDK","icon":"brackets-curly","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","expanded":false,"pages":[{"title":"SDK overview","href":"/developers/references/sdk/getting-started/overview"},{"title":"Base44 client","href":"/developers/references/sdk/getting-started/client"},{"title":"Work with data","href":"/developers/references/sdk/getting-started/work-with-data"},{"title":"Dynamic Types","href":"/developers/references/sdk/getting-started/dynamic-types"},{"title":"Common SDK uses","href":"/developers/references/sdk/getting-started/work-with-sdk"},{"title":"Connect to third-party APIs","href":"/developers/references/sdk/getting-started/third-party-apis"},{"title":"Generate images with the AI Gateway","sidebarTitle":"Generate images","href":"/developers/references/sdk/getting-started/ai-gateway-images"},{"title":"Generate video with the AI Gateway","sidebarTitle":"Generate video","href":"/developers/references/sdk/getting-started/ai-gateway-video"}]},{"group":"SDK Reference","boost":0.5,"icon":"brackets-curly","expanded":true,"pages":[{"group":"Client","expanded":false,"pages":[{"title":"createClient","href":"/developers/references/sdk/docs/functions/createClient"},{"title":"createClientFromRequest","href":"/developers/references/sdk/docs/functions/createClientFromRequest"}]},{"group":"Modules","expanded":false,"pages":[{"title":"actors","href":"/developers/references/sdk/docs/type-aliases/actors"},{"title":"agents","href":"/developers/references/sdk/docs/interfaces/agents"},{"title":"ai-gateway","href":"/developers/references/sdk/docs/interfaces/ai-gateway"},{"title":"analytics","href":"/developers/references/sdk/docs/interfaces/analytics"},{"title":"app","href":"/developers/references/sdk/docs/interfaces/app"},{"title":"app-logs","href":"/developers/references/sdk/docs/interfaces/app-logs"},{"title":"auth","href":"/developers/references/sdk/docs/interfaces/auth"},{"title":"browser","href":"/developers/references/sdk/docs/interfaces/browser"},{"title":"connectors","href":"/developers/references/sdk/docs/interfaces/connectors"},{"title":"entities","href":"/developers/references/sdk/docs/type-aliases/entities"},{"title":"functions","href":"/developers/references/sdk/docs/interfaces/functions"},{"title":"integrations","href":"/developers/references/sdk/docs/type-aliases/integrations"},{"title":"payments","href":"/developers/references/sdk/docs/interfaces/payments"},{"title":"sso","href":"/developers/references/sdk/docs/interfaces/sso"}]}]}]},{"group":"Platform SDK (Beta)","boost":0.75,"icon":"layer-group","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","expanded":false,"pages":[{"title":"Platform SDK overview","sidebarTitle":"Overview","href":"/developers/references/platform-sdk/overview"}]},{"group":"Platform SDK Reference","icon":"brackets-curly","expanded":true,"pages":[{"group":"Client","expanded":false,"pages":[{"title":"createPlatformClient","href":"/developers/references/platform-sdk/docs/functions/createPlatformClient"},{"title":"createPlatformServer","href":"/developers/references/platform-sdk/docs/functions/createPlatformServer"}]},{"group":"Modules","expanded":false,"pages":[{"title":"chat","href":"/developers/references/platform-sdk/docs/interfaces/chat"},{"title":"webhooks","href":"/developers/references/platform-sdk/docs/interfaces/webhooks"}]},{"group":"React","expanded":false,"pages":[{"title":"useChat","href":"/developers/references/platform-sdk/docs/functions/useChat"}]}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"CLI","icon":"terminal","groups":[{"group":"Get Started","icon":"book-open","expanded":true,"pages":[{"title":"CLI Overview","href":"/developers/references/cli/get-started/overview"},{"title":"CLI Commands Overview","href":"/developers/references/cli/commands/introduction"}]},{"group":"Commands","boost":0.75,"icon":"terminal","pages":[{"group":"Account","pages":[{"title":"login","href":"/developers/references/cli/commands/login"},{"title":"logout","href":"/developers/references/cli/commands/logout"},{"title":"whoami","href":"/developers/references/cli/commands/whoami"}]},{"group":"Projects","pages":[{"title":"create","href":"/developers/references/cli/commands/create"},{"title":"link","href":"/developers/references/cli/commands/link"},{"title":"eject","href":"/developers/references/cli/commands/eject"},{"title":"scaffold","href":"/developers/references/cli/commands/scaffold"},{"title":"dashboard open","href":"/developers/references/cli/commands/dashboard-open"}]},{"group":"Workspaces","pages":[{"title":"workspace get","href":"/developers/references/cli/commands/workspace-get"},{"title":"workspace list","href":"/developers/references/cli/commands/workspace-list"},{"title":"workspace move","href":"/developers/references/cli/commands/workspace-move"}]},{"group":"Functions","pages":[{"title":"functions pull","href":"/developers/references/cli/commands/functions-pull"},{"title":"functions deploy","href":"/developers/references/cli/commands/functions-deploy"},{"title":"functions delete","href":"/developers/references/cli/commands/functions-delete"},{"title":"functions list","href":"/developers/references/cli/commands/functions-list"}]},{"group":"Entities","pages":[{"title":"entities push","href":"/developers/references/cli/commands/entities-push"}]},{"group":"Agents","pages":[{"title":"agents pull","href":"/developers/references/cli/commands/agents-pull"},{"title":"agents push","href":"/developers/references/cli/commands/agents-push"},{"title":"agent-skills pull","href":"/developers/references/cli/commands/agent-skills-pull"},{"title":"agent-skills push","href":"/developers/references/cli/commands/agent-skills-push"}]},{"group":"Actors","pages":[{"title":"actors delete","href":"/developers/references/cli/commands/actors-delete"},{"title":"actors deploy","href":"/developers/references/cli/commands/actors-deploy"}]},{"group":"Workflows","pages":[{"title":"workflows list","href":"/developers/references/cli/commands/workflows-list"},{"title":"workflows runs","href":"/developers/references/cli/commands/workflows-runs"}]},{"group":"Connectors","pages":[{"title":"connectors initiate","href":"/developers/references/cli/commands/connectors-initiate"},{"title":"connectors list-available","href":"/developers/references/cli/commands/connectors-list-available"},{"title":"connectors pull","href":"/developers/references/cli/commands/connectors-pull"},{"title":"connectors push","href":"/developers/references/cli/commands/connectors-push"}]},{"group":"Auth","pages":[{"title":"auth password-login","href":"/developers/references/cli/commands/auth-password-login"},{"title":"auth pull","href":"/developers/references/cli/commands/auth-pull"},{"title":"auth push","href":"/developers/references/cli/commands/auth-push"},{"title":"auth social-login","href":"/developers/references/cli/commands/auth-social-login"},{"title":"auth sso","href":"/developers/references/cli/commands/auth-sso"}]},{"group":"Secrets","pages":[{"title":"secrets set","href":"/developers/references/cli/commands/secrets-set"},{"title":"secrets list","href":"/developers/references/cli/commands/secrets-list"},{"title":"secrets delete","href":"/developers/references/cli/commands/secrets-delete"}]},{"group":"Development","pages":[{"title":"dev","href":"/developers/references/cli/commands/dev"},{"title":"exec","href":"/developers/references/cli/commands/exec"},{"title":"types generate","href":"/developers/references/cli/commands/types-generate"},{"title":"site open","href":"/developers/references/cli/commands/site-open"},{"title":"logs","href":"/developers/references/cli/commands/logs"}]},{"group":"API","pages":[{"title":"api catalog","href":"/developers/references/cli/commands/api-catalog"},{"title":"api fetch","href":"/developers/references/cli/commands/api-fetch"},{"title":"api grep","href":"/developers/references/cli/commands/api-grep"},{"title":"api search","href":"/developers/references/cli/commands/api-search"}]},{"group":"Sandbox","pages":[{"title":"sandbox ls","href":"/developers/references/cli/commands/sandbox-ls"},{"title":"sandbox read","href":"/developers/references/cli/commands/sandbox-read"},{"title":"sandbox grep","href":"/developers/references/cli/commands/sandbox-grep"},{"title":"sandbox write","href":"/developers/references/cli/commands/sandbox-write"},{"title":"sandbox edit","href":"/developers/references/cli/commands/sandbox-edit"},{"title":"sandbox run","href":"/developers/references/cli/commands/sandbox-run"},{"title":"sandbox checkpoint","href":"/developers/references/cli/commands/sandbox-checkpoint"},{"title":"branches list","href":"/developers/references/cli/commands/branches-list"}]},{"group":"Deployment","pages":[{"title":"build","sidebarTitle":"build","href":"/developers/references/cli/commands/build"},{"title":"deploy","href":"/developers/references/cli/commands/deploy"},{"title":"site deploy","href":"/developers/references/cli/commands/site-deploy"},{"title":"visibility","href":"/developers/references/cli/commands/visibility"}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"APIs","icon":"plug","groups":[{"group":"Base44 APIs","icon":"book-open","pages":[{"title":"Base44 APIs","sidebarTitle":"Overview","href":"/developers/references/apis/overview"}]},{"group":"Apps API (Beta)","boost":0.75,"icon":"rocket","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Apps API Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/get-started/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/apps-api/get-started/authentication"},{"title":"Apps API Concepts","sidebarTitle":"Concepts","href":"/developers/references/apps-api/get-started/concepts"},{"title":"Rate Limits","href":"/developers/references/apps-api/get-started/rate-limits"}]},{"group":"Apps","icon":"grid-2","pages":[{"title":"Apps","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/apps"},{"group":"Management","pages":[{"title":"List apps","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps","href":"/api-reference/list-apps"},{"title":"Create app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps","href":"/api-reference/create-app"},{"title":"Get app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}","href":"/api-reference/get-app"},{"title":"Update app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}","href":"/api-reference/update-app"},{"title":"Patch app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}","href":"/api-reference/patch-app"},{"title":"Get remix requirements","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/remix/requirements","href":"/api-reference/get-remix-requirements"},{"title":"Remix an app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/remix","href":"/api-reference/remix-an-app"},{"title":"Export app source code","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/coding/export-to-zip","href":"/api-reference/export-app-source-code"},{"title":"Check app delete impact","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/delete-check","href":"/api-reference/check-app-delete-impact"},{"title":"Delete app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}","href":"/api-reference/delete-app"},{"title":"Restore deleted app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps-trash/{app_id}/restore","href":"/api-reference/restore-deleted-app"}]},{"group":"Branding","pages":[{"title":"Change app slug","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/metadata/slug","href":"/api-reference/change-app-slug"},{"title":"Generate app logo","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/metadata/generate-logo","href":"/api-reference/generate-app-logo"},{"title":"Set app logo","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/metadata/update-logo","href":"/api-reference/set-app-logo"},{"title":"Set social image","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/metadata/social-image","href":"/api-reference/set-social-image"},{"title":"Upload app file","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/files/apps/{app_id}/upload","href":"/api-reference/upload-app-file"},{"title":"List assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/assets","href":"/api-reference/list-assets"},{"title":"Create asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/assets","href":"/api-reference/create-asset"},{"title":"Upload asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/assets/upload","href":"/api-reference/upload-asset"},{"title":"Rename asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/assets/{asset_id}","href":"/api-reference/rename-asset"},{"title":"Delete asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/assets/{asset_id}","href":"/api-reference/delete-asset"},{"title":"Import asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/assets/import","href":"/api-reference/import-asset"}]},{"group":"Secrets","pages":[{"title":"List secrets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/secrets","href":"/api-reference/list-secrets"},{"title":"Set secret","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/secrets","href":"/api-reference/set-secret"},{"title":"Delete secret","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/secrets","href":"/api-reference/delete-secret"}]},{"group":"Ownership transfer","pages":[{"title":"Check ownership transfer","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/ownership/transfer/preflight","href":"/api-reference/check-ownership-transfer"},{"title":"Start ownership transfer","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/ownership/transfer","href":"/api-reference/start-ownership-transfer"},{"title":"Transfer ownership to a workspace member","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/ownership/transfer/workspace-member","href":"/api-reference/transfer-ownership-to-a-workspace-member"},{"title":"Get pending ownership transfer","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/ownership/transfer/pending","href":"/api-reference/get-pending-ownership-transfer"},{"title":"Resend ownership transfer","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/ownership/transfer/resend","href":"/api-reference/resend-ownership-transfer"},{"title":"Cancel ownership transfer","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/ownership/transfer/cancel","href":"/api-reference/cancel-ownership-transfer"}]},{"group":"Template listings","pages":[{"title":"Get template listing pending update","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/app-catalog-items/catalog/{item_id}/pending-changes","href":"/api-reference/get-template-listing-pending-update"},{"title":"Submit template listing update","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/app-catalog-items/catalog/{item_id}/submit-update","href":"/api-reference/submit-template-listing-update"},{"title":"Archive template listing","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/app-catalog-items/catalog/{item_id}/archive","href":"/api-reference/archive-template-listing"}]},{"group":"SSO and MCP","pages":[{"title":"Get app SSO settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/sso/settings","href":"/api-reference/get-app-sso-settings"},{"title":"Update app SSO settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/sso/settings","href":"/api-reference/update-app-sso-settings"},{"title":"Get MCP status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/platform/{app_id}/mcp-status","href":"/api-reference/get-mcp-status"},{"title":"Get MCP config","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/platform/{app_id}/mcp/config","href":"/api-reference/get-mcp-config"},{"title":"Update MCP config","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/platform/{app_id}/mcp/config","href":"/api-reference/update-mcp-config"},{"title":"Get app API reference","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/openapi-spec","href":"/api-reference/get-app-api-reference"}]}]},{"group":"Code and sandbox","icon":"code","pages":[{"title":"Code and sandbox","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/code-and-sandbox"},{"title":"List app code files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/code/file-list","href":"/api-reference/list-app-code-files"},{"title":"Get an app code file","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/code/content","href":"/api-reference/get-an-app-code-file"},{"title":"Get app code files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/code/content/batch","href":"/api-reference/get-app-code-files"},{"title":"Search app code","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/code/search","href":"/api-reference/search-app-code"},{"title":"Save an app file","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/coding/write","href":"/api-reference/save-an-app-file"},{"title":"Save several app files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/coding/write-batch","href":"/api-reference/save-several-app-files"},{"title":"List app files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/list_directory","href":"/api-reference/list-app-files"},{"title":"Read app files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/read_file","href":"/api-reference/read-app-files"},{"title":"Search app files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/grep","href":"/api-reference/search-app-files"},{"title":"Write an app file","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/write_file","href":"/api-reference/write-an-app-file"},{"title":"Edit an app file","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/edit_file","href":"/api-reference/edit-an-app-file"},{"title":"Run a sandbox command","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/run_command","href":"/api-reference/run-a-sandbox-command"},{"title":"Create a sandbox checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/sandbox-bridge/create_checkpoint","href":"/api-reference/create-a-sandbox-checkpoint"},{"title":"List backend functions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/backend-functions","href":"/api-reference/list-backend-functions"},{"title":"Get backend function logs","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/functions-mgmt/{function_name}/logs","href":"/api-reference/get-backend-function-logs"},{"title":"Redeploy a backend function","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/coding/redeploy-function/{function_name}","href":"/api-reference/redeploy-a-backend-function"},{"title":"Delete a backend function","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/backend-functions/{function_name}","href":"/api-reference/delete-a-backend-function"},{"title":"List branches","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/branches","href":"/api-reference/list-branches"},{"title":"Create branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/branches","href":"/api-reference/create-branch"},{"title":"Get branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/branches/{branch_id}","href":"/api-reference/get-branch"},{"title":"Get branch sync status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/branches/{branch_id}/sync-status","href":"/api-reference/get-branch-sync-status"},{"title":"Update branch from main","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/branches/{branch_id}/sync-from-main","href":"/api-reference/update-branch-from-main"},{"title":"Merge branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/branches/{branch_id}/merge","href":"/api-reference/merge-branch"},{"title":"Delete branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/branches/{branch_id}","href":"/api-reference/delete-branch"},{"title":"Set main branch protection (owner or admin only)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/branches/main/protection","href":"/api-reference/set-main-branch-protection-owner-or-admin-only"}]},{"group":"Chat","icon":"comments","pages":[{"title":"Chat","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/chat"},{"title":"Retry chat requests","sidebarTitle":"Retries","href":"/developers/references/apps-api/sections/chat-retries"},{"title":"Read conversation messages","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/chat/full-conversation","href":"/api-reference/read-conversation-messages"},{"title":"List models","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/ai/model-catalog","href":"/api-reference/list-models"},{"title":"Send chat message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/message","href":"/api-reference/send-chat-message"},{"title":"Stop generation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/stop","href":"/api-reference/stop-generation"},{"title":"Submit tool-call input","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/submit-tool-call-input","href":"/api-reference/submit-tool-call-input"},{"title":"Submit tool-call input (batch)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/submit-tool-call-input/batch","href":"/api-reference/submit-tool-call-input-batch"},{"title":"Edit and resend","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/edit-and-resend","href":"/api-reference/edit-and-resend"},{"title":"Undo message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/message/{message_id}/undo","href":"/api-reference/undo-message"},{"title":"Get message queue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/chat/queue","href":"/api-reference/get-message-queue"},{"title":"Edit queued message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/chat/queue/{item_id}","href":"/api-reference/edit-queued-message"},{"title":"Reorder message queue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/chat/queue/reorder","href":"/api-reference/reorder-message-queue"},{"title":"Pause message queue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/queue/pause","href":"/api-reference/pause-message-queue"},{"title":"Resume message queue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/chat/queue/resume","href":"/api-reference/resume-message-queue"},{"title":"Remove queued message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/chat/queue/{item_id}","href":"/api-reference/remove-queued-message"},{"title":"Clear message queue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/chat/queue","href":"/api-reference/clear-message-queue"}]},{"group":"Comments","icon":"comment-dots","pages":[{"title":"List comments","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/comments","href":"/api-reference/list-comments"},{"title":"List mentionable users","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/comments/mentionable","href":"/api-reference/list-mentionable-users"},{"title":"Create comment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments","href":"/api-reference/create-comment"},{"title":"Reply to comment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/replies","href":"/api-reference/reply-to-comment"},{"title":"Edit comment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/comments/threads/{thread_id}/messages/{message_id}","href":"/api-reference/edit-comment"},{"title":"Update comment anchor","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/comments/threads/{thread_id}/anchor","href":"/api-reference/update-comment-anchor"},{"title":"Toggle comment reaction","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/messages/{message_id}/reactions","href":"/api-reference/toggle-comment-reaction"},{"title":"Resolve comment thread","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/resolve","href":"/api-reference/resolve-comment-thread"},{"title":"Reopen comment thread","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/unresolve","href":"/api-reference/reopen-comment-thread"},{"title":"Mark comment thread read","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/read","href":"/api-reference/mark-comment-thread-read"},{"title":"Mark all comments read","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/read-all","href":"/api-reference/mark-all-comments-read"},{"title":"Create comment screenshot link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/comments/threads/{thread_id}/chat-screenshot-url","href":"/api-reference/create-comment-screenshot-link"},{"title":"Delete comment reply","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/comments/threads/{thread_id}/messages/{message_id}","href":"/api-reference/delete-comment-reply"},{"title":"Delete comment thread","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/comments/threads/{thread_id}","href":"/api-reference/delete-comment-thread"}]},{"group":"Email","icon":"envelope","pages":[{"title":"List email templates","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/emails","href":"/api-reference/list-email-templates"},{"title":"Get email template","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/emails/{template_id}","href":"/api-reference/get-email-template"},{"title":"Send email template test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/emails/{template_id}/test","href":"/api-reference/send-email-template-test"},{"title":"Delete email template","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/emails/{template_id}","href":"/api-reference/delete-email-template"},{"title":"Preview application email","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/emails/system/{email_type}/preview","href":"/api-reference/preview-application-email"},{"title":"Customize application email","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/emails/system/{email_type}/materialize","href":"/api-reference/customize-application-email"},{"title":"Send application email test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/emails/system/{email_type}/test","href":"/api-reference/send-application-email-test"},{"title":"Get email stats","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/emails/stats","href":"/api-reference/get-email-stats"}]},{"group":"Checkpoints","icon":"clock-rotate-left","pages":[{"title":"Checkpoints","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/checkpoints"},{"title":"List checkpoints","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/app-checkpoints","href":"/api-reference/list-checkpoints"},{"title":"Create checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/app-checkpoints","href":"/api-reference/create-checkpoint"},{"title":"Get checkpoint files","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/app-checkpoints/{checkpoint_id}/file-tree","href":"/api-reference/get-checkpoint-files"},{"title":"Restore checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/app-checkpoints/{checkpoint_id}/load","href":"/api-reference/restore-checkpoint"},{"title":"Retry checkpoint build","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/app-checkpoints/{checkpoint_id}/retry-build","href":"/api-reference/retry-checkpoint-build"}]},{"group":"Deployment","icon":"cloud-arrow-up","pages":[{"title":"Deployment","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/deployment"},{"title":"Get preview URL","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/sandbox/preview-url","href":"/api-reference/get-preview-url"},{"title":"Deploy an app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/deploy","href":"/api-reference/deploy-an-app"},{"title":"Deploy a prebuilt site","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/deploy-dist","href":"/api-reference/deploy-a-prebuilt-site"},{"title":"Request deploy approval","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/request-deploy","href":"/api-reference/request-deploy-approval"},{"title":"Get published URL","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/platform/{app_id}/published-url","href":"/api-reference/get-published-url"},{"title":"Unpublish app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/undeploy","href":"/api-reference/unpublish-app"}]},{"group":"Entities","icon":"table","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/entities"},{"group":"Schemas","pages":[{"title":"List entity schemas","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entity-schemas","href":"/api-reference/list-entity-schemas"},{"title":"Get entity schema","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entity-schemas/{entity_name}","href":"/api-reference/get-entity-schema"},{"title":"Create entity schema","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entity-schemas","href":"/api-reference/create-entity-schema"},{"title":"Update entity schema","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entity-schemas/{entity_name}","href":"/api-reference/update-entity-schema"},{"title":"Sync entity schemas","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entity-schemas","href":"/api-reference/sync-entity-schemas"},{"title":"Delete entity schema","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/entity-schemas/{entity_name}","href":"/api-reference/delete-entity-schema"}]},{"group":"Records","pages":[{"title":"List entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/{entity_name}/v2/list","href":"/api-reference/list-entity-records"},{"title":"Get entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/{entity_name}/{entity_id}","href":"/api-reference/get-entity-record"},{"title":"Create entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/{entity_name}","href":"/api-reference/create-entity-record"},{"title":"Update entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entities/{entity_name}/{entity_id}","href":"/api-reference/update-entity-record"},{"title":"Delete entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/entities/{entity_name}/{entity_id}","href":"/api-reference/delete-entity-record"},{"title":"Count entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/{entity_name}/count","href":"/api-reference/count-entity-records"},{"title":"Aggregate entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/{entity_name}/aggregate","href":"/api-reference/aggregate-entity-records"}]},{"group":"Bulk operations","pages":[{"title":"Create entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/{entity_name}/bulk","href":"/api-reference/create-entity-records"},{"title":"Update entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entities/{entity_name}/bulk","href":"/api-reference/update-entity-records"},{"title":"Update entity records by filter","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/entities/{entity_name}/update-many","href":"/api-reference/update-entity-records-by-filter"},{"title":"Upsert entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/{entity_name}/upsert","href":"/api-reference/upsert-entity-records"},{"title":"Import entity records from CSV","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/{entity_name}/import","href":"/api-reference/import-entity-records-from-csv"},{"title":"Delete entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/entities/{entity_name}","href":"/api-reference/delete-entity-records"}]},{"group":"Trash","pages":[{"title":"List deleted entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/{entity_name}/trash","href":"/api-reference/list-deleted-entity-records"},{"title":"Restore entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entities/{entity_name}/{entity_id}/restore","href":"/api-reference/restore-entity-record"},{"title":"Restore entity records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entities/{entity_name}/trash/restore","href":"/api-reference/restore-entity-records"},{"title":"Permanently delete entity record","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/entities/{entity_name}/{entity_id}/permanent","href":"/api-reference/permanently-delete-entity-record"}]},{"group":"Data checkpoints","pages":[{"title":"Get data version history status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/versions/info","href":"/api-reference/get-data-version-history-status"},{"title":"List data checkpoints","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/versions/checkpoints","href":"/api-reference/list-data-checkpoints"},{"title":"Download data checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/{entity_name}/versions/checkpoints/{checkpoint_id}/snapshot","href":"/api-reference/download-data-checkpoint"},{"title":"Restore data to checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/entities/versions/checkpoints/{checkpoint_id}/restore","href":"/api-reference/restore-data-to-checkpoint"},{"title":"Get data restore status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/versions/restores/batch/{batch_id}","href":"/api-reference/get-data-restore-status"}]}]},{"group":"Users","icon":"users","pages":[{"title":"Users","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/users"},{"title":"List app users","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/User","href":"/api-reference/list-app-users"},{"title":"Count app users","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/User/count","href":"/api-reference/count-app-users"},{"title":"Get app user","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/entities/User/{user_id}","href":"/api-reference/get-app-user"},{"title":"Update app user","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/entities/User/{user_id}","href":"/api-reference/update-app-user"},{"title":"Remove app user","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/entities/User/{user_id}","href":"/api-reference/remove-app-user"},{"title":"Invite app users","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/users/invite-users","href":"/api-reference/invite-app-users"},{"title":"Provision an app user","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/users/provisions","href":"/api-reference/provision-an-app-user"},{"title":"Deprovision an app user","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/users/provisions","href":"/api-reference/deprovision-an-app-user"},{"title":"List access requests","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/access-requests/all","href":"/api-reference/list-access-requests"},{"title":"Approve or deny access request","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/access-requests/{request_id}/{action}","href":"/api-reference/approve-or-deny-access-request"},{"title":"Update pending invitee","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/access-requests/{request_id}","href":"/api-reference/update-pending-invitee"},{"title":"List collaborators","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/users/collaborators","href":"/api-reference/list-collaborators"},{"title":"Remove collaborator","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/users/collaborators/{collaborator_id}","href":"/api-reference/remove-collaborator"},{"title":"List group shares","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/group-shares","href":"/api-reference/list-group-shares"},{"title":"Share app with groups","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/group-shares","href":"/api-reference/share-app-with-groups"},{"title":"Update group share","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/group-shares/{share_id}","href":"/api-reference/update-group-share"},{"title":"Remove group share","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/group-shares/{share_id}","href":"/api-reference/remove-group-share"}]},{"group":"Workflows","icon":"diagram-project","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/workflows"},{"group":"Management","pages":[{"title":"List workflows","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows","href":"/api-reference/list-workflows"},{"title":"Validate a workflow definition","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/validate-definition","href":"/api-reference/validate-a-workflow-definition"},{"title":"Create a workflow (not imported apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows","href":"/api-reference/create-a-workflow-not-imported-apps"},{"title":"Get workflow","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}","href":"/api-reference/get-workflow"},{"title":"Update workflow (not imported apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/workflows/{workflow_id}","href":"/api-reference/update-workflow-not-imported-apps"},{"title":"Toggle workflow status (not imported apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/{workflow_id}/toggle-status","href":"/api-reference/toggle-workflow-status-not-imported-apps"},{"title":"Archive workflow (not imported apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/workflows/{workflow_id}","href":"/api-reference/archive-workflow-not-imported-apps"},{"title":"Restore workflow (not imported apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/{workflow_id}/unarchive","href":"/api-reference/restore-workflow-not-imported-apps"}]},{"group":"Versions","pages":[{"title":"List workflow versions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/versions","href":"/api-reference/list-workflow-versions"},{"title":"Get workflow version","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/versions/{version_id}","href":"/api-reference/get-workflow-version"}]},{"group":"Runs","pages":[{"title":"Get workflow run-now options","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/run-now-info","href":"/api-reference/get-workflow-run-now-options"},{"title":"Run a workflow now","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/{workflow_id}/run-now","href":"/api-reference/run-a-workflow-now"},{"title":"List workflow runs for an app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/runs","href":"/api-reference/list-workflow-runs-for-an-app"},{"title":"List runs for a workflow","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/runs","href":"/api-reference/list-runs-for-a-workflow"},{"title":"Get workflow run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/{workflow_id}/runs/{run_id}","href":"/api-reference/get-workflow-run"},{"title":"Cancel a workflow run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/{workflow_id}/runs/{run_id}/cancel","href":"/api-reference/cancel-a-workflow-run"},{"title":"Analyze a failed workflow run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/workflows/{workflow_id}/runs/{run_id}/analyze","href":"/api-reference/analyze-a-failed-workflow-run"}]},{"group":"Insights","pages":[{"title":"Get workflow stats","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/stats","href":"/api-reference/get-workflow-stats"},{"title":"Suggest workflows","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/workflows/suggestions","href":"/api-reference/suggest-workflows"}]}]},{"group":"Agents","icon":"user-robot","pages":[{"title":"Agents","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/agents"},{"title":"Get the agent profile","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-profile","href":"/api-reference/get-the-agent-profile"},{"title":"Get agent setup suggestions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-configs/setup-suggestions","href":"/api-reference/get-agent-setup-suggestions"},{"title":"List agent conversation users","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-configs/conversation-users","href":"/api-reference/list-agent-conversation-users"},{"title":"Get agent conversation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-configs/conversations/{conversation_id}","href":"/api-reference/get-agent-conversation"},{"title":"List agent memories","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-configs/{name}/memory","href":"/api-reference/list-agent-memories"},{"title":"Get agent usage","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/agent-configs/usage","href":"/api-reference/get-agent-usage"}]},{"group":"Domains and redirects","icon":"globe","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/domains"},{"group":"Custom domains","pages":[{"title":"Check domain availability","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains/availability","href":"/api-reference/check-domain-availability"},{"title":"Get domain purchase provider","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains/purchase-provider","href":"/api-reference/get-domain-purchase-provider"},{"title":"Create domain checkout link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains/purchase-url","href":"/api-reference/create-domain-checkout-link"},{"title":"List domain registrations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains/registrations","href":"/api-reference/list-domain-registrations"},{"title":"Update a domain registration","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/custom-domains/{domain_id}/registration","href":"/api-reference/update-a-domain-registration"},{"title":"List custom domains","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains","href":"/api-reference/list-custom-domains"},{"title":"Add custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains","href":"/api-reference/add-custom-domain"},{"title":"Get custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains/{domain_id}","href":"/api-reference/get-custom-domain"},{"title":"Get custom domain DNS records","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-domains/{domain_id}/dns-records","href":"/api-reference/get-custom-domain-dns-records"},{"title":"Verify custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains/{domain_id}/verify","href":"/api-reference/verify-custom-domain"},{"title":"Get custom domain status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains/{domain_id}/status","href":"/api-reference/get-custom-domain-status"},{"title":"Link custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains/{domain_id}/link","href":"/api-reference/link-custom-domain"},{"title":"Set custom domain redirect","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/custom-domains/{domain_id}/redirect","href":"/api-reference/set-custom-domain-redirect"},{"title":"Unlink custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-domains/{domain_id}/unlink","href":"/api-reference/unlink-custom-domain"},{"title":"Delete custom domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/custom-domains/{domain_id}","href":"/api-reference/delete-custom-domain"}]},{"group":"Email domains","pages":[{"title":"List email domains","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/custom-email-domains","href":"/api-reference/list-email-domains"},{"title":"Enable email sending for a domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-email-domains","href":"/api-reference/enable-email-sending-for-a-domain"},{"title":"Retry email domain setup","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-email-domains/configure","href":"/api-reference/retry-email-domain-setup"},{"title":"Update email sender details","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/custom-email-domains","href":"/api-reference/update-email-sender-details"},{"title":"Replace the email domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/custom-email-domains/replace","href":"/api-reference/replace-the-email-domain"},{"title":"Disable email sending for a domain","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/custom-email-domains","href":"/api-reference/disable-email-sending-for-a-domain"}]},{"group":"URL redirects","pages":[{"title":"List URL redirects","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/url-redirects","href":"/api-reference/list-url-redirects"},{"title":"Create URL redirect","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/url-redirects","href":"/api-reference/create-url-redirect"},{"title":"Update URL redirect","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/url-redirects/{redirect_id}","href":"/api-reference/update-url-redirect"},{"title":"Delete URL redirect","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/url-redirects/{redirect_id}","href":"/api-reference/delete-url-redirect"}]}]},{"group":"GitHub","icon":"github","pages":[{"title":"GitHub","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/github"},{"title":"List workspace GitHub installations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/github/workspace-installations","href":"/api-reference/list-workspace-github-installations"},{"title":"List GitHub organizations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/github/organizations","href":"/api-reference/list-github-organizations"},{"title":"Get GitHub organization policy","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/github/org-policy","href":"/api-reference/get-github-organization-policy"},{"title":"Connect an app to GitHub","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/connect","href":"/api-reference/connect-an-app-to-github"},{"title":"Link a CLI app’s GitHub repository","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/link-existing","href":"/api-reference/link-a-cli-app’s-github-repository"},{"title":"Get GitHub connection","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/github/connection","href":"/api-reference/get-github-connection"},{"title":"Turn automatic GitHub sync on or off","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/sync/toggle","href":"/api-reference/turn-automatic-github-sync-on-or-off"},{"title":"Pull changes from GitHub","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/sync","href":"/api-reference/pull-changes-from-github"},{"title":"Push changes to GitHub","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/sync/manual","href":"/api-reference/push-changes-to-github"},{"title":"Resolve GitHub sync conflicts","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/sync/resolve-conflicts","href":"/api-reference/resolve-github-sync-conflicts"},{"title":"Import a GitHub branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/branches/import","href":"/api-reference/import-a-github-branch"},{"title":"Reconnect a GitHub repository","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/github/reconnect","href":"/api-reference/reconnect-a-github-repository"},{"title":"Disconnect a GitHub repository","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/github/disconnect","href":"/api-reference/disconnect-a-github-repository"}]},{"group":"Base code","icon":"laptop-code","pages":[{"title":"Base code","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/imported-app-sessions"},{"title":"Check for main sandbox updates on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/main-update/check","href":"/api-reference/check-for-main-sandbox-updates-on-an-imported-app"},{"title":"Get main sandbox update status on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/main-update","href":"/api-reference/get-main-sandbox-update-status-on-an-imported-app"},{"title":"Retry main sandbox update","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/main-update/failures/{failure_id}/retry","href":"/api-reference/retry-main-sandbox-update"},{"title":"Investigate main sandbox update failure","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/main-update/failures/{failure_id}/investigations","href":"/api-reference/investigate-main-sandbox-update-failure"},{"title":"List coding sessions on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions","href":"/api-reference/list-coding-sessions-on-an-imported-app"},{"title":"Launch coding session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/sessions","href":"/api-reference/launch-coding-session-on-an-imported-app"},{"title":"Import a Claude Code or Codex session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/session-imports","href":"/api-reference/import-a-claude-code-or-codex-session-on-an-imported-app"},{"title":"Get coding session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions/{session_id}","href":"/api-reference/get-coding-session-on-an-imported-app"},{"title":"Get coding session by launch key on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions/launch-requests/{launch_key}","href":"/api-reference/get-coding-session-by-launch-key-on-an-imported-app"},{"title":"Get latest coding sessions by reference on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions/latest","href":"/api-reference/get-latest-coding-sessions-by-reference-on-an-imported-app"},{"title":"Get a coding session's open question on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions/{session_id}/input-request","href":"/api-reference/get-a-coding-sessions-open-question-on-an-imported-app"},{"title":"Send a message to a coding session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/sessions/{session_id}/messages","href":"/api-reference/send-a-message-to-a-coding-session-on-an-imported-app"},{"title":"Get a message sent to a coding session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/sessions/{session_id}/messages/{input_id}","href":"/api-reference/get-a-message-sent-to-a-coding-session-on-an-imported-app"},{"title":"Cancel coding session on an imported app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/sessions/{session_id}/cancel","href":"/api-reference/cancel-coding-session-on-an-imported-app"},{"title":"Import repository branch","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/branches/import-from-repo","href":"/api-reference/import-repository-branch"},{"title":"Get branch pull request","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/git/pull-request","href":"/api-reference/get-branch-pull-request"},{"title":"Open pull request","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/git/pull-request","href":"/api-reference/open-pull-request"},{"title":"Update pull request","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/imported/git/pull-request","href":"/api-reference/update-pull-request"},{"title":"Get pull requests for branches","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/git/pull-requests/by-branch","href":"/api-reference/get-pull-requests-for-branches"},{"title":"List pull requests","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/git/pull-requests","href":"/api-reference/list-pull-requests"},{"title":"Get branch git status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/git/status","href":"/api-reference/get-branch-git-status"},{"title":"Commit branch changes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/git/commit","href":"/api-reference/commit-branch-changes"},{"title":"Discard branch changes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/git/discard","href":"/api-reference/discard-branch-changes"}]},{"group":"Agent deployments","icon":"rocket","pages":[{"title":"List agent deployments","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/agent-deployments","href":"/api-reference/list-agent-deployments"},{"title":"Deploy agent version","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/agent-deployments","href":"/api-reference/deploy-agent-version"},{"title":"Get agent deployment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/agent-deployments/{deployment_id}","href":"/api-reference/get-agent-deployment"},{"title":"Disable agent deployment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/imported/agent-deployments/{deployment_id}","href":"/api-reference/disable-agent-deployment"}]},{"group":"Agent runs","icon":"circle-play","pages":[{"title":"List agent runs","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/agent-runs","href":"/api-reference/list-agent-runs"},{"title":"Start agent run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/agent-runs","href":"/api-reference/start-agent-run"},{"title":"Get agent run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/agent-runs/{run_id}","href":"/api-reference/get-agent-run"},{"title":"Observe agent completion","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/imported/agent-runs/{run_id}/events","href":"/api-reference/observe-agent-completion"},{"title":"Publish agent review","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/agent-runs/{run_id}/publications","href":"/api-reference/publish-agent-review"},{"title":"Cancel agent run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/imported/agent-runs/{run_id}/cancellations","href":"/api-reference/cancel-agent-run"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Integrations","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/integrations"},{"title":"List connectors","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/external-auth/available-integrations","href":"/api-reference/list-connectors"},{"title":"Get connector policies","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/external-auth/connector-governance","href":"/api-reference/get-connector-policies"},{"title":"List connector connections","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/external-auth/list","href":"/api-reference/list-connector-connections"},{"title":"Get connector connection status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/external-auth/status","href":"/api-reference/get-connector-connection-status"},{"title":"Get connector connection fields","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/external-auth/connection-config/{integration_type}","href":"/api-reference/get-connector-connection-fields"},{"title":"Get OAuth redirect URIs","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/oauth-redirect-uris","href":"/api-reference/get-oauth-redirect-uris"},{"title":"Start connector connection","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/external-auth/initiate","href":"/api-reference/start-connector-connection"},{"title":"Set connector scopes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/external-auth/integrations/{integration_type}","href":"/api-reference/set-connector-scopes"},{"title":"Disconnect connector","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/external-auth/integrations/{integration_type}","href":"/api-reference/disconnect-connector"},{"title":"Remove connector","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/external-auth/integrations/{integration_type}/remove","href":"/api-reference/remove-connector"}]},{"group":"Security","icon":"shield-halved","pages":[{"title":"Security","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/security"},{"title":"Run security scan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/security/scan","href":"/api-reference/run-security-scan"},{"title":"Get security scan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/security/scan","href":"/api-reference/get-security-scan"},{"title":"Fix RLS recommendations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/security/scan/rls/fix","href":"/api-reference/fix-rls-recommendations"},{"title":"Dismiss RLS recommendation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/security/scan/rls-recommendation/{entity_name}","href":"/api-reference/dismiss-rls-recommendation"},{"title":"Dismiss header recommendation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/security/scan/header-recommendations/{flag}","href":"/api-reference/dismiss-header-recommendation"},{"title":"Enable core integration protection","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/security/scan/core-integrations/protect","href":"/api-reference/enable-core-integration-protection"},{"title":"Ignore security finding","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/security/scan/ignore","href":"/api-reference/ignore-security-finding"},{"title":"Restore security finding","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/security/scan/ignore/{fingerprint}","href":"/api-reference/restore-security-finding"},{"title":"Get security headers","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/security/headers","href":"/api-reference/get-security-headers"},{"title":"Update security headers","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/security/headers","href":"/api-reference/update-security-headers"}]},{"group":"Testing","icon":"vial","pages":[{"title":"Testing","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/testing"},{"title":"List tests","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/flows","href":"/api-reference/list-tests"},{"title":"Create test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/flows","href":"/api-reference/create-test"},{"title":"Get test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/flows/{flow_id}","href":"/api-reference/get-test"},{"title":"Update test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/testing-agent/flows/{flow_id}","href":"/api-reference/update-test"},{"title":"Delete test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/testing-agent/flows/{flow_id}","href":"/api-reference/delete-test"},{"title":"Refine test description","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/refine","href":"/api-reference/refine-test-description"},{"title":"Generate tests from app","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/flows/generate-from-app-context","href":"/api-reference/generate-tests-from-app"},{"title":"Suggest new tests","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/flows/suggest-new-tests","href":"/api-reference/suggest-new-tests"},{"title":"Save test generation checkpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/flows/save-generation-checkpoint","href":"/api-reference/save-test-generation-checkpoint"},{"title":"Seed test data","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/data/seed","href":"/api-reference/seed-test-data"},{"title":"Run test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/executions","href":"/api-reference/run-test"},{"title":"List test runs","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/executions","href":"/api-reference/list-test-runs"},{"title":"Get latest run per test","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/executions/latest-by-flow","href":"/api-reference/get-latest-run-per-test"},{"title":"Get test run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/executions/{execution_id}","href":"/api-reference/get-test-run"},{"title":"Pause test run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/executions/{execution_id}/pause","href":"/api-reference/pause-test-run"},{"title":"Cancel test run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/executions/{execution_id}/cancel","href":"/api-reference/cancel-test-run"},{"title":"Get test run report","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/testing-agent/analysis/{execution_id}","href":"/api-reference/get-test-run-report"},{"title":"Reanalyze test run","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/analysis/{execution_id}/reanalyze","href":"/api-reference/reanalyze-test-run"},{"title":"Resolve test run issue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/analysis/{execution_id}/issues/resolve","href":"/api-reference/resolve-test-run-issue"},{"title":"Delete test run issue","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/testing-agent/analysis/{execution_id}/issues/delete","href":"/api-reference/delete-test-run-issue"}]},{"group":"SEO","icon":"magnifying-glass","pages":[{"title":"SEO","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/seo"},{"title":"Get SEO settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/settings","href":"/api-reference/get-seo-settings"},{"title":"Update SEO settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/seo/settings","href":"/api-reference/update-seo-settings"},{"title":"Get page visibility","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/page-visibility","href":"/api-reference/get-page-visibility"},{"title":"Update page SEO settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/seo/page-settings/{page_name}","href":"/api-reference/update-page-seo-settings"},{"title":"Run SEO scan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/seo/scan","href":"/api-reference/run-seo-scan"},{"title":"Get last SEO scan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/last-scan","href":"/api-reference/get-last-seo-scan"},{"title":"Get SEO score","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/summary","href":"/api-reference/get-seo-score"},{"title":"Apply SEO fix","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/seo/fix","href":"/api-reference/apply-seo-fix"},{"title":"Preview llms.txt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/preview/llms-txt","href":"/api-reference/preview-llmstxt"},{"title":"Preview JSON-LD","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/preview/json-ld","href":"/api-reference/preview-json-ld"}]},{"group":"SEO research","icon":"microscope","pages":[{"title":"Get keyword ideas","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/keyword-ideas","href":"/api-reference/get-keyword-ideas"},{"title":"Get Google's top 10 for a keyword","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/serp","href":"/api-reference/get-googles-top-10-for-a-keyword"},{"title":"Get search performance","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/search-performance","href":"/api-reference/get-search-performance"},{"title":"Get keywords a competitor wins","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/competitor-gap","href":"/api-reference/get-keywords-a-competitor-wins"},{"title":"Get sites linking to a competitor","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/backlink-gap","href":"/api-reference/get-sites-linking-to-a-competitor"},{"title":"Ask AI assistants about this app's market","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/ai-answers","href":"/api-reference/ask-ai-assistants-about-this-apps-market"},{"title":"Read a live SEO data endpoint","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/seo/research/raw","href":"/api-reference/read-a-live-seo-data-endpoint"}]},{"group":"Analytics","icon":"chart-column","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/analytics"},{"title":"Suggest analytics events to track","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/analytics/suggestions","href":"/api-reference/suggest-analytics-events-to-track"},{"title":"List analytics event names","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/analytics/names","href":"/api-reference/list-analytics-event-names"},{"title":"List analytics event properties","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/analytics/{event_name}/properties","href":"/api-reference/list-analytics-event-properties"},{"title":"Query analytics events","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/analytics/query","href":"/api-reference/query-analytics-events"},{"title":"Aggregate analytics events over time","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/analytics/timeseries","href":"/api-reference/aggregate-analytics-events-over-time"},{"title":"Aggregate analytics events by field","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/analytics/grouped","href":"/api-reference/aggregate-analytics-events-by-field"},{"title":"Get analytics user stats","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/analytics/stats/users","href":"/api-reference/get-analytics-user-stats"},{"title":"Get session recording settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/session-recordings/apps/{app_id}/recording-settings","href":"/api-reference/get-session-recording-settings"},{"title":"Turn session recordings on or off","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/session-recordings/apps/{app_id}/recording-settings","href":"/api-reference/turn-session-recordings-on-or-off"},{"title":"Update session recording capture settings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/session-recordings/apps/{app_id}/recording-settings","href":"/api-reference/update-session-recording-capture-settings"}]},{"group":"Payments","icon":"credit-card","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/payments"},{"group":"Stripe","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/payments-stripe"},{"title":"Install Stripe integration","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/stripe/install","href":"/api-reference/install-stripe-integration"},{"title":"Get Stripe integration status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/status","href":"/api-reference/get-stripe-integration-status"},{"title":"Get Stripe sandbox","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/sandbox","href":"/api-reference/get-stripe-sandbox"},{"title":"Get Stripe onboarding link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/sandbox/claim-url","href":"/api-reference/get-stripe-onboarding-link"},{"title":"Provision live Stripe keys","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/stripe/provision-live-keys","href":"/api-reference/provision-live-stripe-keys"},{"title":"Configure live Stripe keys","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/stripe/configure-live-keys","href":"/api-reference/configure-live-stripe-keys"},{"title":"List Stripe products","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/products","href":"/api-reference/list-stripe-products"},{"title":"Create Stripe product","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/stripe/products","href":"/api-reference/create-stripe-product"},{"title":"Get Stripe product","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/products/{product_id}","href":"/api-reference/get-stripe-product"},{"title":"Update Stripe product","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/payments/stripe/products/{product_id}","href":"/api-reference/update-stripe-product"},{"title":"List Stripe prices","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/stripe/prices","href":"/api-reference/list-stripe-prices"},{"title":"Create Stripe price","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/stripe/prices","href":"/api-reference/create-stripe-price"},{"title":"Update Stripe price","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/payments/stripe/prices/{price_id}","href":"/api-reference/update-stripe-price"},{"title":"Remove Stripe integration","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/payments/stripe","href":"/api-reference/remove-stripe-integration"}]},{"group":"Wix Payments","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/payments-wix"},{"title":"Resolve Wix Payments onboarding name","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/payments/wix/resolve-name","href":"/api-reference/resolve-wix-payments-onboarding-name"},{"title":"Get Wix Payments status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/wix/status","href":"/api-reference/get-wix-payments-status"},{"title":"Get Wix Payments dashboard link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/wix/dashboard-url","href":"/api-reference/get-wix-payments-dashboard-link"},{"title":"Switch Wix Payments test mode","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/payments/wix/test-mode","href":"/api-reference/switch-wix-payments-test-mode"},{"title":"List Wix Payments payouts","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/wix/payouts","href":"/api-reference/list-wix-payments-payouts"},{"title":"Get Wix Payments payout","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/wix/payouts/{payout_id}","href":"/api-reference/get-wix-payments-payout"},{"title":"Disconnect Wix Payments","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/payments/wix","href":"/api-reference/disconnect-wix-payments"},{"title":"Get Payments by Wix dashboard link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/payments-by-wix/dashboard-url","href":"/api-reference/get-payments-by-wix-dashboard-link"},{"title":"Disconnect Payments by Wix","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/payments/payments-by-wix","href":"/api-reference/disconnect-payments-by-wix"}]},{"group":"Analytics","pages":[{"title":"Get payment analytics","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics","href":"/api-reference/get-payment-analytics"},{"title":"Get recent payment transactions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics/recent-transactions","href":"/api-reference/get-recent-payment-transactions"},{"title":"Get top payment customers","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics/top-customers","href":"/api-reference/get-top-payment-customers"}]},{"group":"Transactions","pages":[{"title":"List payment transactions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics/transactions","href":"/api-reference/list-payment-transactions"},{"title":"Export payment transactions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics/transactions/export","href":"/api-reference/export-payment-transactions"},{"title":"Get payment transaction","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/payments/analytics/transactions/{transaction_id}","href":"/api-reference/get-payment-transaction"},{"title":"Refund payment transaction","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/payments/analytics/transactions/{transaction_id}/refund","href":"/api-reference/refund-payment-transaction"}]},{"group":"Webhooks","pages":[{"title":"Receive Stripe sandbox event","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/payment-webhooks/stripe","href":"/api-reference/receive-stripe-sandbox-event"},{"title":"Receive Stripe live event","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/payment-webhooks/stripe/live","href":"/api-reference/receive-stripe-live-event"},{"title":"Receive Wix Payments event","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/payment-webhooks/wix-payments","href":"/api-reference/receive-wix-payments-event"}]}]},{"group":"Marketing Agent","icon":"wand-magic-sparkles","pages":[{"title":"Marketing Agent","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/marketing-agent"},{"title":"Start Marketing Agent setup (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/cmo/setup/start","href":"/api-reference/start-marketing-agent-setup-web-apps"},{"title":"Answer Marketing Agent setup step (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/cmo/setup/answer","href":"/api-reference/answer-marketing-agent-setup-step-web-apps"},{"title":"Get Marketing Agent state (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/cmo/state","href":"/api-reference/get-marketing-agent-state-web-apps"},{"title":"Get Marketing Agent KPI values (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/cmo/kpi-values","href":"/api-reference/get-marketing-agent-kpi-values-web-apps"},{"title":"Message the Marketing Agent (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/cmo/messages","href":"/api-reference/message-the-marketing-agent-web-apps"},{"title":"Reset Marketing Agent setup (web apps)","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/cmo/setup/reset","href":"/api-reference/reset-marketing-agent-setup-web-apps"}]},{"group":"Virality and social content","icon":"share-nodes","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/virality"},{"group":"Virality","pages":[{"title":"Start social content flow","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/start","href":"/api-reference/start-social-content-flow"},{"title":"Submit answers","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/submit-answers","href":"/api-reference/submit-answers"},{"title":"Refine content strategy","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/refine-strategy","href":"/api-reference/refine-content-strategy"},{"title":"Generate content plan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/generate","href":"/api-reference/generate-content-plan"},{"title":"Get social content state","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/virality/state","href":"/api-reference/get-social-content-state"},{"title":"Update post content","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/apps/{app_id}/virality/posts/{post_id}","href":"/api-reference/update-post-content"},{"title":"Refine a post","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/posts/{post_id}/refine","href":"/api-reference/refine-a-post"},{"title":"Generate a post image","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/posts/{post_id}/generate-image","href":"/api-reference/generate-a-post-image"},{"title":"Generate teaser posts","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/teaser","href":"/api-reference/generate-teaser-posts"},{"title":"Reset social content flow","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/virality/reset","href":"/api-reference/reset-social-content-flow"}]}]},{"group":"Google Ads","icon":"bullhorn","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/google-ads"},{"group":"Accounts","pages":[{"title":"Create Google Ads account for tracking","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/ensure-for-tracking","href":"/api-reference/create-google-ads-account-for-tracking"},{"title":"Get Google Ads account","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/accounts","href":"/api-reference/get-google-ads-account"},{"title":"Accept Google Ads terms","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/accept-terms","href":"/api-reference/accept-google-ads-terms"},{"title":"Retry Google Ads billing setup","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/retry-billing-setup","href":"/api-reference/retry-google-ads-billing-setup"},{"title":"Update Google Ads monthly spend cap","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/accounts/{account_id}/budget-limit","href":"/api-reference/update-google-ads-monthly-spend-cap"},{"title":"Update Google Ads billing cadence","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/accounts/{account_id}/cadence","href":"/api-reference/update-google-ads-billing-cadence"},{"title":"Turn on Google Ads budget auto-renewal","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/auto-renewal/on","href":"/api-reference/turn-on-google-ads-budget-auto-renewal"},{"title":"Turn off Google Ads budget auto-renewal","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/auto-renewal/off","href":"/api-reference/turn-off-google-ads-budget-auto-renewal"},{"title":"Link a Google Business Profile","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/business-profile/link","href":"/api-reference/link-a-google-business-profile"},{"title":"Unlink the Google Business Profile","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/business-profile/unlink","href":"/api-reference/unlink-the-google-business-profile"},{"title":"Disconnect the Google Ads account","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/disconnect","href":"/api-reference/disconnect-the-google-ads-account"}]},{"group":"Campaigns","pages":[{"title":"List Google Ads campaign briefs","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaign-briefs","href":"/api-reference/list-google-ads-campaign-briefs"},{"title":"Generate Google Ads campaign brief","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaign-briefs/generate","href":"/api-reference/generate-google-ads-campaign-brief"},{"title":"Create Google Ads campaign brief","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaign-briefs","href":"/api-reference/create-google-ads-campaign-brief"},{"title":"Get Google Ads campaign brief","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaign-briefs/{brief_id}","href":"/api-reference/get-google-ads-campaign-brief"},{"title":"Update Google Ads campaign brief","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/campaign-briefs/{brief_id}","href":"/api-reference/update-google-ads-campaign-brief"},{"title":"Delete Google Ads campaign brief","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/google-ads/campaign-briefs/{brief_id}","href":"/api-reference/delete-google-ads-campaign-brief"},{"title":"Suggest Google Ads campaigns","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/ai-suggestions","href":"/api-reference/suggest-google-ads-campaigns"},{"title":"Suggest Google Ads budget options","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/suggestions","href":"/api-reference/suggest-google-ads-budget-options"},{"title":"Get Google Ads budget boundaries","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/budget-boundaries","href":"/api-reference/get-google-ads-budget-boundaries"},{"title":"Estimate a Google Ads campaign budget","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/estimate","href":"/api-reference/estimate-a-google-ads-campaign-budget"},{"title":"Estimate Google Ads cost per click","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/cpc-estimate","href":"/api-reference/estimate-google-ads-cost-per-click"},{"title":"List Google Ads campaigns","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns","href":"/api-reference/list-google-ads-campaigns"},{"title":"Create Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns","href":"/api-reference/create-google-ads-campaign"},{"title":"Get Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}","href":"/api-reference/get-google-ads-campaign"},{"title":"Update Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/campaigns/{campaign_id}","href":"/api-reference/update-google-ads-campaign"},{"title":"Delete Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/google-ads/campaigns/{campaign_id}","href":"/api-reference/delete-google-ads-campaign"},{"title":"Get Google Ads campaign targeting","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/targeting","href":"/api-reference/get-google-ads-campaign-targeting"},{"title":"Suggest keyword themes for a Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/keyword-theme-suggestions","href":"/api-reference/suggest-keyword-themes-for-a-google-ads-campaign"},{"title":"List Google Ads campaign optimization suggestions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/optimization-suggestions","href":"/api-reference/list-google-ads-campaign-optimization-suggestions"},{"title":"Apply a Google Ads budget recommendation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/recommendations/apply-budget","href":"/api-reference/apply-a-google-ads-budget-recommendation"},{"title":"Get Google Ads campaign conversion breakdown","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/impact","href":"/api-reference/get-google-ads-campaign-conversion-breakdown"},{"title":"List Google Ads campaign changes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/change-log","href":"/api-reference/list-google-ads-campaign-changes"},{"title":"Pause Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/pause","href":"/api-reference/pause-google-ads-campaign"},{"title":"Resume Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/{campaign_id}/resume","href":"/api-reference/resume-google-ads-campaign"},{"title":"Get Google Ads campaign metrics","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaigns/metrics","href":"/api-reference/get-google-ads-campaign-metrics"},{"title":"Bulk update Google Ads campaign budgets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/campaigns/bulk-budget","href":"/api-reference/bulk-update-google-ads-campaign-budgets"},{"title":"Pause all Google Ads campaigns","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/pause-all","href":"/api-reference/pause-all-google-ads-campaigns"},{"title":"Sync Google Ads campaigns","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/campaigns/sync","href":"/api-reference/sync-google-ads-campaigns"}]},{"group":"Assets","pages":[{"title":"List Google Ads generated assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/assets","href":"/api-reference/list-google-ads-generated-assets"},{"title":"Generate Google Ads assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/generate-all","href":"/api-reference/generate-google-ads-assets"},{"title":"Generate Google Ads text assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/generate-text","href":"/api-reference/generate-google-ads-text-assets"},{"title":"Generate Google Ads image assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/generate-images","href":"/api-reference/generate-google-ads-image-assets"},{"title":"Upload a Google Ads video","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/upload-video","href":"/api-reference/upload-a-google-ads-video"},{"title":"Poll a Google Ads video upload","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/upload-video/poll","href":"/api-reference/poll-a-google-ads-video-upload"},{"title":"Accept a generated Google Ads asset","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/assets/{session_asset_id}/accept","href":"/api-reference/accept-a-generated-google-ads-asset"},{"title":"Regenerate Google Ads asset group creative","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/asset-groups/{asset_group_id}/regenerate-assets","href":"/api-reference/regenerate-google-ads-asset-group-creative"}]},{"group":"Launch","pages":[{"title":"Get Google Ads launch readiness","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/launch-readiness","href":"/api-reference/get-google-ads-launch-readiness"},{"title":"Get Google Ads campaign launch draft","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/campaign-launch-drafts/{draft_id}","href":"/api-reference/get-google-ads-campaign-launch-draft"},{"title":"Launch Google Ads campaign","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/launch","href":"/api-reference/launch-google-ads-campaign"}]},{"group":"Reporting","pages":[{"title":"Get Google Ads performance dashboard","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/dashboard","href":"/api-reference/get-google-ads-performance-dashboard"},{"title":"Get Google Ads metric trend","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/trend","href":"/api-reference/get-google-ads-metric-trend"},{"title":"List Google Ads insights","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/insights","href":"/api-reference/list-google-ads-insights"},{"title":"Dismiss Google Ads insight","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/analytics/insights/dismiss","href":"/api-reference/dismiss-google-ads-insight"},{"title":"List Google Ads search terms","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/search-terms","href":"/api-reference/list-google-ads-search-terms"},{"title":"List Google Ads asset performance","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/asset-performance","href":"/api-reference/list-google-ads-asset-performance"},{"title":"List Google Ads top asset combinations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/analytics/asset-group-top-combinations","href":"/api-reference/list-google-ads-top-asset-combinations"}]},{"group":"Conversions","pages":[{"title":"Scan Google Ads conversion tracking","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/tracking-scan","href":"/api-reference/scan-google-ads-conversion-tracking"},{"title":"Build Google Ads tracking fix prompt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/tracking-scan/build-bootstrap-prompt","href":"/api-reference/build-google-ads-tracking-fix-prompt"},{"title":"Get Google Ads tracking script","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/tracking-script","href":"/api-reference/get-google-ads-tracking-script"},{"title":"List Google Ads conversion actions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/conversion-actions","href":"/api-reference/list-google-ads-conversion-actions"},{"title":"List Google Ads conversion mappings","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/conversion-mappings","href":"/api-reference/list-google-ads-conversion-mappings"},{"title":"Create Google Ads conversion mapping","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/conversion-mappings","href":"/api-reference/create-google-ads-conversion-mapping"},{"title":"Update Google Ads conversion mapping","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/apps/{app_id}/google-ads/conversion-mappings/{mapping_id}","href":"/api-reference/update-google-ads-conversion-mapping"},{"title":"Delete Google Ads conversion mapping","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/google-ads/conversion-mappings/{mapping_id}","href":"/api-reference/delete-google-ads-conversion-mapping"},{"title":"Upload Google Ads conversions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/conversions/upload","href":"/api-reference/upload-google-ads-conversions"},{"title":"Upload enhanced Google Ads conversions","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/conversions/upload-enhanced","href":"/api-reference/upload-enhanced-google-ads-conversions"},{"title":"Get Google Ads conversion stats","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/conversions/stats","href":"/api-reference/get-google-ads-conversion-stats"}]},{"group":"Billing","pages":[{"title":"Get Google Ads billing status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/billing/status","href":"/api-reference/get-google-ads-billing-status"},{"title":"Create Google Ads payment setup","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/billing/payment-setup","href":"/api-reference/create-google-ads-payment-setup"},{"title":"Create embedded Google Ads payment setup","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/billing/payment-setup-embedded","href":"/api-reference/create-embedded-google-ads-payment-setup"},{"title":"List Google Ads invoices","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/billing/invoices","href":"/api-reference/list-google-ads-invoices"},{"title":"List Google Ads promotional credits","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/billing/credits","href":"/api-reference/list-google-ads-promotional-credits"},{"title":"List Google Ads incentives","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/incentives","href":"/api-reference/list-google-ads-incentives"},{"title":"Apply a Google Ads incentive","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/accounts/{account_id}/incentives/apply","href":"/api-reference/apply-a-google-ads-incentive"},{"title":"Get Google Ads account debt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/accounts/{account_id}/billing/debt","href":"/api-reference/get-google-ads-account-debt"},{"title":"Get Google Ads workspace debt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/billing/workspace-debt","href":"/api-reference/get-google-ads-workspace-debt"},{"title":"Pay Google Ads workspace debt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/billing/workspace-pay-now","href":"/api-reference/pay-google-ads-workspace-debt"}]},{"group":"Suggestions and lookups","pages":[{"title":"Search Google Ads locations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/geo-targets/search","href":"/api-reference/search-google-ads-locations"},{"title":"List Google Ads advertising languages","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/languages","href":"/api-reference/list-google-ads-advertising-languages"},{"title":"Suggest Google Ads setup targeting","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/setup-suggestions","href":"/api-reference/suggest-google-ads-setup-targeting"},{"title":"Suggest Google Ads setup keyword themes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/setup-suggestions/keyword-themes","href":"/api-reference/suggest-google-ads-setup-keyword-themes"},{"title":"Regenerate a Google Ads setup keyword theme","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/setup-suggestions/regenerate-keyword","href":"/api-reference/regenerate-a-google-ads-setup-keyword-theme"},{"title":"Autocomplete Google Ads keyword themes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/suggestions/keyword-themes","href":"/api-reference/autocomplete-google-ads-keyword-themes"},{"title":"Suggest Google Ads search themes","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/suggestions/search-themes","href":"/api-reference/suggest-google-ads-search-themes"},{"title":"Suggest Google Ads text assets","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/suggestions/text-assets","href":"/api-reference/suggest-google-ads-text-assets"},{"title":"Generate Google Ads ad copy","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/ai/generate-copy","href":"/api-reference/generate-google-ads-ad-copy"},{"title":"Enhance a Google Ads image prompt","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/suggestions/enhance-prompt","href":"/api-reference/enhance-a-google-ads-image-prompt"},{"title":"Get a Google Ads hero preview","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/apps/{app_id}/google-ads/ai/hero-preview","href":"/api-reference/get-a-google-ads-hero-preview"},{"title":"Ask the Google Ads assistant","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/google-ads/troubleshoot/ask","href":"/api-reference/ask-the-google-ads-assistant"}]}]},{"group":"Embed Tokens","icon":"key","pages":[{"title":"Create an embed sign-in token","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/apps/{app_id}/embed-url","href":"/api-reference/create-an-embed-sign-in-token"}]},{"group":"Socket sessions","icon":"tower-broadcast","pages":[{"title":"Socket sessions","description":"Open, change, and end the sessions a white-label builder's browser uses to receive live updates","sidebarTitle":"Overview","href":"/developers/references/apps-api/sections/socket-sessions"},{"title":"Socket messages","sidebarTitle":"Socket messages","href":"/developers/references/apps-api/sections/socket-messages"},{"title":"Create socket session","description":"\u003cInfo>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.\u003c/Info>\n\nOpens a live-updates session for specific apps, and returns the token the builder's browser connects with. Call it from your server each time a page opens. Authenticate with a workspace API key that has the **Watch app builder updates** permission, or with a personal access token. A read-only personal access token works too.\n\nAvailable only to white-label workspaces on the Builder plan or higher, with live AI chat updates turned on. Ask your onboarding contact to turn them on for your workspace.\n\nEvery app in `app_ids` must be one the credential can watch, or no session opens. A key watches the apps it's granted. A personal access token watches the apps in its workspace that its owner can edit, limited to its selected apps when it has them. A session watches up to 8 apps for 60 minutes and is never extended, so open a new one rather than reusing a token. Return `session_token`, `socket_url`, and `socket_path` to the browser, and keep `session_id` on your server to change or end the session later.\n\nA key or token holds up to 5,000 live sessions at once. Send an `Idempotency-Key` header so a retry after a lost response doesn't open a second session. Session calls are limited to 600 requests a minute per workspace. Some workspaces have a different limit. Every request that counts against the limit gets `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix time in seconds) headers, and a `429` also gets `Retry-After` in seconds.","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/v1/socket-sessions","href":"/api-reference/create-socket-session"},{"title":"Add app to session","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/v1/socket-sessions/{session_id}/apps/{app_id}","href":"/api-reference/add-app-to-session"},{"title":"Remove app from session","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/v1/socket-sessions/{session_id}/apps/{app_id}","href":"/api-reference/remove-app-from-session"},{"title":"End socket session","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/v1/socket-sessions/{session_id}","href":"/api-reference/end-socket-session"}]}]},{"group":"Workspace API (Beta)","boost":0.75,"icon":"building","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Workspace API Overview","sidebarTitle":"Overview","href":"/developers/references/workspace-api/get-started/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/workspace-api/get-started/authentication"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"group":"Members","pages":[{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/members/list","href":"/api-reference/list-workspace-members"},{"title":"Update workspace member role","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/members/{email}/role","href":"/api-reference/update-workspace-member-role"},{"title":"Update workspace member roles in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/members/bulk/role","href":"/api-reference/update-workspace-member-roles-in-bulk"},{"title":"Remove workspace member","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/members/{email}","href":"/api-reference/remove-workspace-member"},{"title":"Remove workspace members in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/members/bulk/remove","href":"/api-reference/remove-workspace-members-in-bulk"}]},{"group":"Groups","pages":[{"title":"List workspace groups","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/groups","href":"/api-reference/list-workspace-groups"},{"title":"Create workspace group","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/groups","href":"/api-reference/create-workspace-group"},{"title":"Update workspace group","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/groups/{group_id}","href":"/api-reference/update-workspace-group"},{"title":"Delete workspace group","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/groups/{group_id}","href":"/api-reference/delete-workspace-group"},{"title":"List group members","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/groups/{group_id}/members","href":"/api-reference/list-group-members"},{"title":"Add group members","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/groups/{group_id}/members","href":"/api-reference/add-group-members"},{"title":"Remove group members","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/groups/{group_id}/members/remove","href":"/api-reference/remove-group-members"}]},{"group":"Invitations","pages":[{"title":"Invite workspace member","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/invitations/invite","href":"/api-reference/invite-workspace-member"},{"title":"Invite workspace members in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/invitations/bulk-invite","href":"/api-reference/invite-workspace-members-in-bulk"},{"title":"Resend workspace invitation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/invitations/resend","href":"/api-reference/resend-workspace-invitation"},{"title":"Resend workspace invitations in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/invitations/bulk-resend","href":"/api-reference/resend-workspace-invitations-in-bulk"}]},{"group":"Credit limits","pages":[{"title":"Set default member credit limit","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/default-credit-limit","href":"/api-reference/set-default-member-credit-limit"},{"title":"Set member credit limit","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/members/{email}/credit-limit","href":"/api-reference/set-member-credit-limit"},{"title":"Set member credit limits in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/members/bulk/credit-limit","href":"/api-reference/set-member-credit-limits-in-bulk"}]},{"group":"App folders","pages":[{"title":"List app folders","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/app-folders/tree","href":"/api-reference/list-app-folders"},{"title":"Create app folder","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/app-folders","href":"/api-reference/create-app-folder"},{"title":"Update app folder","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/app-folders/{item_id}","href":"/api-reference/update-app-folder"},{"title":"Delete app folder","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/app-folders/{item_id}","href":"/api-reference/delete-app-folder"},{"title":"Add apps to folder","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/app-folders/{folder_id}/items","href":"/api-reference/add-apps-to-folder"},{"title":"Remove app from folder","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/app-folders/{folder_id}/items/{app_id}","href":"/api-reference/remove-app-from-folder"}]},{"group":"Fonts","pages":[{"title":"List workspace fonts","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/fonts","href":"/api-reference/list-workspace-fonts"},{"title":"Upload workspace font","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/fonts","href":"/api-reference/upload-workspace-font"},{"title":"Get workspace font","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/fonts/{font_id}","href":"/api-reference/get-workspace-font"},{"title":"Delete workspace font","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/fonts/{font_id}","href":"/api-reference/delete-workspace-font"}]},{"group":"Connectors","pages":[{"title":"List workspace connectors","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/{workspace_id}/connectors","href":"/api-reference/list-workspace-connectors"},{"title":"Create workspace connector","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/{workspace_id}/connectors","href":"/api-reference/create-workspace-connector"},{"title":"Update workspace connector","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/connectors/{connector_id}","href":"/api-reference/update-workspace-connector"},{"title":"Delete workspace connector","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/{workspace_id}/connectors/{connector_id}","href":"/api-reference/delete-workspace-connector"}]},{"group":"Connector governance","pages":[{"title":"Get workspace connector policies","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/{workspace_id}/connector-governance","href":"/api-reference/get-workspace-connector-policies"},{"title":"Update builder connection policy","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/connector-governance/{integration_type}/builder-connection","href":"/api-reference/update-builder-connection-policy"},{"title":"Update per-user connection policy","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/connector-governance/{integration_type}/per-user-connection","href":"/api-reference/update-per-user-connection-policy"},{"title":"Update workspace connector policies in bulk","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/connector-governance/bulk","href":"/api-reference/update-workspace-connector-policies-in-bulk"}]},{"group":"Brands","pages":[{"title":"List workspace brands","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/{workspace_id}/brands","href":"/api-reference/list-workspace-brands"},{"title":"Create workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/{workspace_id}/brands","href":"/api-reference/create-workspace-brand"},{"title":"Generate workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/{workspace_id}/brands/generate","href":"/api-reference/generate-workspace-brand"},{"title":"Get workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/{workspace_id}/brands/{brand_id}","href":"/api-reference/get-workspace-brand"},{"title":"Update workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/brands/{brand_id}","href":"/api-reference/update-workspace-brand"},{"title":"Delete workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/{workspace_id}/brands/{brand_id}","href":"/api-reference/delete-workspace-brand"},{"title":"Set default workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/{workspace_id}/brands/{brand_id}/default","href":"/api-reference/set-default-workspace-brand"},{"title":"Clear default workspace brand","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/{workspace_id}/brands/{brand_id}/default","href":"/api-reference/clear-default-workspace-brand"}]},{"group":"White label","pages":[{"title":"Get workspace white label","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/{workspace_id}/white-label","href":"/api-reference/get-workspace-white-label"},{"title":"Update workspace white label","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/workspace/{workspace_id}/white-label","href":"/api-reference/update-workspace-white-label"}]},{"group":"Skills","pages":[{"title":"List workspace skills","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/skills","href":"/api-reference/list-workspace-skills"},{"title":"Get workspace skill","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/workspace/skills/{skill_id}","href":"/api-reference/get-workspace-skill"},{"title":"Create workspace skill","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/workspace/skills","href":"/api-reference/create-workspace-skill"},{"title":"Update workspace skill","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json put /api/workspace/skills/{skill_id}","href":"/api-reference/update-workspace-skill"},{"title":"Delete workspace skill","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/workspace/skills/{skill_id}","href":"/api-reference/delete-workspace-skill"}]},{"group":"Billing","pages":[{"title":"List plans","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/tiers","href":"/api-reference/list-plans"},{"title":"Get billing info","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/billing-info","href":"/api-reference/get-billing-info"},{"title":"Get mobile subscription status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/mobile/subscription-status","href":"/api-reference/get-mobile-subscription-status"},{"title":"Create billing portal session","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/create-portal-session","href":"/api-reference/create-billing-portal-session"},{"title":"Create payment method update session","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/create-update-payment-method-portal-session","href":"/api-reference/create-payment-method-update-session"},{"title":"Open invoice","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/open-invoice/{invoice_id}","href":"/api-reference/open-invoice"},{"title":"Retry failed payment","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/retry-payment","href":"/api-reference/retry-failed-payment"},{"title":"Preview plan change","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/preview-upgrade/{price_id}","href":"/api-reference/preview-plan-change"},{"title":"Create plan checkout","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/create-checkout-session/{price_id}","href":"/api-reference/create-plan-checkout"},{"title":"Change plan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/update-subscription/{price_id}","href":"/api-reference/change-plan"},{"title":"Preview Wix plan change","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/dynamic-offering/preview-subscription","href":"/api-reference/preview-wix-plan-change"},{"title":"Change Wix plan","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/dynamic-offering/update-subscription","href":"/api-reference/change-wix-plan"},{"title":"Turn on auto-renew","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/wix-turn-auto-renew-on","href":"/api-reference/turn-on-auto-renew"},{"title":"Get cancellation impact","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/cancel-subscription/impact","href":"/api-reference/get-cancellation-impact"},{"title":"Preview ILS refund","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/ils-refund-preview","href":"/api-reference/preview-ils-refund"},{"title":"Cancel subscription","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/cancel-subscription","href":"/api-reference/cancel-subscription"},{"title":"Reactivate subscription","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/reactivate-subscription","href":"/api-reference/reactivate-subscription"},{"title":"Cancel scheduled plan change","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/billing/cancel-schedule","href":"/api-reference/cancel-scheduled-plan-change"},{"title":"Refresh Google Play subscription","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/mobile/google-play/refresh","href":"/api-reference/refresh-google-play-subscription"}]},{"group":"Business email","pages":[{"title":"Get business email status","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/business-email/status","href":"/api-reference/get-business-email-status"},{"title":"Get business email discount","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/business-email/discount","href":"/api-reference/get-business-email-discount"},{"title":"Get business email purchase link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/business-email/purchase-url","href":"/api-reference/get-business-email-purchase-link"},{"title":"Get business email setup link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/business-email/setup-url","href":"/api-reference/get-business-email-setup-link"},{"title":"Get business email management link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/billing/business-email/manage-url","href":"/api-reference/get-business-email-management-link"},{"title":"Get business email admin console link","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/billing/business-email/admin-console-url","href":"/api-reference/get-business-email-admin-console-link"}]}]}]},{"group":"Superagents API (Beta)","boost":0.75,"icon":"user-robot","pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Superagents API Overview","sidebarTitle":"Overview","href":"/developers/references/superagents-api/get-started/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/superagents-api/get-started/authentication"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"title":"Create Superagent","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/agents","href":"/api-reference/create-superagent"},{"title":"List Superagent conversations","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/agents/{agent_id}/conversations","href":"/api-reference/list-superagent-conversations"},{"title":"Create Superagent conversation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/agents/{agent_id}/conversations","href":"/api-reference/create-superagent-conversation"},{"title":"Get Superagent conversation","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/agents/{agent_id}/conversations/{conversation_id}","href":"/api-reference/get-superagent-conversation"},{"title":"Send Superagent message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/agents/{agent_id}/conversations/{conversation_id}/messages","href":"/api-reference/send-superagent-message"},{"title":"Delete Superagent message","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/agents/{agent_id}/conversations/{conversation_id}/messages/{message_id}","href":"/api-reference/delete-superagent-message"},{"title":"List Superagent memories","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/agents/{agent_id}/memory","href":"/api-reference/list-superagent-memories"},{"title":"Delete Superagent memory","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/agents/{agent_id}/memory/{memory_id}","href":"/api-reference/delete-superagent-memory"},{"title":"List Superagent webhooks","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json get /api/agents/{agent_id}/webhooks","href":"/api-reference/list-superagent-webhooks"},{"title":"Create Superagent webhook","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/agents/{agent_id}/webhooks","href":"/api-reference/create-superagent-webhook"},{"title":"Update Superagent webhook","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json patch /api/agents/{agent_id}/webhooks/{webhook_id}","href":"/api-reference/update-superagent-webhook"},{"title":"Test Superagent webhook","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json post /api/agents/{agent_id}/webhooks/{webhook_id}/test","href":"/api-reference/test-superagent-webhook"},{"title":"Delete Superagent webhook","deprecated":null,"version":null,"openapi":"/developers/references/app-management/app-management-openapi.json delete /api/agents/{agent_id}/webhooks/{webhook_id}","href":"/api-reference/delete-superagent-webhook"}]}]},{"group":"Monitoring API","icon":"chart-line","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Enterprise Monitoring API Overview","href":"/developers/references/monitoring-api/get-started/overview"},{"title":"Authentication","href":"/developers/references/monitoring-api/get-started/authentication"},{"title":"Rate Limits","href":"/developers/references/monitoring-api/get-started/rate-limits"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"group":"system","pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /health","href":"/api-reference/monitoring/system/health-check"}]},{"group":"analytics","pages":[{"title":"Get analytics","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /analytics/{workspace_id}","href":"/api-reference/monitoring/analytics/get-analytics"}]},{"group":"users","pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/users","href":"/api-reference/monitoring/users/list-users"},{"title":"Get user","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/users/{user_id}","href":"/api-reference/monitoring/users/get-user"},{"title":"List user apps","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/users/{user_id}/apps","href":"/api-reference/monitoring/users/list-user-apps"},{"title":"List user Superagents","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/users/{user_id}/superagents","href":"/api-reference/monitoring/users/list-user-superagents"}]},{"group":"apps","pages":[{"title":"List app metrics","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/apps","href":"/api-reference/monitoring/apps/list-app-metrics"},{"title":"Get app analytics","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/apps/{app_id}/analytics","href":"/api-reference/monitoring/apps/get-app-analytics"}]},{"group":"superagents","pages":[{"title":"List Superagents","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/superagents","href":"/api-reference/monitoring/superagents/list-superagents"},{"title":"Get Superagent analytics","deprecated":null,"version":null,"openapi":"/developers/references/monitoring-api/monitoring-openapi.json get /{workspace_id}/superagents/{agent_id}/analytics","href":"/api-reference/monitoring/superagents/get-superagent-analytics"}]}]}]},{"group":"Audit Logs API","icon":"clipboard-list","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Audit Logs API Overview","href":"/developers/references/audit-logs-api/get-started/overview"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/audit-logs-api/get-started/authentication"},{"title":"Rate Limits","href":"/developers/references/audit-logs-api/get-started/rate-limits"},{"title":"Event Types","sidebarTitle":"Event Types","href":"/developers/references/audit-logs-api/get-started/event-types"},{"title":"Security scan findings","sidebarTitle":"Security scan findings","href":"/developers/references/audit-logs-api/get-started/security-scan-findings"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"group":"audit-logs","pages":[{"title":"Get security scan findings","deprecated":null,"version":null,"openapi":"/developers/references/audit-logs-api/audit-logs-openapi.json get /{workspace_id}/security-scan-runs/{run_id}","href":"/api-reference/audit-logs/get-security-scan-findings"},{"title":"List audit logs","deprecated":null,"version":null,"openapi":"/developers/references/audit-logs-api/audit-logs-openapi.json post /{workspace_id}/list","href":"/api-reference/audit-logs/list-audit-logs"}]}]}]},{"group":"Compliance API","boost":0.75,"icon":"shield-check","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Compliance API for security partners","sidebarTitle":"Overview","href":"/developers/references/compliance-api/get-started/overview"},{"title":"Register as a partner","sidebarTitle":"Register as a partner","href":"/developers/references/compliance-api/get-started/register-as-a-partner"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/compliance-api/get-started/authentication"},{"title":"Rate limits","href":"/developers/references/compliance-api/get-started/rate-limits"},{"title":"Error codes","sidebarTitle":"Error codes","href":"/developers/references/compliance-api/get-started/error-codes"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"title":"Get workspace configuration","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}","href":"/api-reference/compliance/get-workspace-configuration"},{"title":"List agents","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/agents","href":"/api-reference/compliance/list-agents"},{"title":"List apps","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/apps","href":"/api-reference/compliance/list-apps"},{"title":"List backend functions","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/functions","href":"/api-reference/compliance/list-backend-functions"},{"title":"List domains","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/domains","href":"/api-reference/compliance/list-domains"},{"title":"List entities","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/entities","href":"/api-reference/compliance/list-entities"},{"title":"List integrations","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/integrations","href":"/api-reference/compliance/list-integrations"},{"title":"List secrets","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/secrets","href":"/api-reference/compliance/list-secrets"},{"title":"List security findings","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/security-findings","href":"/api-reference/compliance/list-security-findings"},{"title":"List workspace API keys","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/api-keys","href":"/api-reference/compliance/list-workspace-api-keys"},{"title":"List workspace members","deprecated":null,"version":null,"openapi":"/developers/references/compliance-api/compliance-openapi.json get /{workspace_id}/members","href":"/api-reference/compliance/list-workspace-members"}]}]},{"group":"Outbound webhooks","icon":"paper-plane","expanded":false,"pages":[{"group":"Get Started","icon":"book-open","pages":[{"title":"Outbound webhooks overview","sidebarTitle":"Overview","href":"/developers/references/outbound-webhooks/get-started/overview"},{"title":"Setting up endpoints","sidebarTitle":"Setting up endpoints","href":"/developers/references/outbound-webhooks/get-started/setting-up-endpoints"},{"title":"Verifying requests","sidebarTitle":"Verifying requests","href":"/developers/references/outbound-webhooks/get-started/verifying-requests"},{"title":"Event types","sidebarTitle":"Event types","href":"/developers/references/outbound-webhooks/get-started/event-types"},{"title":"Delivery and retries","sidebarTitle":"Delivery and retries","href":"/developers/references/outbound-webhooks/get-started/delivery-and-retries"}]},{"group":"Events","boost":0.5,"icon":"bolt","pages":[{"title":"app.created.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.created.v1","href":"/developers/references/outbound-webhooks/events/app-created-v1"},{"title":"app.published.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.published.v1","href":"/developers/references/outbound-webhooks/events/app-published-v1"},{"title":"app.unpublished.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.unpublished.v1","href":"/developers/references/outbound-webhooks/events/app-unpublished-v1"},{"title":"app.deleted.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.deleted.v1","href":"/developers/references/outbound-webhooks/events/app-deleted-v1"},{"title":"app.restored.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.restored.v1","href":"/developers/references/outbound-webhooks/events/app-restored-v1"},{"title":"chat.turn_started.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook chat.turn_started.v1","href":"/developers/references/outbound-webhooks/events/chat-turn-started-v1"},{"title":"chat.turn_ended.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook chat.turn_ended.v1","href":"/developers/references/outbound-webhooks/events/chat-turn-ended-v1"},{"title":"webhook.test.v1","openapi":"developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook webhook.test.v1","href":"/developers/references/outbound-webhooks/events/webhook-test-v1"}]},{"group":"API Reference","icon":"brackets-curly","pages":[{"group":"outbound-webhooks","pages":[{"title":"List endpoints","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json get /endpoints","href":"/api-reference/outbound-webhooks/list-endpoints"},{"title":"Register an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json post /endpoints","href":"/api-reference/outbound-webhooks/register-an-endpoint"},{"title":"Get an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json get /endpoints/{endpoint_id}","href":"/api-reference/outbound-webhooks/get-an-endpoint"},{"title":"Delete an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json delete /endpoints/{endpoint_id}","href":"/api-reference/outbound-webhooks/delete-an-endpoint"},{"title":"Update an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json patch /endpoints/{endpoint_id}","href":"/api-reference/outbound-webhooks/update-an-endpoint"},{"title":"Test an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json post /endpoints/{endpoint_id}/test","href":"/api-reference/outbound-webhooks/test-an-endpoint"},{"title":"Pause an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json post /endpoints/{endpoint_id}/pause","href":"/api-reference/outbound-webhooks/pause-an-endpoint"},{"title":"Resume an endpoint","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json post /endpoints/{endpoint_id}/resume","href":"/api-reference/outbound-webhooks/resume-an-endpoint"},{"title":"Get the public key set","deprecated":null,"version":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json get /workspaces/{workspace_id}/keys","href":"/api-reference/outbound-webhooks/get-the-public-key-set"}]},{"group":"events","pages":[{"title":"An app was created","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.created.v1","href":"/api-reference/events/an-app-was-created"},{"title":"An app version was published","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.published.v1","href":"/api-reference/events/an-app-version-was-published"},{"title":"An app was taken offline","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.unpublished.v1","href":"/api-reference/events/an-app-was-taken-offline"},{"title":"An app was moved to trash restorable not erased","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.deleted.v1","href":"/api-reference/events/an-app-was-moved-to-trash-restorable-not-erased"},{"title":"An app was restored from trash","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook app.restored.v1","href":"/api-reference/events/an-app-was-restored-from-trash"},{"title":"The ai started working on a message","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook chat.turn_started.v1","href":"/api-reference/events/the-ai-started-working-on-a-message"},{"title":"The ai finished responding to a message","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook chat.turn_ended.v1","href":"/api-reference/events/the-ai-finished-responding-to-a-message"},{"title":"Endpoint activation test","version":null,"deprecated":null,"openapi":"/developers/references/outbound-webhooks/outbound-webhooks-openapi.json webhook webhook.test.v1","href":"/api-reference/events/endpoint-activation-test"}]}]}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"White label (Beta)","icon":"tag","groups":[{"group":"Start here","icon":"flag","pages":[{"title":"White Label Overview","sidebarTitle":"Overview","href":"/developers/white-label/overview"},{"title":"Setup checklist","sidebarTitle":"Setup checklist","href":"/developers/white-label/setup-checklist"},{"title":"Tenancy and credentials","sidebarTitle":"Tenancy and credentials","href":"/developers/white-label/tenancy-and-credentials"}]},{"group":"Configure","icon":"gear","pages":[{"title":"Set your brand","sidebarTitle":"Brand","href":"/developers/white-label/brand"},{"title":"Configuring your system prompt","sidebarTitle":"System prompt","href":"/developers/white-label/system-prompt"},{"title":"Skills and MCP","sidebarTitle":"Skills and MCP","href":"/developers/white-label/skills-and-mcp"},{"title":"Custom instructions","sidebarTitle":"Custom instructions","href":"/developers/white-label/custom-instructions"}]},{"group":"Build an app","icon":"hammer","pages":[{"title":"The build turn","sidebarTitle":"The build turn","href":"/developers/white-label/the-build-turn"},{"title":"Design the chat","sidebarTitle":"Design the chat","href":"/developers/white-label/design-the-chat"},{"title":"Live updates","sidebarTitle":"Live updates","href":"/developers/white-label/live-updates"},{"title":"Embed the app","sidebarTitle":"Embed the app","href":"/developers/white-label/embed-the-app"},{"title":"Common APIs","sidebarTitle":"Common APIs","href":"/developers/white-label/common-apis"}]},{"group":"Help","icon":"circle-question","pages":[{"title":"White label FAQs","sidebarTitle":"FAQs","href":"/developers/white-label/faqs"}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"Skills","icon":"wand-magic-sparkles","hidden":true,"groups":[{"group":"base44-cli","boost":0.3,"hidden":true,"pages":[{"title":"Base44 CLI","href":"/developers/skills/base44-cli/index"},{"title":"Creating Actors","href":"/developers/skills/base44-cli/references/actors-create"},{"title":"base44 actors deploy","href":"/developers/skills/base44-cli/references/actors-deploy"},{"title":"base44 agent-skills pull","href":"/developers/skills/base44-cli/references/agent-skills-pull"},{"title":"base44 agent-skills push","href":"/developers/skills/base44-cli/references/agent-skills-push"},{"title":"base44 agents pull","href":"/developers/skills/base44-cli/references/agents-pull"},{"title":"base44 agents push","href":"/developers/skills/base44-cli/references/agents-push"},{"title":"base44 api catalog","href":"/developers/skills/base44-cli/references/api-catalog"},{"title":"base44 api fetch","href":"/developers/skills/base44-cli/references/api-fetch"},{"title":"base44 api grep","href":"/developers/skills/base44-cli/references/api-grep"},{"title":"base44 api search","href":"/developers/skills/base44-cli/references/api-search"},{"title":"base44 login","href":"/developers/skills/base44-cli/references/auth-login"},{"title":"base44 logout","href":"/developers/skills/base44-cli/references/auth-logout"},{"title":"base44 auth password-login","href":"/developers/skills/base44-cli/references/auth-password-login"},{"title":"base44 auth pull","href":"/developers/skills/base44-cli/references/auth-pull"},{"title":"base44 auth push","href":"/developers/skills/base44-cli/references/auth-push"},{"title":"base44 auth social-login","href":"/developers/skills/base44-cli/references/auth-social-login"},{"title":"base44 auth sso","href":"/developers/skills/base44-cli/references/auth-sso"},{"title":"base44 whoami","href":"/developers/skills/base44-cli/references/auth-whoami"},{"title":"Creating Connectors","href":"/developers/skills/base44-cli/references/connectors-create"},{"title":"base44 connectors initiate","href":"/developers/skills/base44-cli/references/connectors-initiate"},{"title":"base44 connectors list-available","href":"/developers/skills/base44-cli/references/connectors-list-available"},{"title":"base44 connectors pull","href":"/developers/skills/base44-cli/references/connectors-pull"},{"title":"base44 connectors push","href":"/developers/skills/base44-cli/references/connectors-push"},{"title":"base44 create","href":"/developers/skills/base44-cli/references/create"},{"title":"base44 dashboard open","href":"/developers/skills/base44-cli/references/dashboard"},{"title":"base44 deploy","href":"/developers/skills/base44-cli/references/deploy"},{"title":"base44 dev","href":"/developers/skills/base44-cli/references/dev"},{"title":"base44 eject","href":"/developers/skills/base44-cli/references/eject"},{"title":"Creating Entities","href":"/developers/skills/base44-cli/references/entities-create"},{"title":"base44 entities push","href":"/developers/skills/base44-cli/references/entities-push"},{"title":"base44 exec","href":"/developers/skills/base44-cli/references/exec"},{"title":"Creating Functions","href":"/developers/skills/base44-cli/references/functions-create"},{"title":"base44 functions delete","href":"/developers/skills/base44-cli/references/functions-delete"},{"title":"base44 functions deploy","href":"/developers/skills/base44-cli/references/functions-deploy"},{"title":"base44 functions list","href":"/developers/skills/base44-cli/references/functions-list"},{"title":"base44 functions pull","href":"/developers/skills/base44-cli/references/functions-pull"},{"title":"base44 link","href":"/developers/skills/base44-cli/references/link"},{"title":"RLS Examples","href":"/developers/skills/base44-cli/references/rls-examples"},{"title":"base44 scaffold","href":"/developers/skills/base44-cli/references/scaffold"},{"title":"base44 secrets delete","href":"/developers/skills/base44-cli/references/secrets-delete"},{"title":"base44 secrets list","href":"/developers/skills/base44-cli/references/secrets-list"},{"title":"base44 secrets set","href":"/developers/skills/base44-cli/references/secrets-set"},{"title":"base44 site deploy","href":"/developers/skills/base44-cli/references/site-deploy"},{"title":"base44 site open","href":"/developers/skills/base44-cli/references/site-open"},{"title":"`base44 types generate`","href":"/developers/skills/base44-cli/references/types-generate"},{"title":"base44 visibility","href":"/developers/skills/base44-cli/references/visibility"},{"title":"base44 workflows list","href":"/developers/skills/base44-cli/references/workflows-list"},{"title":"base44 workflows runs","href":"/developers/skills/base44-cli/references/workflows-runs"},{"title":"base44 workspace get","href":"/developers/skills/base44-cli/references/workspace-get"},{"title":"base44 workspace list","href":"/developers/skills/base44-cli/references/workspace-list"},{"title":"base44 workspace move","href":"/developers/skills/base44-cli/references/workspace-move"}]},{"group":"base44-platform-actors","boost":0.3,"hidden":true,"pages":[{"title":"Base44 actors","href":"/developers/skills/base44-platform-actors/index"},{"title":"Base44 actors: Realtime actors (mobile apps)","href":"/developers/skills/base44-platform-actors/references/mobile"},{"title":"Base44 actors: Realtime actors (web apps)","href":"/developers/skills/base44-platform-actors/references/web"}]},{"group":"base44-platform-agents","boost":0.3,"hidden":true,"pages":[{"title":"Base44 agents","href":"/developers/skills/base44-platform-agents/index"},{"title":"Base44 agents: Agents (Vite SPA: tools are backend functions)","href":"/developers/skills/base44-platform-agents/references/web-spa"},{"title":"Base44 agents: Agents (TanStack Start: tools are server routes)","href":"/developers/skills/base44-platform-agents/references/web-tanstack"}]},{"group":"base44-platform-backend-functions","boost":0.3,"hidden":true,"pages":[{"title":"Base44 backend functions","href":"/developers/skills/base44-platform-backend-functions/index"},{"title":"Base44 backend functions: Backend functions (mobile apps)","href":"/developers/skills/base44-platform-backend-functions/references/mobile"},{"title":"Base44 backend functions: Backend functions (Vite SPA)","href":"/developers/skills/base44-platform-backend-functions/references/web-spa"},{"title":"Base44 backend functions: Server functions and server routes (TanStack Start)","href":"/developers/skills/base44-platform-backend-functions/references/web-tanstack"}]},{"group":"base44-platform-connectors","boost":0.3,"hidden":true,"pages":[{"title":"Base44 connectors","href":"/developers/skills/base44-platform-connectors/index"},{"title":"Base44 connectors: App connectors (mobile apps)","href":"/developers/skills/base44-platform-connectors/references/mobile"},{"title":"Base44 connectors: App connectors (Vite SPA)","href":"/developers/skills/base44-platform-connectors/references/web-spa"},{"title":"Base44 connectors: App connectors (TanStack Start)","href":"/developers/skills/base44-platform-connectors/references/web-tanstack"}]},{"group":"base44-platform-entities","boost":0.3,"hidden":true,"pages":[{"title":"Base44 entities","href":"/developers/skills/base44-platform-entities/index"},{"title":"Base44 entities: Entities and the entity SDK (mobile apps)","href":"/developers/skills/base44-platform-entities/references/mobile"},{"title":"Base44 entities: Row-level security (RLS)","href":"/developers/skills/base44-platform-entities/references/rls"},{"title":"Base44 entities: Entities and the entity SDK (web apps)","href":"/developers/skills/base44-platform-entities/references/web"}]},{"group":"base44-platform-frontend","boost":0.3,"hidden":true,"pages":[{"title":"Base44 frontend","href":"/developers/skills/base44-platform-frontend/index"},{"title":"Base44 frontend: Native mobile app (Expo, React Native, NativeWind)","href":"/developers/skills/base44-platform-frontend/references/mobile"},{"title":"Base44 frontend: Web app, Vite SPA","href":"/developers/skills/base44-platform-frontend/references/web-spa"},{"title":"Base44 frontend: Web app, TanStack Start","href":"/developers/skills/base44-platform-frontend/references/web-tanstack"}]},{"group":"base44-platform-integrations-sdk","boost":0.3,"hidden":true,"pages":[{"title":"Base44 integrations sdk","href":"/developers/skills/base44-platform-integrations-sdk/index"},{"title":"Base44 integrations sdk: Integrations SDK (mobile apps)","href":"/developers/skills/base44-platform-integrations-sdk/references/mobile"},{"title":"Base44 integrations sdk: Integrations and analytics SDK (Vite SPA)","href":"/developers/skills/base44-platform-integrations-sdk/references/web-spa"},{"title":"Base44 integrations sdk: Integrations and analytics SDK (TanStack Start)","href":"/developers/skills/base44-platform-integrations-sdk/references/web-tanstack"}]},{"group":"base44-platform-platform","boost":0.3,"hidden":true,"pages":[{"title":"Base44 platform","href":"/developers/skills/base44-platform-platform/index"},{"title":"Base44 platform: Native mobile app (Expo)","href":"/developers/skills/base44-platform-platform/references/mobile"},{"title":"Base44 platform: Web app, Vite SPA","href":"/developers/skills/base44-platform-platform/references/web-spa"},{"title":"Base44 platform: Web app, TanStack Start","href":"/developers/skills/base44-platform-platform/references/web-tanstack"}]},{"group":"base44-platform-workflows","boost":0.3,"hidden":true,"pages":[{"title":"Base44 workflows","href":"/developers/skills/base44-platform-workflows/index"},{"title":"Base44 workflows: Legacy automations (apps that predate workflows)","href":"/developers/skills/base44-platform-workflows/references/automations-legacy"},{"title":"Backend functions","href":"/developers/skills/base44-platform-workflows/references/backend-functions"},{"title":"Base44 workflows: Legacy automations (mobile apps that predate workflows)","href":"/developers/skills/base44-platform-workflows/references/mobile-automations"},{"title":"Web tanstack","href":"/developers/skills/base44-platform-workflows/references/web-tanstack"}]},{"group":"base44-remote-dev","boost":0.3,"hidden":true,"pages":[{"title":"Remotely develop a Base44 app over MCP","href":"/developers/skills/base44-remote-dev/index"}]},{"group":"base44-sandbox","boost":0.3,"hidden":true,"pages":[{"title":"Base44 in the Cloud Sandbox","href":"/developers/skills/base44-sandbox/index"}]},{"group":"base44-sdk","boost":0.3,"hidden":true,"pages":[{"title":"Base44 Coder","href":"/developers/skills/base44-sdk/index"},{"title":"Base44 SDK Quick Reference","href":"/developers/skills/base44-sdk/references/QUICK_REFERENCE"},{"title":"Actors Module","href":"/developers/skills/base44-sdk/references/actors"},{"title":"AI Gateway Module","href":"/developers/skills/base44-sdk/references/ai-gateway"},{"title":"Analytics Module","href":"/developers/skills/base44-sdk/references/analytics"},{"title":"App Logs Module","href":"/developers/skills/base44-sdk/references/app-logs"},{"title":"App Module","href":"/developers/skills/base44-sdk/references/app"},{"title":"Auth Module","href":"/developers/skills/base44-sdk/references/auth"},{"title":"Agents Module","href":"/developers/skills/base44-sdk/references/base44-agents"},{"title":"Browser Module","href":"/developers/skills/base44-sdk/references/browser"},{"title":"Client Setup","href":"/developers/skills/base44-sdk/references/client"},{"title":"Connectors Module","href":"/developers/skills/base44-sdk/references/connectors"},{"title":"Entities Module","href":"/developers/skills/base44-sdk/references/entities"},{"title":"Functions Module","href":"/developers/skills/base44-sdk/references/functions"},{"title":"Integrations Module","href":"/developers/skills/base44-sdk/references/integrations"},{"title":"Payments Module","href":"/developers/skills/base44-sdk/references/payments"},{"title":"SSO Module","href":"/developers/skills/base44-sdk/references/sso"},{"title":"Users Module","href":"/developers/skills/base44-sdk/references/users"},{"title":"Voice Module","href":"/developers/skills/base44-sdk/references/voice"}]},{"group":"base44-troubleshooter","boost":0.3,"hidden":true,"pages":[{"title":"Troubleshoot Production Issues","href":"/developers/skills/base44-troubleshooter/index"},{"title":"base44 logs","href":"/developers/skills/base44-troubleshooter/references/project-logs"}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}},{"dropdown":"Compliance API","icon":"shield-check","hidden":true,"groups":[{"group":"Compliance API","pages":[{"title":"Compliance API for security partners","sidebarTitle":"Overview","href":"/developers/references/compliance-api/get-started/overview"},{"title":"Register as a partner","sidebarTitle":"Register as a partner","href":"/developers/references/compliance-api/get-started/register-as-a-partner"},{"title":"Authentication","sidebarTitle":"Authentication","href":"/developers/references/compliance-api/get-started/authentication"},{"title":"Rate limits","href":"/developers/references/compliance-api/get-started/rate-limits"},{"title":"Error codes","sidebarTitle":"Error codes","href":"/developers/references/compliance-api/get-started/error-codes"}]}],"global":{"anchors":[{"anchor":"Developer Platform","icon":"arrow-left","href":"/developers/home"}]}}]},{"tab":"Account \u0026 Billing","pages":[{"title":"Account \u0026 Billing","href":"/Account-and-billing/Billing-and-plans"}]},{"tab":"Enterprise","pages":[{"title":"Enterprise","href":"/Enterprise/Base44-for-enterprises"}]}]},{"language":"pt-BR","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/pt-BR/changelog/product","label":"Registro de alterações"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"pt-BR","href":"/pt-BR"}]},{"language":"es","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/es/changelog/product","label":"Registro de cambios"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"es","href":"/es"}]},{"language":"he","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/he/changelog/product","label":"יומן שינויים"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"hidden":true,"pages":[{"title":"he","href":"/he/index","hidden":true}]},{"language":"ja","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/ja/changelog/product","label":"変更履歴"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"ja","href":"/ja"}]},{"language":"de","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/de/changelog/product","label":"Änderungsprotokoll"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"de","href":"/de"}]},{"language":"fr","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/fr/changelog/product","label":"Notes de version"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"fr","href":"/fr"}]},{"language":"it","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/it/changelog/product","label":"Registro modifiche"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"it","href":"/it"}]},{"language":"hu","navbar":{"links":[{"href":"https://app.base44.com/support/conversations","label":"Support"},{"href":"/hu/changelog/product","label":"Változásnapló"}],"primary":{"type":"button","label":"Base44","href":"https://base44.com/?utm_source=Mintlify\u0026utm_medium=Main\u0026utm_content=menu"}},"pages":[{"title":"hu","href":"/hu"}]}]},"basePath":"","title":"Socket messages - Base44 Support Documentation","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["2bfc744e19"],"chunks":["NarrationPlayer-bo2wtBX2.js","types-CiTgMxws.js","shallow-r9w8LQGS.js"]}