Skip to main content
POST
/
api
/
signals
/
types
/
{id}
/
reset-prompt
Reset a signal type's prompts to default
curl --request POST \
  --url https://app.puffle.ai/api/signals/types/{id}/reset-prompt \
  --header 'Authorization: Bearer <token>'
{
  "type": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "label": "<string>",
    "description": "<string>",
    "kind": "structured",
    "structured_type": "hiring",
    "structured_config": {},
    "keywords": [
      "<string>"
    ],
    "disqualifiers": "<string>",
    "scoring_prompt": "<string>",
    "search_prompt": "<string>",
    "color": "<string>",
    "enabled": true,
    "position": 4503599627370495,
    "built_in": true
  }
}

Overview

Restores scoring_prompt and search_prompt on a built_in signal type back to the defaults from @/lib/signals/prompts/registry. Use this after an agent or human has over-tuned a built-in and wants to undo the changes. Only works for the 6 built-in types (Hiring, Funding, Leadership Change, Competitor Mentions, Pain Point, Product Launch). User-created keyword types return 400 with Only built-in signal types can be reset to default.

AI agent notes

This is the internal UI-facing endpoint. Third-party integrations should prefer the v1 public API under /api/v1/signals/types/{id}/reset. See the sibling doc Reset a partner signal type to default prompts for the v1 version on the same concept.Built-in only. User-created keyword types don’t have default prompts to reset to.Other fields are untouched. keywords, disqualifiers, structured_config, enabled, and position stay as-is. Only the two prompt fields are overwritten.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Signal type UUID. Must be a built_in signal type.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Prompts reset to defaults. Returns the full signal type row.

type
object
required