Skip to main content
GET
/
api
/
prompts
/
user
Get all prompts for the current user
curl --request GET \
  --url https://your-instance.example.com/api/prompts/user \
  --header 'Authorization: Bearer <token>'
[
  {
    "_id": "5f7b1c2e8a1d4e0012c3b4a5",
    "name": "Leasing follow-up assistant",
    "prompt": "<prompt>...</prompt>",
    "description": "Follow up with leads 24h after their last response.",
    "temperature": 0.7,
    "responseTime": 45,
    "isHidden": false,
    "organizationId": "64a1b2c3d4e5f60012345678",
    "userId": "64a1b2c3d4e5f60012345679"
  }
]

Authorizations

Authorization
string
header
required

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

Response

User prompts returned

Prompt document as stored in the Prompt collection. Returned shape varies slightly per endpoint (some list/summary endpoints project a subset of fields).

_id
string
name
string
prompt
string

Prompt body. Omitted (i.e. stripped) for non-admin callers when isHidden is true.

description
string
temperature
number
responseTime
number
isHidden
boolean
tools
object[]
toolConfigs
object
organizationId
string
userId
string
copiedFrom
string | null
copiedFromName
string | null
copiedFromOrg
string | null
createdAt
string<date-time>
updatedAt
string<date-time>