Prompts

Create Prompt

post/console/v1/prompts

Request

  • Base URL
    https://statsigapi.net
  • URL
    https://statsigapi.net/console/v1/prompts
  • Auth
    API key in header STATSIG-API-KEY

Request body

namestring required

Name for the AI Config.

displayNamestring

Optional display name for the AI Config.

descriptionstring

Description for the AI Config.

teamstring

Team name.

teamIDstring

Team ID.

tagsstring[]

Optional tags to associate with the AI Config.

creatorIDstring nullable
creatorEmailstring nullable

Example request

{
  "name": "my_prompt",
  "owner": {
    "ownerID": "user123",
    "ownerType": "USER",
    "ownerName": "John Doe",
    "ownerEmail": "owner123@test.com"
  }
}

Response

Create Prompt

messagestring required

A simple string explaining the result of the operation.

Changes

No recorded changes to this operation across all 41 revisions of this API.