status field indicates whether generation is still in progress (Generating) or finished (Completed). The outline field is only populated once the status reaches Completed.
Outline generation is asynchronous. After calling Generate Proposal Outline, poll this endpoint or listen for the
Proposal Outline Status Changed webhook to know when the outline is ready.Request
GET /public/api/proposals/{ProposalId}/ai/outline
Headers
Must be
application/json.Your API Application Key.
Your User API Key.
Current UTC timestamp in RFC 7231 format.
HMAC-SHA256 signature, Base64-encoded.
Path parameters
Unique identifier of the proposal to retrieve the AI-generated outline for.
Response
Success
The ID of the proposal for which the outline is returned.
Current generation status. Possible values:
Generating, Completed.The AI-generated outline text. Only present when
status is Completed.Error codes
| Code | Meaning |
|---|---|
| 401 | Not authorized — invalid credentials or incorrect HMAC signature. |
| 403 | Forbidden — your account does not have permission for this API call. |
| 404 | Proposal or outline not found. |
Example
Response (Completed)
Response (Generating)