Poggio
Docs
REST APIV2 BetaSuperagent

Chat

Send a message to Poggio and receive a response.

POST
/v2beta/superagent/chat

Authorization

BearerToken
AuthorizationBearer <token>

Pass an OAuth access token or an API token from Settings > MCP Server.

In: header

Request Body

application/json

message*string

The message to send to Poggio

Length1 <= length <= 100000
streaming?boolean

Whether to stream the response (default: False)

Defaultfalse

Response Body

application/json

application/json

curl -X POST "https://api.poggio.io/v2beta/superagent/chat" \  -H "Content-Type: application/json" \  -d '{    "message": "string"  }'
{
  "session_id": "string",
  "response": "string",
  "tool_calls": [
    {
      "name": "string",
      "args": {},
      "id": "string",
      "result": {}
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}