Get API key

    Reference/Memory

    PATCH/v1/agents/:id/memory

    Update agent Memory

    Send only the Memory pieces you want to change. Nested JSON objects are allowed.

    Full URL

    PATCH https://api.tryleadreach.com/v1/agents/:id/memory

    Headers

    • X-Api-Key (required): your API key from the app Keys tab.
    • Content-Type: application/json (required)

    Path params (in the URL)

    NameTypeRequiredMeaning
    iduuidYesThe agent's id (from Create agent or List agents).

    Query params (after ?)

    None

    Request body (JSON)

    FieldTypeRequiredMeaning
    profileJsonobjectNoBusiness / offer profile.
    icpJsonobjectNoIdeal customer profile (roles, industries, …).
    identityJsonobjectNoHow the agent speaks.

    Example request (JSON)

    What you send: headers, and path / query / body when used.

    {
      "headers": {
        "X-Api-Key": "lr_your_key_here",
        "Content-Type": "application/json"
      },
      "path": {
        "id": "a1111111-1111-1111-1111-111111111111"
      },
      "body": {
        "icpJson": {
          "roles": ["Founder"]
        }
      }
    }

    Example response (JSON)

    Typical successful response shape.

    {
      "profileJson": { "company": "Acme" },
      "icpJson": { "roles": ["Founder"] },
      "identityJson": { "voice": "friendly" }
    }

    Response

    Updated Memory object.

    Credits

    0