getPrompt
Stub — This method is not implemented yet. Planned for a future ImagineoAI release.
Retrieves a single prompt by its ID.
Available in: Browser & Node.js SDK (stub)
Signature
async getPrompt(id: string): Promise<GetPromptResponse>
Parameters
id: string— The prompt ID.
Returns
- Endpoint:
/api/v1/prompts/{id} - Response:
— The updated prompt object (see
{ prompt: Prompt }Prompttype in the API reference).
Errors
- Throws
"not implemented yet."
Example
await client.getPrompt("prompt-id"); // Throws for now