Prompts

✨ List prompts

Changed on

List all prompts.

get/api/prompts/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/prompts/
  • Auth
    API key in header Authorization

Query parameters

orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

searchstring

A search term.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes