GET
/
v1
/
prompt
/
list
curl --request GET \
  --url https://api.getscorecard.ai/v1/prompt/list \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "org_id": "<string>",
      "user_id": "<string>",
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "is_archived": true,
      "prompt_template": "<string>",
      "model_params": {},
      "root_id": "<string>",
      "parent_id": "<string>",
      "merge_parent_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "project_id": 1
    }
  ],
  "total": 123,
  "current_page": "<string>",
  "current_page_backwards": "<string>",
  "previous_page": "<string>",
  "next_page": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

project_id
integer | null

ID of Project to filter by.

cursor
string | null

Cursor for the next page

size
integer
default:
50

Page size

Required range: 0 < x < 100

Response

200
application/json
Successful Response
items
object[]
required
total
integer | null

Total items

current_page
string | null

Cursor to refetch the current page

current_page_backwards
string | null

Cursor to refetch the current page starting from the last item

previous_page
string | null

Cursor for the previous page

next_page
string | null

Cursor for the next page