---
title: "Generate AI completions from raw prompt"
method: POST
path: "/api/v1/ai/completions/rawPrompt"
tags: ["AI"]
---

# Generate AI completions from raw prompt

`POST /api/v1/ai/completions/rawPrompt`

Processes raw prompts directly through the AI service without content preprocessing. Supports both streaming and non-streaming responses.

## Response `200`

Raw completion generated successfully

- object

## Other responses

- `400` — Bad request - Missing or invalid prompt
- `401` — Unauthorized - User not authenticated
- `500` — Internal server error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
