---
title: "Post a message to a new session"
method: POST
path: "/agentspace/sessions"
tags: ["Sessions"]
---

# Post a message to a new session

`POST /agentspace/sessions`

## Request

- Base URL: `https://www.virustotal.com/api/v3`
- URL: `https://www.virustotal.com/api/v3/agentspace/sessions`
- Auth: none required

## Headers

- `x-apikey` string, required

## Request body `multipart/form-data`

- object
  - `message` string, required: The user message to send to the agent.
  - `files` string[]: Optional files to attach to the message as artifacts.

## Response `200`

Chat completed synchronously.

- object

---

[API](https://skmtc.dev/virustotal/apis/agentic.md) - [All operations](https://skmtc.dev/virustotal/apis/agentic/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/agentic/revisions/b923722d5aaf?raw)
