---
title: AiThreadEntry interface | Wartiva GraphQL API
description: Type AiThreadEntry represents an individual message in an AI thread. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/ai-thread-entry.html
updated: 2026-10-07
---

AI · GraphQL interface

# `AiThreadEntry` interface

Type `AiThreadEntry` represents an individual message in an AI thread, acting as a base interface for different types of thread entries with common properties like timestamp, author, and message content.

## Returned by

- [`aiGenerateGraphQLQuery`](https://wartiva.com/api-docs/queries/ai-generate-graphql-query.html) query: Asks the AI assistant to write a Wartiva GraphQL query from a natural-language request, for the object type the thread was created with (see…
- [`aiGenerateSearchQuery`](https://wartiva.com/api-docs/queries/ai-generate-search-query.html) query: Asks the AI assistant to turn a natural-language request into a graph search query, such as "Windows endpoints with an unencrypted disk", that can…
- [`aiQueryObject`](https://wartiva.com/api-docs/queries/ai-query-object.html) query: Asks the AI assistant a natural-language question about the specific graph object the thread was created for (see aiThreadCreate with an object id).
- [`aiQuerySearch`](https://wartiva.com/api-docs/queries/ai-query-search.html) query: Asks the AI assistant a natural-language question that it answers by searching the security graph, for example "which endpoints have not reported in…
- [`aiThreadMessage`](https://wartiva.com/api-docs/queries/ai-thread-message.html) query: Sends a message to an AI chat thread and returns the assistant's reply.

## Used by

- [`AiThread`](https://wartiva.com/api-docs/types/ai-thread.html) type: Type AiThread represents a conversation thread between a user and the AI system, containing metadata about the thread's purpose, associated object,…

## Example

### Example

```json
{
  "timestamp": "2021-10-07T18:23:25.829Z",
  "isFromUser": false,
  "message": "abc123"
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
