Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nolma.ai/llms.txt

Use this file to discover all available pages before exploring further.

Signal Endpoint

POST https://gateway.nolma.ai/v1/signal

Request

{
  "session_id": "sess_8f3a2c19",
  "action": "accepted",
  "edit_distance": null,
  "custom_label": null
}

Headers

HeaderRequired
NM-KeyYes
Content-Typeapplication/json

Actions

ActionDescription
acceptedUser used the output without changes (strongest positive)
editedUser edited before using (include edit_distance)
regeneratedUser clicked regenerate (negative signal)
abandonedUser left without using output (strongest negative)
thumbs_upExplicit positive feedback
thumbs_downExplicit negative feedback
publishedUser published the output
sentUser sent the output

Response

{ "ok": true }

Example

curl -X POST https://gateway.nolma.ai/v1/signal \
  -H "NM-Key: nm_live_abc123" \
  -H "Content-Type: application/json" \
  -d '{
    "session_id": "sess_8f3a2c19",
    "action": "edited",
    "edit_distance": 42
  }'