write

Record a channel learning

Record what this channel's own results taught you, so every later session starts from it (get_channel_memory returns the journal). kind=learning for a finding that held over several posts (e.g. 'posts opening with a number get ~30% more views than the median'); kind=hypothesis for an idea to test on the next posts. Put the proof in evidence (posts, numbers, period). One short sentence per entry, concrete and specific to this channel - not generic advice. The same text is not added twice. At most 30 entries: when full, remove an outdated one with remove_channel_learning first. Turning a hypothesis into a learning = remove it and add the learning.

post/api/v1/add_channel_learning

Request

  • Base URL: https://awraiter.ai
  • URL: https://awraiter.ai/api/v1/add_channel_learning
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Retry key (≤ 200 characters). A repeated call with the same key returns the first call's result instead of acting twice. Without it the server hashes the arguments, which catches retries but treats a deliberate repeat within 24 hours as one too.

Request body

channelIdnumber required
textstring required
kind'learning' | 'hypothesis'

learning (default) or hypothesis.

evidencestring

Response

The tool's result in data.

okunknown required
dataobject required

Not declared by the tool yet; treat the shape as informational.

Changes

No recorded changes to this operation across all 1 revision of this API.