Prompts

List prompts

Your account's prompts at their latest versions, newest first. Paged with limit, order and after (a prompt id).

get/prompts

Request

  • Base URL
    https://api.openscale.so/v1
  • URL
    https://api.openscale.so/v1/prompts
  • Auth
    HTTP bearer

Query parameters

limitinteger
order'asc' | 'desc'
afterstring

Response

A list of prompts.

object'list'
first_idstring nullable
last_idstring nullable
has_moreboolean

Example response

{
  "data": [
    {
      "id": "pmpt_9f2c...",
      "version": "2"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.