{
  "openapi": "3.0.1",
  "info": {
    "title": "Prompt Finder: Proven Prompts for Any Task",
    "description": "Find the best AI prompt for your task, with proof. It tests candidate prompts on your own examples using your own AI key (Claude, OpenAI, Gemini or any OpenAI-compatible API), scores the results blind against your success criteria, and backs every prompting technique with published research.",
    "version": "0.1",
    "x-build-id": "57G1xx4Yv1jxVG7oD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/padmaraj1994~prompt-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-padmaraj1994-prompt-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/padmaraj1994~prompt-finder/runs": {
      "post": {
        "operationId": "runs-sync-padmaraj1994-prompt-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/padmaraj1994~prompt-finder/run-sync": {
      "post": {
        "operationId": "run-sync-padmaraj1994-prompt-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "task"
        ],
        "properties": {
          "task": {
            "title": "Your task",
            "type": "string",
            "description": "Describe what you need the AI to do, as you would to a colleague. For example: \"Write a short cold email to a SaaS company's CTO offering our QA services\"."
          },
          "sector": {
            "title": "Sector or context",
            "type": "string",
            "description": "Optional, e.g. \"B2B software services\" or \"healthcare\"."
          },
          "testInputs": {
            "title": "Test inputs",
            "type": "string",
            "description": "1-3 real examples the prompt will be used on, such as a lead's details or a document excerpt. Separate examples with a line containing only ---. Leave empty and the AI invents 2 realistic ones."
          },
          "successCriteria": {
            "title": "What a great result looks like",
            "type": "string",
            "description": "One criterion per line, e.g. \"Under 120 words\" or \"Mentions one specific detail about the company\". Leave empty and the AI drafts 4-5 criteria."
          },
          "provider": {
            "title": "AI provider for testing",
            "enum": [
              "anthropic",
              "openai",
              "gemini",
              "openai-compatible",
              "none"
            ],
            "type": "string",
            "description": "Prompts are tested with your own account, so you pay the provider directly for those requests.",
            "default": "anthropic"
          },
          "apiKey": {
            "title": "API key",
            "type": "string",
            "description": "Your key for the provider above. Stored encrypted, used only for this run's test requests, and never written to the output or logs. Without a key, prompts are ranked by research and community signals instead of tested."
          },
          "model": {
            "title": "Model",
            "type": "string",
            "description": "Leave empty for the default: claude-opus-5-5 on Anthropic (best quality), or a current small model on OpenAI or Gemini. For a much cheaper test on Anthropic, enter claude-haiku-5-5."
          },
          "apiBaseUrl": {
            "title": "API base URL",
            "type": "string",
            "description": "Only for \"Other OpenAI-compatible API\", e.g. https://openrouter.ai/api/v1 or http://your-server:11434/v1."
          },
          "maxPromptsToTest": {
            "title": "Prompts to test",
            "minimum": 2,
            "maximum": 6,
            "type": "integer",
            "description": "Including the plain-request baseline. Each prompt costs two AI requests per test input: one to run it, one to score it.",
            "default": 5
          },
          "minSecondsBetweenRequests": {
            "title": "Seconds between AI requests",
            "minimum": 0,
            "maximum": 120,
            "type": "integer",
            "description": "Only for free tiers with strict rate limits; 0 sends requests as fast as the provider allows.",
            "default": 0
          },
          "includeCommunityPrompts": {
            "title": "Include community prompts",
            "type": "boolean",
            "description": "Search LangChain Hub for related prompts, with their likes and downloads.",
            "default": true
          },
          "includeResearch": {
            "title": "Include research evidence",
            "type": "boolean",
            "description": "Look up published studies on each prompting technique (OpenAlex and arXiv).",
            "default": true
          },
          "papersPerTechnique": {
            "title": "Papers per technique",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many studies to show for each technique.",
            "default": 2
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}