---
title: "Start a new agent session"
method: POST
path: "/agent-session-manager/sessions"
tags: ["Agent Session Manager"]
---

# Start a new agent session

`POST /agent-session-manager/sessions`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/agent-session-manager/sessions`
- Auth: none declared

Starts a new agent session.

## Request body

- object
  - `agentDefinitionId` string: The id of the agent to be executed
  - `inputs` AgentSessionManagerSessionsPostRequestBodyContentApplicationJsonSchemaInputs: Key-value pairs to pass as inputs to the agent session. Must match the agent's input schema.

## Response `200`

result

- AgentSessionManagerStartSessionResponse200
  - `sessionId` string: The session ID assigned by AEE
  - `status` string, required: Current session status
  - `lastMessage` string: Last message from the session

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Agent Session Manager` added
  - api tag `agentSessionManager` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/agent-session-manager/sessions/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
