GET
/
v1
/
prompt_engine
import { JigsawStack } from "jigsawstack";

const jigsaw = JigsawStack({ apiKey: "your-api-key" });

const response = await jigsaw.prompt_engine.list({
  "limit": "10"
})
{
  "success": true,
  "prompt_engines": [
        {
              "id": "5c3c2736-17e1-4536-9ccf-e8d72ca483f1",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T18:20:43.778267+00:00"
        },
        {
              "id": "278515ab-23cb-4675-8041-614f0d268c68",
              "prompt": "Tell me a story about {about}",
              "inputs": null,
              "return_prompt": null,
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:49:00.296775+00:00"
        },
        {
              "id": "12ca390e-0eb6-4bf2-a727-67f2ef79cd39",
              "prompt": "Tell me a story about {about}",
              "inputs": null,
              "return_prompt": null,
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:48:13.305085+00:00"
        },
        {
              "id": "48ad4a83-82c9-4356-89f4-c48e43fa6b81",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:37:53.155681+00:00"
        },
        {
              "id": "c62d8a22-d75c-4d9f-b4ee-5673f154be76",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:37:32.744933+00:00"
        },
        {
              "id": "f2f3eb09-9754-4376-8824-c7231f3b2920",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:02:04.481774+00:00"
        },
        {
              "id": "85e919c1-717b-4b4f-9d0d-2e91968c102d",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:58:32.641838+00:00"
        },
        {
              "id": "8ff7b640-a770-420c-b5a3-46ea7f73ce17",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:51:50.142939+00:00"
        },
        {
              "id": "a92977d9-75e1-41c5-881c-8e1879b594cb",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:51:20.205492+00:00"
        },
        {
              "id": "72f45904-7c70-4bd7-8a19-05209784b9b8",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:50:56.903564+00:00"
        }
  ],
  "page": 0,
  "limit": 10,
  "has_more": true,
  "_usage": {
        "input_tokens": 4,
        "output_tokens": 650,
        "inference_time_tokens": 447,
        "total_tokens": 1101
  }
}
🎉 Exciting News! We’ve enhanced Prompt Engine with powerful new capabilities. Meet Interfaze - our advanced LLM that takes your AI workflows to the next level, built for debvelopers, with improved performance better organization, and enhanced features.
x-api-key
string
required
Your JigsawStack API key

Query

limit
string
default:"30"
The maximum number of prompts to be returned.
page
string
default:"1"
The page to return.

Header

x-api-key
string
required
Your JigsawStack API key

Response

success
boolean
Indicates whether the call was successful.
_usage
object
Usage information for the API call.
import { JigsawStack } from "jigsawstack";

const jigsaw = JigsawStack({ apiKey: "your-api-key" });

const response = await jigsaw.prompt_engine.list({
  "limit": "10"
})
{
  "success": true,
  "prompt_engines": [
        {
              "id": "5c3c2736-17e1-4536-9ccf-e8d72ca483f1",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T18:20:43.778267+00:00"
        },
        {
              "id": "278515ab-23cb-4675-8041-614f0d268c68",
              "prompt": "Tell me a story about {about}",
              "inputs": null,
              "return_prompt": null,
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:49:00.296775+00:00"
        },
        {
              "id": "12ca390e-0eb6-4bf2-a727-67f2ef79cd39",
              "prompt": "Tell me a story about {about}",
              "inputs": null,
              "return_prompt": null,
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:48:13.305085+00:00"
        },
        {
              "id": "48ad4a83-82c9-4356-89f4-c48e43fa6b81",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:37:53.155681+00:00"
        },
        {
              "id": "c62d8a22-d75c-4d9f-b4ee-5673f154be76",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:37:32.744933+00:00"
        },
        {
              "id": "f2f3eb09-9754-4376-8824-c7231f3b2920",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T02:02:04.481774+00:00"
        },
        {
              "id": "85e919c1-717b-4b4f-9d0d-2e91968c102d",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:58:32.641838+00:00"
        },
        {
              "id": "8ff7b640-a770-420c-b5a3-46ea7f73ce17",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:51:50.142939+00:00"
        },
        {
              "id": "a92977d9-75e1-41c5-881c-8e1879b594cb",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:51:20.205492+00:00"
        },
        {
              "id": "72f45904-7c70-4bd7-8a19-05209784b9b8",
              "prompt": "Tell me a story about {about}",
              "inputs": [
                    {
                          "key": "about",
                          "optional": false
                    }
              ],
              "return_prompt": "Return the result in a markdown format",
              "return_prompt_type": "string",
              "created_at": "2025-09-09T01:50:56.903564+00:00"
        }
  ],
  "page": 0,
  "limit": 10,
  "has_more": true,
  "_usage": {
        "input_tokens": 4,
        "output_tokens": 650,
        "inference_time_tokens": 447,
        "total_tokens": 1101
  }
}