> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veadk.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent execution

Create a session under the target application and user before submitting a message. `/run` returns an event array after completion; `/run_sse` streams events, requiring the client to handle in-stream errors and read until closure

Calls save session events, and model or tool execution can incur charges or perform external actions. Harness overrides and streaming behavior differ; see [Harness Runtime API](https://docs.veadk.xyz/productions/api-reference/preview/en/harness-runtime/overview.md)

| Method | Path | Endpoint |
| - | - | - |
| POST | `/run_sse` | [Run an agent with SSE](https://docs.veadk.xyz/productions/api-reference/preview/en/agent-api-server/run-sse.md) |
| POST | `/run` | [Run an agent](https://docs.veadk.xyz/productions/api-reference/preview/en/agent-api-server/run.md) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.