Skip to content

post/summarize

Generates a short English summary for a post.

Overview

Use this endpoint to summarize text in preview mode or to summarize a stored post and persist post_summary.

Authentication

Authentication behavior is partially confirmed. See Authentication.

Permissions

Authentication is required.

Endpoint

post/summarize

Purpose

Generates a summary and returns the result payload.

Method and path

POST /post/summarize

Headers

HeaderRequiredDescription
X-Api-Key or X_API_KEYyesAPI key.
Content-Typeyesapplication/json.

Request body

Preview mode:

FieldTypeRequiredDescription
intentstringyesMust be preview.
postData.post_textstringyesText to summarize.

Normal mode:

FieldTypeRequiredDescription
projectIdintegeryesProject identifier.
uuidstringyesPost UUID.

Example request

bash
curl -X POST "$SIGNAL_API_BASE_URL/post/summarize" \
  -H "X-Api-Key: $SIGNAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "intent": "preview",
    "postData": {
      "post_text": "Example text to summarize."
    }
  }'

Example response

json
{
  "project_label": "example_project",
  "uuid": "abc123",
  "summary": "Short summary text",
  "updated": true
}

Notes

  • In normal mode, the endpoint updates post_summary for the selected post.

Doc rev.1.12.3 2026.05.08