Skip to main content
GET
/
console
/
v1
/
prompts
List Prompts
curl --request GET \
  --url https://statsigapi.net/console/v1/prompts \
  --header 'STATSIG-API-KEY: <api-key>'
{
  "message": "<string>",
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "idType": "<string>",
      "description": "<string>",
      "lastModifierID": "<string>",
      "lastModifiedTime": 123,
      "lastModifierEmail": "<string>",
      "lastModifierName": "<string>",
      "creatorID": "<string>",
      "createdTime": 123,
      "creatorName": "<string>",
      "creatorEmail": "<string>",
      "tags": [
        "<string>"
      ],
      "targetApps": [
        "<string>"
      ],
      "holdoutIDs": [
        "<string>"
      ],
      "team": "<string>",
      "teamID": "<string>",
      "version": 123
    }
  ],
  "pagination": {
    "itemsPerPage": 123,
    "pageNumber": 123,
    "nextPage": "<string>",
    "previousPage": "<string>",
    "totalItems": 123,
    "all": "<string>"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Query Parameters

limit
integer

Results per page

Example:

10

page
integer

Page number

Example:

1

Response

List Prompts Success

message
string
required

A simple string explaining the result of the operation.

data
object[]
required

Array of results returned by pagination limit.

pagination
object
required

Pagination metadata for checking if there is next page for example.

I