---
title: "Retrieve prompt"
method: GET
path: "/marketing/aeo/2026-09-beta/prompts/{promptId}"
tags: ["Basic"]
---

# Retrieve prompt

`GET /marketing/aeo/2026-09-beta/prompts/{promptId}`

Retrieve detailed information about a specific prompt, including its visibility settings, using the prompt's unique identifier. This endpoint is useful for obtaining insights into a prompt's configuration and its associated data within the specified date range.

## Path parameters

- `promptId` string, required

## Query parameters

- `endDate` string
- `startDate` string

## Response `200`

successful operation

- PublicPromptWithVisibility
  - `aiAssistants` string[], required — An array of AI assistants associated with the prompt.
  - `businessUnitId` string, required — The identifier for the business unit associated with the prompt.
  - `buyingJourneyPhase` string — The phase of the buying journey that the prompt is associated with.
  - `createdAt` string, date-time, required — The date and time when the prompt was created, in ISO 8601 format.
  - `id` string, required — The unique identifier for the prompt.
  - `language` string — The language in which the prompt is written.
  - `prompt` string, required — The text of the prompt.
  - `visibility` string — An object representing the visibility settings of the prompt.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/marketing-aeo.md) · [All operations](https://skmtc.net/hubspot/apis/marketing-aeo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/marketing-aeo/revisions/511ca1e59a4c/schema)
