outbound-agents

Rate one message the agent wrote

Record a thumb, a note, or both. What says something needs work teaches: a thumbs down, a note or a rewrite rides into later messages as an example, and proposing prompts rewrites the prompts from it. A Looks good with no rewrite is kept as the person's record and never trains the agent.

post/outbound-agents/{agent_id}/feedback/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/outbound-agents/{agent_id}/feedback/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

agent_idstring uuid required

Request body

bodystring

The words rated, when the message they were on is gone.

commentstring nullable

What the person wants changed.

create_onlyboolean

Refuse to replace an existing verdict that was not reviewed.

edited_bodystring nullable
edited_subjectstring nullable
kind'email' | 'linkedin_connection_note' | 'linkedin_message' | 'linkedin_inmail' | 'reply_email' | 'reply_linkedin'

What one written message is, which decides its rules, its length and its channel.

message_idstring uuid nullable

The message being rated; null when it is already gone.

rating'good' | 'bad'

The human verdict on one message: a thumb, not a scale.

source'agent_tab' | 'approval_card'

Where the verdict was given: a sequence's AI writing tab and training (agent_tab), or a task waiting for approval (approval_card). Only a verdict given on the AI writing tab counts as a check of that step's writing.

Response

Successful Response

commentstring nullable required
consumed_in_versioninteger nullable required
created_atstring date-time required
edited_bodystring nullable required
edited_subjectstring nullable required
idstring uuid required
kind'email' | 'linkedin_connection_note' | 'linkedin_message' | 'linkedin_inmail' | 'reply_email' | 'reply_linkedin' required

What one written message is, which decides its rules, its length and its channel.

message_idstring uuid nullable required
original_bodystring required
original_subjectstring nullable required
rating'good' | 'bad' required

The human verdict on one message: a thumb, not a scale.

slot_keystring nullable required
source'approval_card' | 'inbox_draft' | 'agent_tab' | 'approved_unchanged' | 'positive_reply' required

Where a piece of feedback came from, which says how much it means.

teachesboolean required

Whether the writer and a prompt rewrite learn from it: a Needs work, a note given without a Looks good, or a rewrite. A Looks good with no rewrite, a note on it and an approval kept as approved as written included, is a record and never teaches.

updated_atstring date-time required
user_idstring required

Changes

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