---
title: "Engram API"
url: https://docs.weaviate.io/engram/api/rest
---

# Engram API

- **OpenAPI Version:** `3.2.0`
- **API Version:** `1.0.0`

Persistent memory for LLM agents and applications. Store, search, and manage memories using vector embeddings and LLM-powered processing.

## Base URL

The base URL for all projects is:

```
https://api.engram.weaviate.io
```

## Authentication

Include your API key in the `Authorization` header:

```
Authorization: Bearer eng_your_api_key
```

API keys are scoped to a project. All requests authenticated with a key operate within that project's scope.

## Errors

All error responses use a consistent format:

```json
{
  "status": 400,
  "message": "error description"
}
```

| Code | Description                                            |
| ---- | ------------------------------------------------------ |
| 400  | Bad request — invalid input or missing required fields |
| 401  | Unauthorized — missing or invalid API key              |
| 403  | Forbidden — insufficient permissions                   |
| 404  | Not found — resource does not exist                    |
| 500  | Internal server error                                  |

## Contents

**Operations**

- [POST /memories](#scalar-operation-post-memories)
- [POST /memories/list](#scalar-operation-post-memorieslist)
- [POST /memories/search](#scalar-operation-post-memoriessearch)
- [DELETE /memories/{id}](#scalar-operation-delete-memoriesid)
- [GET /memories/{id}](#scalar-operation-get-memoriesid)
- [GET /runs/{run\_id}](#scalar-operation-get-runsrun-id)

**Schemas**

- [CommittedOperationDTO](#scalar-schema-committedoperationdto)
- [CommittedOperationsDTO](#scalar-schema-committedoperationsdto)
- [ConversationInput](#scalar-schema-conversationinput)
- [CreateMemoryRequest](#scalar-schema-creatememoryrequest)
- [ErrorDetail](#scalar-schema-errordetail)
- [ErrorModel](#scalar-schema-errormodel)
- [Input](#scalar-schema-input)
- [ListMemoriesRequest](#scalar-schema-listmemoriesrequest)
- [Memory](#scalar-schema-memory)
- [MemoryList](#scalar-schema-memorylist)
- [MessageInput](#scalar-schema-messageinput)
- [PreExtractedInput](#scalar-schema-preextractedinput)
- [PreExtractedInputItem](#scalar-schema-preextractedinputitem)
- [RetrievalConfigDTO](#scalar-schema-retrievalconfigdto)
- [Run](#scalar-schema-run)
- [RunOutput](#scalar-schema-runoutput)
- [SearchMemoriesRequest](#scalar-schema-searchmemoriesrequest)
- [StringInput](#scalar-schema-stringinput)
- [ToolCallCustomInput](#scalar-schema-toolcallcustominput)
- [ToolCallFuncInput](#scalar-schema-toolcallfuncinput)
- [ToolCallInput](#scalar-schema-toolcallinput)

<a id="scalar-context-global-servers"></a>

## Servers

- **URL:** `https://api.engram.weaviate.io`

## Operations

<a id="scalar-operation-post-memories"></a>

### Store a memory

- **Method:** `POST`
- **Path:** `/memories`
- **Operation ID:** `create-memory`
- **Tags:** Memories

Send content to be processed through the memory pipeline. Accepts raw text, pre-extracted facts, or a multi-turn conversation. Processing is asynchronous — use the returned `run_id` to track progress.

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Request body

**Required:** `true`

**Content type:** `application/json`

[CreateMemoryRequest](#scalar-schema-creatememoryrequest)

<a id="scalar-example-1"></a>

**Generated example:**

```json
{
  "group": "",
  "input": {
    "conversation": {
      "created_at": "",
      "messages": [
        {
          "content": "",
          "created_at": "",
          "name": "",
          "role": "user",
          "tool_call_id": "",
          "tool_calls": [
            {
              "custom": {
                "input": "",
                "name": ""
              },
              "function": {
                "arguments": "",
                "name": ""
              },
              "id": "",
              "type": ""
            }
          ]
        }
      ],
      "metadata": {
        "additionalProperty": null
      },
      "updated_at": ""
    },
    "pre_extracted": {
      "items": [
        {
          "content": "",
          "topic": ""
        }
      ]
    },
    "string": {
      "content": [
        ""
      ]
    }
  },
  "properties": {
    "additionalProperty": ""
  },
  "root": "",
  "user_id": ""
}
```

#### Responses

##### 200 OK

**Content type:** `application/json`

[RunOutput](#scalar-schema-runoutput)

<a id="scalar-example-2"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/RunOutput.json",
  "error": "",
  "run_id": "",
  "status": ""
}
```

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-3"></a>

**Generated example:**

```json
null
```

<a id="scalar-operation-post-memorieslist"></a>

### List memories

- **Method:** `POST`
- **Path:** `/memories/list`
- **Operation ID:** `list-memories`
- **Tags:** Memories

Returns all memories in the project. Results are scoped to the API key's project.

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Request body

**Required:** `true`

**Content type:** `application/json`

[ListMemoriesRequest](#scalar-schema-listmemoriesrequest)

<a id="scalar-example-4"></a>

**Generated example:**

```json
{
  "group": "",
  "limit": 1,
  "properties": {
    "additionalProperty": ""
  },
  "topics": [
    ""
  ],
  "user_id": ""
}
```

#### Responses

##### 200 OK

**Content type:** `application/json`

[MemoryList](#scalar-schema-memorylist)

<a id="scalar-example-5"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/MemoryList.json",
  "memories": [
    {
      "$schema": "https://api.engram.weaviate.io/schemas/Memory.json",
      "content": "",
      "created_at": "",
      "group": "",
      "id": "",
      "project_id": "",
      "properties": {
        "additionalProperty": ""
      },
      "score": 1,
      "topic": "",
      "updated_at": "",
      "user_id": ""
    }
  ],
  "total": 1
}
```

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-6"></a>

**Generated example:**

```json
null
```

<a id="scalar-operation-post-memoriessearch"></a>

### Search memories

- **Method:** `POST`
- **Path:** `/memories/search`
- **Operation ID:** `search-memories`
- **Tags:** Memories

Find relevant memories using vector similarity, BM25 keyword matching, or hybrid search.

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Request body

**Required:** `true`

**Content type:** `application/json`

[SearchMemoriesRequest](#scalar-schema-searchmemoriesrequest)

<a id="scalar-example-7"></a>

**Generated example:**

```json
{
  "group": "",
  "properties": {
    "additionalProperty": ""
  },
  "query": "",
  "retrieval_config": {
    "limit": 10,
    "retrieval_type": ""
  },
  "topics": [
    ""
  ],
  "user_id": ""
}
```

#### Responses

##### 200 OK

**Content type:** `application/json`

[MemoryList](#scalar-schema-memorylist)

[Generated example](#scalar-example-5)

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-8"></a>

**Generated example:**

```json
null
```

<a id="scalar-operation-delete-memoriesid"></a>

### Delete a memory

- **Method:** `DELETE`
- **Path:** `/memories/{id}`
- **Operation ID:** `delete-memory`
- **Tags:** Memories

Permanently remove a memory by its ID. You must provide `user_id` if the topic is user-scoped.

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Path parameters

- **`id` (required)**: `string`, format: `uuid`

  Memory ID. Must be a valid UUID.

#### Query parameters

- **`user_id`**: `string`, explode: `false`

  User name (case-insensitive)
- **`group`**: `string`, explode: `false`

  Group name (defaults to 'default')

#### Responses

##### 204 No Content

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-9"></a>

**Generated example:**

```json
null
```

<a id="scalar-operation-get-memoriesid"></a>

### Get a memory

- **Method:** `GET`
- **Path:** `/memories/{id}`
- **Operation ID:** `get-memory`
- **Tags:** Memories

Retrieve a single memory by its ID. You must provide `user_id` if the topic is user-scoped.

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Path parameters

- **`id` (required)**: `string`, format: `uuid`

  Memory ID. Must be a valid UUID.

#### Query parameters

- **`user_id`**: `string`, explode: `false`

  User name (case-insensitive)
- **`group`**: `string`, explode: `false`

  Group name (defaults to 'default')

#### Responses

##### 200 OK

**Content type:** `application/json`

[Memory](#scalar-schema-memory)

<a id="scalar-example-10"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/Memory.json",
  "content": "",
  "created_at": "",
  "group": "",
  "id": "",
  "project_id": "",
  "properties": {
    "additionalProperty": ""
  },
  "score": 1,
  "topic": "",
  "updated_at": "",
  "user_id": ""
}
```

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-11"></a>

**Generated example:**

```json
null
```

<a id="scalar-operation-get-runsrun-id"></a>

### Get pipeline run status

- **Method:** `GET`
- **Path:** `/runs/{run_id}`
- **Operation ID:** `get-run-status`
- **Tags:** Runs

Check the status of an asynchronous pipeline run. Returns the current state and, once completed, the list of memory operations that were committed (created, updated, or deleted).

**Servers:** [Inherited servers](#scalar-context-global-servers)

#### Path parameters

- **`run_id` (required)**: `string`, format: `uuid`

  The ID of the pipeline run. Must be a valid UUID.

#### Responses

##### 200 OK

**Content type:** `application/json`

[Run](#scalar-schema-run)

<a id="scalar-example-12"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/Run.json",
  "committed_operations": {
    "created": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ],
    "deleted": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ],
    "updated": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ]
  },
  "created_at": "",
  "error": "",
  "group_id": "",
  "input_type": "",
  "run_id": "",
  "starting_step": 1,
  "status": "",
  "updated_at": "",
  "user_id": ""
}
```

##### default Error

**Content type:** `application/problem+json`

[ErrorModel](#scalar-schema-errormodel)

<a id="scalar-example-13"></a>

**Generated example:**

```json
null
```

## Schemas

<a id="scalar-schema-committedoperationdto"></a>

### CommittedOperationDTO

**Type:** `object`, no additional properties

- **`committed_at` (required)**: `string`

  RFC3339 timestamp
- **`memory_id` (required)**: `string`

  Memory UUID

<a id="scalar-example-14"></a>

**Generated example:**

```json
{
  "committed_at": "",
  "memory_id": ""
}
```

<a id="scalar-schema-committedoperationsdto"></a>

### CommittedOperationsDTO

**Type:** `object`, no additional properties

- **`created`**: array of [CommittedOperationDTO](#scalar-schema-committedoperationdto) | `null`

  Created memory operations
- **`deleted`**: array of [CommittedOperationDTO](#scalar-schema-committedoperationdto) | `null`

  Deleted memory operations
- **`updated`**: array of [CommittedOperationDTO](#scalar-schema-committedoperationdto) | `null`

  Updated memory operations

<a id="scalar-example-15"></a>

**Generated example:**

```json
{
  "created": [
    {
      "committed_at": "",
      "memory_id": ""
    }
  ],
  "deleted": [
    {
      "committed_at": "",
      "memory_id": ""
    }
  ],
  "updated": [
    {
      "committed_at": "",
      "memory_id": ""
    }
  ]
}
```

<a id="scalar-schema-conversationinput"></a>

### ConversationInput

**Type:** `object`, no additional properties

- **`messages` (required)**: array of [MessageInput](#scalar-schema-messageinput) | `null`, minItems: `1`

  The messages in this conversation. Must contain at least one message.
- **`created_at`**: `string`, format: `date-time`

  When the conversation started (RFC 3339). Defaults to now.
- **`metadata`**: `object`

  Arbitrary key-value metadata to attach to the conversation.

  **Additional properties:**

  `any`
- **`updated_at`**: `string`, format: `date-time`

  When the conversation was last updated (RFC 3339). Defaults to now.

<a id="scalar-example-16"></a>

**Generated example:**

```json
{
  "created_at": "",
  "messages": [
    {
      "content": "",
      "created_at": "",
      "name": "",
      "role": "user",
      "tool_call_id": "",
      "tool_calls": [
        {
          "custom": {
            "input": "",
            "name": ""
          },
          "function": {
            "arguments": "",
            "name": ""
          },
          "id": "",
          "type": ""
        }
      ]
    }
  ],
  "metadata": {
    "additionalProperty": null
  },
  "updated_at": ""
}
```

<a id="scalar-schema-creatememoryrequest"></a>

### CreateMemoryRequest

**Type:** `object`, no additional properties

- **`input` (required)**: [Input](#scalar-schema-input)

  The input to process. Accepts one of string, conversation, or pre\_extracted.
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`group`**: `string`

  Pipeline group name. Defaults to 'default'.
- **`properties`**: `object`

  Scope properties to associate with this memory. Must include every key any topic in the group is scoped by.

  **Additional properties:**

  `string`
- **`root`**: `string`

  Pipeline entry point. Overrides the default starting step.
- **`user_id`**: `string`

  User ID (case-insensitive) to scope this memory to. Required when the topic is user-scoped. A new user is created automatically if the ID does not exist.

<a id="scalar-example-17"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/CreateMemoryRequest.json",
  "group": "",
  "input": {
    "conversation": {
      "created_at": "",
      "messages": [
        {
          "content": "",
          "created_at": "",
          "name": "",
          "role": "user",
          "tool_call_id": "",
          "tool_calls": [
            {
              "custom": {
                "input": "",
                "name": ""
              },
              "function": {
                "arguments": "",
                "name": ""
              },
              "id": "",
              "type": ""
            }
          ]
        }
      ],
      "metadata": {
        "additionalProperty": null
      },
      "updated_at": ""
    },
    "pre_extracted": {
      "items": [
        {
          "content": "",
          "topic": ""
        }
      ]
    },
    "string": {
      "content": [
        ""
      ]
    }
  },
  "properties": {
    "additionalProperty": ""
  },
  "root": "",
  "user_id": ""
}
```

<a id="scalar-schema-errordetail"></a>

### ErrorDetail

**Type:** `object`, no additional properties

- **`location`**: `string`

  Where the error occurred, e.g. 'body.items\[3].tags' or 'path.thing-id'
- **`message`**: `string`

  Error message text
- **`value`**: `any`

  The value at the given location

<a id="scalar-example-18"></a>

**Generated example:**

```json
{
  "location": "",
  "message": "",
  "value": null
}
```

<a id="scalar-schema-errormodel"></a>

### ErrorModel

**Type:** `object`, no additional properties

- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`detail`**: `string`

  A human-readable explanation specific to this occurrence of the problem.
- **`errors`**: array of [ErrorDetail](#scalar-schema-errordetail) | `null`

  Optional list of individual error details
- **`instance`**: `string`, format: `uri`

  A URI reference that identifies the specific occurrence of the problem.
- **`status`**: `integer`, format: `int64`

  HTTP status code
- **`title`**: `string`

  A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
- **`type`**: `string`, format: `uri`, default: `"about:blank"`

  A URI reference to human-readable documentation for the error.

<a id="scalar-example-19"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/ErrorModel.json",
  "detail": "Property foo is required but is missing.",
  "errors": [
    {
      "location": "",
      "message": "",
      "value": null
    }
  ],
  "instance": "https://example.com/error-log/abc123",
  "status": 400,
  "title": "Bad Request",
  "type": "https://example.com/errors/example"
}
```

<a id="scalar-schema-input"></a>

### Input

**Type:** `object`, no additional properties

- **`conversation`**: [ConversationInput](#scalar-schema-conversationinput)

  Conversation content. Exactly one of string, pre\_extracted, or conversation must be set.
- **`pre_extracted`**: [PreExtractedInput](#scalar-schema-preextractedinput)

  Pre-extracted content. Exactly one of string, pre\_extracted, or conversation must be set.
- **`string`**: [StringInput](#scalar-schema-stringinput)

  String content. Exactly one of string, pre\_extracted, or conversation must be set.

<a id="scalar-example-20"></a>

**Generated example:**

```json
{
  "conversation": {
    "created_at": "",
    "messages": [
      {
        "content": "",
        "created_at": "",
        "name": "",
        "role": "user",
        "tool_call_id": "",
        "tool_calls": [
          {
            "custom": {
              "input": "",
              "name": ""
            },
            "function": {
              "arguments": "",
              "name": ""
            },
            "id": "",
            "type": ""
          }
        ]
      }
    ],
    "metadata": {
      "additionalProperty": null
    },
    "updated_at": ""
  },
  "pre_extracted": {
    "items": [
      {
        "content": "",
        "topic": ""
      }
    ]
  },
  "string": {
    "content": [
      ""
    ]
  }
}
```

<a id="scalar-schema-listmemoriesrequest"></a>

### ListMemoriesRequest

**Type:** `object`, no additional properties

- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`group`**: `string`

  Pipeline group name. Defaults to 'default'.
- **`limit`**: `integer`, format: `int64`, maximum: `100`

  Maximum number of results. Defaults to 20 when omitted.
- **`properties`**: `object`

  Property filter. Searches all topics, narrowing results for topics scoped by passed properties.

  **Additional properties:**

  `string`
- **`topics`**: `array | null`

  Restrict the search to the listed topics. Each entry is either a topic name or an object with an optional per-topic property filter that composes with top-level properties.

  **Items:**

  **One of:**
  - `string`

    Topic name.
  - `object`
    - **`name` (required)**: `string`

      Topic name.
    - **`properties`**: `object`

      Per-topic property filter. Keys must be ones the topic is scoped by; unknown keys are rejected. Use null to clear an inherited global filter for this topic.

      **Additional properties:**

      `string | null`

  A topic to include in the search. Either a topic name string, or an object with `name` and an optional per-topic `properties` filter.
- **`user_id`**: `string`

  User ID (case-insensitive) to filter results by. Required when searching user-scoped topics.

<a id="scalar-example-21"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/ListMemoriesRequest.json",
  "group": "",
  "limit": 1,
  "properties": {
    "additionalProperty": ""
  },
  "topics": [
    ""
  ],
  "user_id": ""
}
```

<a id="scalar-schema-memory"></a>

### Memory

**Type:** `object`, no additional properties

- **`content` (required)**: `string`

  The stored memory content.
- **`created_at` (required)**: `string`, format: `date-time`

  When this memory was created (RFC 3339).
- **`group` (required)**: `string`

  The pipeline group this memory was created in.
- **`id` (required)**: `string`

  Unique identifier for this memory.
- **`project_id` (required)**: `string`

  The project this memory belongs to.
- **`topic` (required)**: `string`

  The topic this memory belongs to.
- **`updated_at` (required)**: `string`, format: `date-time`

  When this memory was last updated (RFC 3339).
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`properties`**: `object`

  All scope properties associated with this memory.

  **Additional properties:**

  `string`
- **`score`**: `number`, format: `double`

  Relevance score. Only present in search results.
- **`user_id`**: `string`

  User ID this memory is scoped to, if any.

<a id="scalar-example-22"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/Memory.json",
  "content": "",
  "created_at": "",
  "group": "",
  "id": "",
  "project_id": "",
  "properties": {
    "additionalProperty": ""
  },
  "score": 1,
  "topic": "",
  "updated_at": "",
  "user_id": ""
}
```

<a id="scalar-schema-memorylist"></a>

### MemoryList

**Type:** `object`, no additional properties

- **`memories` (required)**: array of [Memory](#scalar-schema-memory) | `null`

  The list of memories.
- **`total` (required)**: `integer`, format: `int64`

  Total number of memories returned.
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.

<a id="scalar-example-23"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/MemoryList.json",
  "memories": [
    {
      "$schema": "https://api.engram.weaviate.io/schemas/Memory.json",
      "content": "",
      "created_at": "",
      "group": "",
      "id": "",
      "project_id": "",
      "properties": {
        "additionalProperty": ""
      },
      "score": 1,
      "topic": "",
      "updated_at": "",
      "user_id": ""
    }
  ],
  "total": 1
}
```

<a id="scalar-schema-messageinput"></a>

### MessageInput

**Type:** `object`, no additional properties

- **`role` (required)**: `string`, possible values: `"user", "assistant", "system", "tool", "developer"`

  The role of the message sender. 'tool' is mapped to 'user' and 'developer' to 'system' internally.
- **`content`**: `string`

  The message text. May be empty for assistant messages that contain only tool calls.
- **`created_at`**: `string`, format: `date-time`

  When this message was sent (RFC 3339). Defaults to now.
- **`name`**: `string`

  Name of the tool/function. Used on 'tool' role messages.
- **`tool_call_id`**: `string`

  ID of the tool call this message responds to. Used on 'tool' role messages.
- **`tool_calls`**: array of [ToolCallInput](#scalar-schema-toolcallinput) | `null`

  Tool calls made by the assistant.

<a id="scalar-example-24"></a>

**Generated example:**

```json
{
  "content": "",
  "created_at": "",
  "name": "",
  "role": "user",
  "tool_call_id": "",
  "tool_calls": [
    {
      "custom": {
        "input": "",
        "name": ""
      },
      "function": {
        "arguments": "",
        "name": ""
      },
      "id": "",
      "type": ""
    }
  ]
}
```

<a id="scalar-schema-preextractedinput"></a>

### PreExtractedInput

**Type:** `object`, no additional properties

- **`items` (required)**: array of [PreExtractedInputItem](#scalar-schema-preextractedinputitem) | `null`

<a id="scalar-example-25"></a>

**Generated example:**

```json
{
  "items": [
    {
      "content": "",
      "topic": ""
    }
  ]
}
```

<a id="scalar-schema-preextractedinputitem"></a>

### PreExtractedInputItem

**Type:** `object`, no additional properties

- **`content` (required)**: `string`
- **`topic` (required)**: `string`

<a id="scalar-example-26"></a>

**Generated example:**

```json
{
  "content": "",
  "topic": ""
}
```

<a id="scalar-schema-retrievalconfigdto"></a>

### RetrievalConfigDTO

**Type:** `object`, no additional properties

- **`retrieval_type` (required)**: `string`

  The search method: 'vector' for semantic similarity, 'bm25' for keyword matching, or 'hybrid' for a combination of both.
- **`limit`**: `integer`, format: `int64`, default: `10`, minimum: `1`, maximum: `100`

  Maximum number of results to return (1–100). Defaults to 10.

<a id="scalar-example-27"></a>

**Generated example:**

```json
{
  "limit": 10,
  "retrieval_type": ""
}
```

<a id="scalar-schema-run"></a>

### Run

**Type:** `object`, no additional properties

- **`created_at` (required)**: `string`, format: `date-time`

  Creation timestamp
- **`group_id` (required)**: `string`

  Group UUID
- **`input_type` (required)**: `string`

  Input type
- **`run_id` (required)**: `string`

  Pipeline run UUID
- **`starting_step` (required)**: `integer`, format: `int64`

  Starting step index
- **`status` (required)**: `string`

  Current status: running, completed, failed, in\_buffer
- **`updated_at` (required)**: `string`, format: `date-time`

  Last update timestamp
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`committed_operations`**: [CommittedOperationsDTO](#scalar-schema-committedoperationsdto)

  Committed memory operations
- **`error`**: `string`

  Error message if failed
- **`user_id`**: `string`

  User name (if user-scoped run)

<a id="scalar-example-28"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/Run.json",
  "committed_operations": {
    "created": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ],
    "deleted": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ],
    "updated": [
      {
        "committed_at": "",
        "memory_id": ""
      }
    ]
  },
  "created_at": "",
  "error": "",
  "group_id": "",
  "input_type": "",
  "run_id": "",
  "starting_step": 1,
  "status": "",
  "updated_at": "",
  "user_id": ""
}
```

<a id="scalar-schema-runoutput"></a>

### RunOutput

**Type:** `object`, no additional properties

- **`run_id` (required)**: `string`

  Unique identifier for the pipeline run. Use this to poll the run status.
- **`status` (required)**: `string`

  Current run status: 'running', 'completed', 'failed', or 'in\_buffer'.
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`error`**: `string`

  Error details, present only when status is 'failed'.

<a id="scalar-example-29"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/RunOutput.json",
  "error": "",
  "run_id": "",
  "status": ""
}
```

<a id="scalar-schema-searchmemoriesrequest"></a>

### SearchMemoriesRequest

**Type:** `object`, no additional properties

- **`query` (required)**: `string`, minLength: `1`

  The search query text.
- **`$schema`**: `string`, format: `uri`, readOnly

  A URL to the JSON Schema for this object.
- **`group`**: `string`

  Pipeline group name. Defaults to 'default'.
- **`properties`**: `object`

  Property filter. Searches all topics, narrowing results for topics scoped by passed properties.

  **Additional properties:**

  `string`
- **`retrieval_config`**: [RetrievalConfigDTO](#scalar-schema-retrievalconfigdto)

  Controls the search method and result limit. Defaults to hybrid search with a limit of 10.
- **`topics`**: `array | null`

  Restrict the search to the listed topics. Each entry is either a topic name or an object with an optional per-topic property filter that composes with top-level properties.

  **Items:**

  **One of:**
  - `string`

    Topic name.
  - `object`
    - **`name` (required)**: `string`

      Topic name.
    - **`properties`**: `object`

      Per-topic property filter. Keys must be ones the topic is scoped by; unknown keys are rejected. Use null to clear an inherited global filter for this topic.

      **Additional properties:**

      `string | null`

  A topic to include in the search. Either a topic name string, or an object with `name` and an optional per-topic `properties` filter.
- **`user_id`**: `string`

  User ID (case-insensitive) to filter results by. Required when searching user-scoped topics.

<a id="scalar-example-30"></a>

**Generated example:**

```json
{
  "$schema": "https://api.engram.weaviate.io/schemas/SearchMemoriesRequest.json",
  "group": "",
  "properties": {
    "additionalProperty": ""
  },
  "query": "",
  "retrieval_config": {
    "limit": 10,
    "retrieval_type": ""
  },
  "topics": [
    ""
  ],
  "user_id": ""
}
```

<a id="scalar-schema-stringinput"></a>

### StringInput

**Type:** `object`, no additional properties

- **`content` (required)**: `(array of string) | null`

<a id="scalar-example-31"></a>

**Generated example:**

```json
{
  "content": [
    ""
  ]
}
```

<a id="scalar-schema-toolcallcustominput"></a>

### ToolCallCustomInput

**Type:** `object`, no additional properties

- **`input` (required)**: `string`

  Input to the tool, as a string.
- **`name` (required)**: `string`

  The name of the custom tool.

<a id="scalar-example-32"></a>

**Generated example:**

```json
{
  "input": "",
  "name": ""
}
```

<a id="scalar-schema-toolcallfuncinput"></a>

### ToolCallFuncInput

**Type:** `object`, no additional properties

- **`arguments` (required)**: `string`

  JSON-encoded string of the function arguments.
- **`name` (required)**: `string`

  The name of the function.

<a id="scalar-example-33"></a>

**Generated example:**

```json
{
  "arguments": "",
  "name": ""
}
```

<a id="scalar-schema-toolcallinput"></a>

### ToolCallInput

**Type:** `object`, no additional properties

- **`id` (required)**: `string`

  Unique identifier for this tool call.
- **`custom`**: [ToolCallCustomInput](#scalar-schema-toolcallcustominput)

  Custom tool details. Present when type is 'custom'.
- **`function`**: [ToolCallFuncInput](#scalar-schema-toolcallfuncinput)

  Function details. Present when type is 'function'.
- **`type`**: `string`

  Tool type: 'function' or 'custom'.

<a id="scalar-example-34"></a>

**Generated example:**

```json
{
  "custom": {
    "input": "",
    "name": ""
  },
  "function": {
    "arguments": "",
    "name": ""
  },
  "id": "",
  "type": ""
}
```
