Project
List Prompts
Changed onList the prompts of a project
get/prompts
Request
- Base URLhttps://api.peec.ai/customer/v1
- URLhttps://api.peec.ai/customer/v1/prompts
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or HTTP bearer
Query parameters
project_idstring
Required if using a company api key
Example:or_f45b94ba-5e35-4982-93ed-285e72ee14eb
topic_idstring
tag_idstring
is_archivedstring
Filter by archived status. Omit (or false) to return only active prompts; true to return only archived prompts.
start_datestring date
Only return prompts created on or after this date (UTC).
end_datestring date
Only return prompts created on or before this date (UTC).
searchstring
Free-text search over prompt text. Fuzzy and word-order-insensitive; results are ordered by relevance (best match first).
limitinteger
offsetinteger
Response
Success
Example response
{
"data": [
{
"id": "pr_93f790de-5b7a-45ee-b782-61103c81f20d",
"messages": [
{
"content": "Example Prompt"
}
],
"tags": [
{
"id": "tg_23abec5b-100a-4261-9ee7-1effe68f0149"
}
],
"topic": {
"id": "to_e6b8cdd3-a51b-4d94-a866-28dbe6b830a6"
},
"created_at": "2025-09-22"
}
],
"total_count": 42,
"totalCount": 42
}Changes
- breaking
for the
queryrequest parameterlimit, the type changed fromnumbertointeger - breaking
for the
queryrequest parameteroffset, the type changed fromnumbertointeger - warning
for the
queryrequest parameteroffset, the max was set to9007199254740991.00 - warning
added the new
MNenum value to the///response property for the response status
- breaking