---
title: "Create Session"
method: POST
path: "/api/v1/agents/session"
tags: ["Agent Intelligence"]
---

# Create Session

`POST /api/v1/agents/session`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/agents/session`
- Auth: none declared

Create a new agent session for stateful multi-step analysis.

Sessions persist tool call results and carry context (lat/lon)
across calls. Auto-expire after 1 hour of inactivity.

## Query parameters

- `x_api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
