Skip to main content
GET
List Prompts

Authorizations

X-API-Key
string
header
required

Query Parameters

project_id
string

Required if using a company api key

Example:

"or_f45b94ba-5e35-4982-93ed-285e72ee14eb"

topic_id
string
tag_id
string
is_archived
string

Filter by archived status. Omit (or false) to return only active prompts; true to return only archived prompts.

start_date
string<date>

Only return prompts created on or after this date (UTC).

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
end_date
string<date>

Only return prompts created on or before this date (UTC).

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$

Free-text search over prompt text. Fuzzy and word-order-insensitive; results are ordered by relevance (best match first).

Required string length: 1 - 500
limit
number
default:1000
Required range: 1 <= x <= 10000
offset
number
default:0
Required range: x >= 0

Response

200 - application/json

Success

Success

data
object[]
required
total_count
number
required

Total number of matching prompts, ignoring pagination

Example:

42

totalCount
number
required
deprecated

Total number of matching prompts, ignoring pagination

Example:

42

search_truncated
boolean

Only present when search is used. True when the project has more prompts than the search scan limit (20000); only the most recent 20000 prompts were searched, so matches may be missing and total_count may undercount.