Prerequisites
- A Fetch Hive workspace
- A workspace API key if you want to run the public cURL example - see API Keys
Step 1: Create a prompt
Open Prompts in the sidebar, then click Add Prompt. Enter a Name. If your workspace uses categories, you can also choose a Category. Click Save to open the editor.Step 2: Add your first message
In the editor, find the Prompt section and click Add Message. For a minimal prompt, add one short instruction. For example:{{text}}. When your prompt contains variables, you can click Variables to open the Input Values sheet and provide test values before you run it.
Step 3: Test the prompt in the editor
Click Run. The response appears in the Model Response area on the right side of the editor. Use this step to confirm that your prompt behaves the way you expect before you create a prompt deployment. This in-editor run is for dashboard testing. It is not the same as the public API invoke flow.Step 4: Save a named version
Click Save Version in the editor header. Enter a short description of what changed, then save the version. This gives you a named checkpoint you can refer back to later.Step 5: Create a deployment
Click Deploy, then choose Create a Deployment. Enter a Deployment key and save it. This creates the live prompt deployment you can invoke outside the dashboard. Use Deploy and deployment language here. In Fetch Hive, this is the step that makes your prompt available as a prompt deployment through the public API.Step 6: Copy the public invoke snippet
Open More in the sidebar, then click Get Code. Select your Deployment and Variant. The dialog shows a cURL snippet forPOST /v1/prompt/invoke.
The dialog provides a cURL snippet here. The Python and TypeScript tabs are still marked Coming Soon.
YOUR_API_KEY, YOUR_DEPLOYMENT_NAME, YOUR_VARIANT_NAME, and the inputs object with your real values.

