---
title: "Generate another AI post copy with or without context"
method: PUT
path: "/v2/integrations/ai/posts/{thread-id}"
tags: ["Ai Api Service"]
---

# Generate another AI post copy with or without context

`PUT /v2/integrations/ai/posts/{thread-id}`

## Request

- Base URL: `https://app.metricool.com/api`
- URL: `https://app.metricool.com/api/v2/integrations/ai/posts/{thread-id}`
- Auth: none declared

## Path parameters

- `thread-id` string, required

## Request body

- VariantMessageRequest
  - `userPost` string
  - `lastPost` string
  - `extraInstructions` string

## Response `200`

OK

- JsonOkResponseAssistantMessageResponse
  - `metadata` object
  - `page` JsonPaging
    - `next` string
  - `data` AssistantMessageResponse
    - `threadId` string
    - `content` string
    - `contentList` string[]
    - `spentCredits` number, double
    - `userPrompt` string

---

[API](https://skmtc.dev/metricool/apis/metricool-api.md) · [All operations](https://skmtc.dev/metricool/apis/metricool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/metricool/apis/metricool-api/revisions/aea9d9a8415a?raw)
