Read one article
get_articleOne article with its full text in Markdown. Call this after create_article until status is no longer processing: draft means the text is written and in content, error means generation failed — error says why.
Instructions
One article with its full text in Markdown. Call this after create_article until status is no longer processing: draft means the text is written and in content, error means generation failed — error says why. content is empty while it is processing. ready, published and tracked are later steps of a written article: ready means the team approved it for publishing in the app, and its text is in content as well.
PromptEye generates content as well as measuring visibility, and the two make one loop: track the prompts and how often the assistants name the brand on them, generate an article that targets a prompt where the brand is weak, publish it, then measure whether that prompt's visibility and citations move. Generation starts from a content brief: PromptEye fans the target prompt out into the phrases people ask around it, keeps the ones that belong in this article, sets aside the ones that deserve an article of their own, and writes a title and an H2/H3 outline from them. create_content_brief orders one and get_content_brief reads it. create_article then writes the article from a ready brief, from the brand description, the knowledge documents picked for it and the chosen writing style; get_article reads its text and list_articles lists the project's articles, also those added in the app under Content (https://app.prompteye.com/content). Publishing the page is done on the user's own site; publish_article then records the URL it went live at, and requesting indexing and following citations happen in the app. A generated article is a draft to review, and neither it nor its indexing guarantees that an assistant will cite it. Guides: https://app.prompteye.com/help/content/ and https://app.prompteye.com/help/content/article-workflow/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| articleId | Yes | Id of the article, as create_article or list_articles reports it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| error | Yes | Why the last generation failed. null unless status is error; content then still holds the previous version, if there was one. | |
| title | Yes | ||
| prompt | Yes | The target prompt the article was written for. | |
| source | Yes | generated_article when PromptEye wrote it from a brief, uploaded_docx or pasted when it was added in the app. | |
| status | Yes | processing while PromptEye writes it, then draft (the text is in content) or error. ready, published and tracked are later steps the team moves it through in the app. | |
| briefId | Yes | The content brief it was written from. null = text added to the app by hand. | |
| content | Yes | The article text in Markdown, with ## and ### headings. null until it is written. | |
| createdAt | Yes | When the article was created, ISO 8601 in UTC. | |
| projectId | Yes | ||
| updatedAt | Yes | When the article last changed, ISO 8601 in UTC. | |
| publishUrl | Yes | Where the article was published. null until it is. | |
| publishedAt | Yes | When it was published, ISO 8601 in UTC. null until it is. |