---
title: "Continue Alert AI Assistant thread"
method: PUT
path: "/api/v2/AiAssistants/{threadId}"
tags: ["AlertAiAssistant"]
---

# Continue Alert AI Assistant thread

`PUT /api/v2/AiAssistants/{threadId}`

Continue an existing alert-focused assistant thread. The current public path remains `/api/v2/AiAssistants/{threadId}`. Follow-up requests must still carry `providerConfig` plus alert context in `conversationContext` through either `metaInstructions` with an alert reference or non-empty `entityPayloads`. Requests that provide neither are rejected.

## Path parameters

- `threadId` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `Org-Access` boolean
- `Account-Name` string

## Request body

- AiAssistantsPutSchema
  - `userQuestion` string, required — A follow-up question about the alert context associated with the thread.
  - `assistantType` string — Optional compatibility field for the existing public route. If supplied, the only supported value is `general`.
  - `conversationContext` object, required — Alert-specific context for the assistant request. Provide either `metaInstructions` with an alert reference such as `{alertId:12345}` or at least one entry in `entityPayloads`. If neither is provided, the request is rejected.
    - `metaInstructions` string — Alert reference used to scope the assistant to the target alert. Use this when you want to pass the alert ID through instructions, for example `User is asking about this alert? {alertId:12345}`.
    - `entityPayloads` object[] — Alert-specific payload objects supplied to the assistant. Use this when you want to send the alert payload directly instead of relying on `metaInstructions`.
    - `entities` object[] — Legacy entity list. Send an empty array when unused.
  - `providerConfig` object, required — Provider and model configuration for the assistant request.
    - `provider` string, required — LLM provider, such as `openai` or `bedrock`.
    - `modelConfig` object, required
      - `type` string, required — Model identifier, such as `default` (Bedrock — resolves to the current production model) or a pinned variant.
  - `history` object[] — Optional prior assistant responses for follow-up turns.

## Response `200`

No Error (AI Assistants continue thread)

- object
  - `data` AiAssistantsPutResponseSchema
    - `data` unknown

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/revisions/7015f76895f2/schema)
