I am running the openhands instance using docker. ...
# questions
b
I am running the openhands instance using docker. Is there a way to look at system prompt, to identify the instructions sent to LLM model. I looked at the API request in browser devtools, but I am looking for more details:
Copy code
[
    {
        "id": "e0f6915569b54593bf382bc7e6219be5",
        "created_by_user_id": null,
        "sandbox_id": "oh-agent-server-5HCYYp1RJBtXo6f7etWoYe",
        "selected_repository": null,
        "selected_branch": null,
        "git_provider": null,
        "title": "Conversation e0f69",
        "trigger": null,
        "pr_number": [],
        "llm_model": "ollama/qwen3-coder-agent",
        "agent_kind": "llm",
        "metrics": {
            "model_name": "default",
            "accumulated_cost": 0.0,
            "max_budget_per_task": null,
            "accumulated_token_usage": {
                "model": "",
                "prompt_tokens": 0,
                "completion_tokens": 0,
                "cache_read_tokens": 0,
                "cache_write_tokens": 0,
                "reasoning_tokens": 0,
                "context_window": 0,
                "per_turn_token": 0,
                "response_id": ""
            }
        },
        "parent_conversation_id": null,
        "sub_conversation_ids": [],
        "public": null,
        "tags": {},
        "created_at": "2026-06-10T18:29:03.506867Z",
        "updated_at": "2026-06-10T18:29:03.506868Z",
        "sandbox_status": "RUNNING",
        "execution_status": "error",
        "conversation_url": "<http://localhost:56703/api/conversations/e0f6915569b54593bf382bc7e6219be5>",
        "session_api_key": "pf9ywukbOu9q1jCCjUKWm85cM1TZC8HKAsRcBIPdb4V"
    }
]
m
Hey @brash-grass-52323 the full system prompt (plus dynamic context and tool schemas) is recoverable at runtime, hit
Copy code
GET /api/conversations/{id}/events/search?kind=SystemPromptEvent
with the
X-Session-API-Key
header and read
items[0].system_prompt.text
. The template that produced it is
openhands-sdk/openhands/sdk/agent/prompts/system_prompt.j2.
c
I think it's also in the UI, somewhere under Agent Tools and Metadata
👍 1