Draft a document from an industry prompt
Generates a complete document from one of your industry's prompts in a single synchronous call. The prompt is resolved server-side against your organization's industry, grounded in your knowledge base, and written in the requested content type with your brand kit and product-line context applied. The document is not stored as content: the response carries it as GitHub Flavored Markdown with footnote citations, together with the sources behind it and a summary of what retrieval found, so you can review it or store it as content in a follow-up call. The call typically takes 10–30 seconds — set your client timeout accordingly. Each returned document consumes credits like an ad-hoc content generation; the balance is checked first, so an insufficient balance is a 402 before anything runs, and no credits are consumed unless a document is returned. A prompt that is not part of your organization's industry is a 404; an organization with no industry assigned is a 422. Requires the GEO product.
Request
- Base URLhttps://apiv2.senso.ai/api/v1
- AuthAPI key in header X-API-Key
Request body
Response
The generated document with its citations and a summary of what retrieval found.
Example response
{
"prompt_text": "How do I optimize my website content for AI search engines?",
"content_type": {
"name": "Article"
},
"citations": [
{
"id": "cite-1"
}
],
"usage": {
"provider": "openai"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.