Chanl

Get Prompt

Get a single prompt by ID, including current content and variable definitions.

Request
curl -X GET "https://platform.chanl.ai/api/v1/prompts/{promptId}" \
  -H "X-API-Key: chanl_key_..."
const { data } = await chanl.prompts.get(promptId);