get
https://api.notdiamond.ai/v2/prompt/adaptStatus/
Check the status of a prompt adaptation run.
Use this endpoint to poll the status of your adaptation request. Processing is asynchronous, so you'll need to check periodically until the status indicates completion.
Status Values:
created: Initial state, not yet processingqueued: Waiting for processing capacity (check queue_position)processing: Currently optimizing promptscompleted: All target models have been processed successfullyfailed: One or more target models failed to process
Polling Recommendations:
- Poll every 30-60 seconds during processing
- Check queue_position if status is 'queued' to estimate wait time
- Stop polling once status is 'completed' or 'failed'
- Use GET /v2/prompt/adaptResults to retrieve results after completion
Queue Position:
- Only present when status is 'queued'
- Lower numbers mean earlier processing (position 1 is next)
- Typical wait time: 1-5 minutes per position
Note: This endpoint only returns status information. To get the actual adapted prompts and evaluation results, use GET /v2/prompt/adaptResults once status is 'completed'.
Checks the status of a prompt adaptation run. Learn more
