Appearance
Get prompts.
GET
/backend/v1/prompts
Retrieves a list of prompts that match the given criteria, with the option to adjust the limit for more results.
Authorizations
HTTPBearer
TypeHTTP (bearer)
Parameters
Query Parameters
cursor
Pass cursor from response to get next or prev page.
search
Only return results that match the given text.
limit
Limits the amount of results.
Typeinteger
default
10
maximum
100
minimum
1
ascending
Whether results should be sorted in ascending order.
Typeboolean
default
false
before
Only return results from before this timestamp.
after
Only return results from after this timestamp.
onlyUser
Only returns prompts belonging to the authenticated user.
Typeboolean
default
true
outcomes
Repeated query parameters of outcomes. Filters results by these outcomes.
default
endpointId
Only returns prompts sent to specified endpoints.
Typearray
default
projectId
Only returns prompts sent to specified projects.
Typearray
default
providerId
Only returns prompts sent to specified providers.
Typearray
default
type
Only returns prompts that match the given types.
Typearray
default
userId
Only return prompts sent by the given user(s).
Typearray
default
Responses
Successful Response
application/json
JSON
{
"next": "string",
"prev": "string",
"prompts": [
]
}