Skip to content
Navigation

Reject a memory proposal

Closes the proposal without applying it.

POST
https://api.cloudraker.com/agents/{agentRef}/memory/proposals/{n}/reject
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • n
    integer
    required
    maximum: 9007199254740991 · minimum: 1
  • agentRef
    string
    required

Returns

200

Reject a memory proposal

JSON
  • data
    object
    required
    • number
      number
      required
    • from
      string
      required
    • into
      string
      required
    • state
      open
      or
      merged
      or
      closed
      required
    • title
      string
      required
    • author
      object
      required
      • name
        string
        required
      • email
        string
        required
    • createdAt
      string
      required
    • mergedSha
      optional
      string

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

403

personal_account_required — only the owner may open this memory.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

404

memory_not_available — this memory does not exist for you.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

409

not_open — the proposal was already applied.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close