API Documentation
Web Scrape
Web Search
Prompt Engine
Speech to Text
File Store
Prompt Engine
List Prompts
List all prompts in your project.
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": "0739572e-a0e2-4e7c-972c-3352b697fc91",
"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-05-23T17:43:27.641541+00:00"
},
{
"id": "f1951057-9de3-48de-9e26-9ce270d1b38b",
"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-05-22T23:02:56.066965+00:00"
},
{
"id": "b3cfc6ee-13f8-4e94-b6b3-d55009810b3d",
"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-05-22T04:35:06.211182+00:00"
},
{
"id": "49093ef4-ed72-41d6-9771-4a1298b59aa0",
"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-05-02T04:01:42.926031+00:00"
},
{
"id": "d9f4d7ad-30ee-4479-98d9-64eaa477dd02",
"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-05-02T02:37:10.137294+00:00"
},
{
"id": "a0d8374a-7914-41d9-ae36-707cfcc7b7bb",
"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-05-02T02:27:26.121562+00:00"
},
{
"id": "66954c1f-78ce-453e-aeb0-5b645a4a5482",
"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-05-01T18:50:44.693271+00:00"
},
{
"id": "a323a9c0-cb9b-4495-8ed0-166b73d04231",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:41.157664+00:00"
},
{
"id": "85cfd7f8-9ee0-4006-b5ce-372f1f02a12a",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan ? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:10.271574+00:00"
},
{
"id": "ee21f4a4-b2dc-4aa8-99f7-eb16b72693a0",
"prompt": "generate a long intro letter to {name} based on information you find of them what they likes",
"inputs": [
{
"key": "name",
"optional": false
}
],
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:26:25.527387+00:00"
}
],
"page": 0,
"limit": 10,
"has_more": true,
"_usage": {
"input_tokens": 4,
"output_tokens": 753,
"inference_time_tokens": 217,
"total_tokens": 974
}
}
Query
The maximum number of prompts to be returned.
The page to return.
Header
Your JigsawStack API key
Response
Indicates whether the call was successful.
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": "0739572e-a0e2-4e7c-972c-3352b697fc91",
"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-05-23T17:43:27.641541+00:00"
},
{
"id": "f1951057-9de3-48de-9e26-9ce270d1b38b",
"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-05-22T23:02:56.066965+00:00"
},
{
"id": "b3cfc6ee-13f8-4e94-b6b3-d55009810b3d",
"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-05-22T04:35:06.211182+00:00"
},
{
"id": "49093ef4-ed72-41d6-9771-4a1298b59aa0",
"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-05-02T04:01:42.926031+00:00"
},
{
"id": "d9f4d7ad-30ee-4479-98d9-64eaa477dd02",
"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-05-02T02:37:10.137294+00:00"
},
{
"id": "a0d8374a-7914-41d9-ae36-707cfcc7b7bb",
"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-05-02T02:27:26.121562+00:00"
},
{
"id": "66954c1f-78ce-453e-aeb0-5b645a4a5482",
"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-05-01T18:50:44.693271+00:00"
},
{
"id": "a323a9c0-cb9b-4495-8ed0-166b73d04231",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:41.157664+00:00"
},
{
"id": "85cfd7f8-9ee0-4006-b5ce-372f1f02a12a",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan ? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:10.271574+00:00"
},
{
"id": "ee21f4a4-b2dc-4aa8-99f7-eb16b72693a0",
"prompt": "generate a long intro letter to {name} based on information you find of them what they likes",
"inputs": [
{
"key": "name",
"optional": false
}
],
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:26:25.527387+00:00"
}
],
"page": 0,
"limit": 10,
"has_more": true,
"_usage": {
"input_tokens": 4,
"output_tokens": 753,
"inference_time_tokens": 217,
"total_tokens": 974
}
}
Was this page helpful?
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": "0739572e-a0e2-4e7c-972c-3352b697fc91",
"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-05-23T17:43:27.641541+00:00"
},
{
"id": "f1951057-9de3-48de-9e26-9ce270d1b38b",
"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-05-22T23:02:56.066965+00:00"
},
{
"id": "b3cfc6ee-13f8-4e94-b6b3-d55009810b3d",
"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-05-22T04:35:06.211182+00:00"
},
{
"id": "49093ef4-ed72-41d6-9771-4a1298b59aa0",
"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-05-02T04:01:42.926031+00:00"
},
{
"id": "d9f4d7ad-30ee-4479-98d9-64eaa477dd02",
"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-05-02T02:37:10.137294+00:00"
},
{
"id": "a0d8374a-7914-41d9-ae36-707cfcc7b7bb",
"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-05-02T02:27:26.121562+00:00"
},
{
"id": "66954c1f-78ce-453e-aeb0-5b645a4a5482",
"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-05-01T18:50:44.693271+00:00"
},
{
"id": "a323a9c0-cb9b-4495-8ed0-166b73d04231",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:41.157664+00:00"
},
{
"id": "85cfd7f8-9ee0-4006-b5ce-372f1f02a12a",
"prompt": "Hey there! I was just wondering if you might be able to suggest some cool places to visit in Japan ? I'm thinking of going g sometime next year, and I'd love your input if that's alright!",
"inputs": null,
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:27:10.271574+00:00"
},
{
"id": "ee21f4a4-b2dc-4aa8-99f7-eb16b72693a0",
"prompt": "generate a long intro letter to {name} based on information you find of them what they likes",
"inputs": [
{
"key": "name",
"optional": false
}
],
"return_prompt": "{\"letter\":\"the letter\"}",
"return_prompt_type": "json",
"created_at": "2025-04-24T16:26:25.527387+00:00"
}
],
"page": 0,
"limit": 10,
"has_more": true,
"_usage": {
"input_tokens": 4,
"output_tokens": 753,
"inference_time_tokens": 217,
"total_tokens": 974
}
}
Assistant
Responses are generated using AI and may contain mistakes.