---
title: "Chat with SuperAgent"
method: POST
path: "/v1/superagents/{agent_id}/chat"
tags: ["SuperAgent Chat"]
---

# Chat with SuperAgent

`POST /v1/superagents/{agent_id}/chat`

## Request

- Base URL: `https://api.gigabrain.gg`
- URL: `https://api.gigabrain.gg/v1/superagents/{agent_id}/chat`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gigabraingg/apis/gigabrain-api/docs/v1/superagents/:agent_id/chat/post.ts> (a function with typed inputs; its response is checked against the schema)

Send a message to a SuperAgent. Supports streaming via SSE. Each chat session is identified by a `session_id`.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- AgentChatRequest
  - `message` string, required: Message to send to the agent
  - `session_id` string: Omit to start a new session
  - `stream` boolean: Set to true for SSE streaming response

## Response `200`

Agent response (non-streaming)

- AgentChatResponse: Non-streaming response. For streaming, set stream: true to receive SSE events.
  - `content` string
  - `session_id` string

## Other responses

- `401`: Invalid or revoked API key
- `404`: Resource not found
- `429`: Rate limit exceeded (60 requests per minute)

## Changes

- **2026-03-15** `bb4070b30d92`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gigabraingg/apis/gigabrain-api/changes/v1/superagents/:agent_id/chat/post.md)

---

[API](https://skmtc.dev/gigabraingg/apis/gigabrain-api.md) - [All operations](https://skmtc.dev/gigabraingg/apis/gigabrain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gigabraingg/apis/gigabrain-api/revisions/bb4070b30d92?raw)
