Label a conversation for a custom signal

Records a Fits / Doesn't fit example for one conversation. Record-only: the summary is frozen and saved but no revision proposal is generated. Optional criteria / verdict provenance must agree with the label ((fail, accept) is fits, (pass, accept) is does_not_fit; a reject is never an example) or the request is a 400 label_mismatch. Limited to 10 requests per minute per API key.

post/api/v1/data/custom-signals/{id}/labels

Request

  • Base URL
    https://moda.dev
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Custom signal ID.

Request body

conversation_idstring required
label'fits' | 'does_not_fit' required
msg_indexinteger
msg_dedup_tokenstring
notestring
criteria'pass' | 'fail'
verdict'accept' | 'reject'

Response

Successful response.

object required

The recorded example (conversation, label, anchor, blurb).

Changes

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