Skip to content
Navigation

Approve a memory proposal

Applies the proposed changes to the saved memory as you. A file changed on both sides answers 409 conflict and leaves the proposal open.

POST
https://api.cloudraker.com/agents/{agentRef}/memory/proposals/{n}/approve
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

Approve a memory proposal

JSON
  • data
    object
    required
    • number
      number
      required
    • from
      string
      required
    • into
      string
      required
    • state
      string
      required
    • title
      string
      required
    • author
      object
      required
      • name
        string
        required
      • email
        string
        required
    • createdAt
      string
      required
    • sha
      string | null
      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

conflict or not_open — the proposal stays as it was.
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