Skip to main content
POST
Stream App Conversation Start

Authorizations

X-Access-Token
string
header
required

Body

application/json

Start conversation request object.

Although a user can go directly to the sandbox and start conversations, they would need to manually supply required startup parameters such as LLM key. Starting from the app server copies these from the user info.

sandbox_id
string | null
conversation_id
string<uuid> | null
initial_message
SendMessageRequest · object | null

Payload to send a message to the agent.

system_message_suffix
string | null
processors
(BitbucketV1CallbackProcessor · object | GithubV1CallbackProcessor · object | GitlabV1CallbackProcessor · object | JiraV1CallbackProcessor · object | JiraDcV1CallbackProcessor · object | SlackV1CallbackProcessor · object | LoggingCallbackProcessor · object | SetTitleCallbackProcessor · object)[] | null

V1 callback processor for the Bitbucket Cloud resolver.

Posts a summary comment back to the originating PR when the agent finishes successfully. Mirrors :class:GitlabV1CallbackProcessor.

llm_model
string | null
agent_profile_id
string | null
selected_repository
string | null
selected_branch
string | null
git_provider
enum<string> | null
Available options:
github,
gitlab,
bitbucket,
bitbucket_data_center,
forgejo,
azure_devops,
enterprise_sso
suggested_task
SuggestedTask · object | null
title
string | null
trigger
enum<string> | null
Available options:
resolver,
gui,
suggested_task,
openhands_api,
slack,
microagent_management,
jira,
jira_dc,
linear,
bitbucket,
automation
pr_number
integer[]
parent_conversation_id
string<uuid> | null
agent_type
enum<string>
default:default

Agent type for conversation.

Available options:
default,
plan
public
boolean | null
observability_metadata
Observability Metadata · object | null

Trace-level metadata to attach to observability backends. Values must be scalars or homogeneous scalar lists supported by OpenTelemetry.

observability_tags
string[] | null

Tags to attach to the conversation root observability span.

observability_span_name
string | null

Optional named child span to emit under the conversation root. Use stable, low-cardinality names because observability backends may use span names for grouping or signal routing.

plugins
PluginSpec · object[] | null

List of plugins to load for this conversation. Plugins are loaded and their skills/MCP config are merged into the agent.

secrets
Secrets · object | null

Secrets to pass to the conversation. These are merged with any existing secrets (from database or git providers), with API-provided secrets taking precedence (overriding any existing secret with the same name). Keys are secret names (e.g., "MY_API_KEY"), values are the secret values. Warning: Providing a secret that already exists will silently override it.

Response

Successful Response

created_by_user_id
string | null
required
request
AppConversationStartRequest · object
required

Start conversation request object.

Although a user can go directly to the sandbox and start conversations, they would need to manually supply required startup parameters such as LLM key. Starting from the app server copies these from the user info.

id
string
status
enum<string>
default:WORKING
Available options:
WORKING,
WAITING_FOR_SANDBOX,
PREPARING_REPOSITORY,
RUNNING_SETUP_SCRIPT,
SETTING_UP_GIT_HOOKS,
SETTING_UP_SKILLS,
STARTING_CONVERSATION,
READY,
ERROR
detail
string | null
app_conversation_id
string | null

The id of the app_conversation, if READY

sandbox_id
string | null

The id of the sandbox, if READY

agent_server_url
string | null

The agent server url, if READY

created_at
string<date-time>
updated_at
string<date-time>