Prompts

Generate reviewable onboarding prompts without accepting them

Reference for suggestOnboardingPrompts.

POST/api/v1/projects/{projectId}/prompts/suggestions
On this page

Authentication and scopes

#

Send your workspace API key in the Authorization: Bearer YOUR_API_KEY header. This operation requires write and generate.

See Authentication for key setup and project access.

Path parameters

#
ParameterTypeRequirementDetails
projectIdstringRequiredFormat: uuid.

Request body

#

The JSON body accepts the schema below.

Complete request body schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Example values are placeholders. Replace resource IDs, content, and revision values with your own before sending the request.

Response envelope

#

Successful JSON responses return the operation’s result under data and a request identifier under meta.requestId. Collection results include their own pagination or coverage metadata. The payload inside data varies by operation.

The OpenAPI document defines shared success and error envelopes. It does not define every operation’s returned data fields or promise that every operation returns every listed success status. See the request and response guide and workflow examples for documented payloads.

Errors and retries

#

Check the HTTP status and stable error.code. Keep meta.requestId when investigating a failed request. Follow Retry-After when it is present, and check existing job or resource state before retrying a write.

See Errors and limits for validation, permissions, conflicts, and temporary queue denials.

API documentation