Skip to main content
GET
/
v2
/
prompts
List prompts
curl --request GET \
  --url https://api.arize.com/v2/prompts \
  --header 'Authorization: Bearer <token>'
{
  "prompts": [
    {
      "id": "prompt_001",
      "name": "My Prompt",
      "description": "A prompt for customer support",
      "space_id": "space_12345",
      "created_at": "2024-01-01T12:00:00Z",
      "updated_at": "2024-01-02T12:00:00Z",
      "created_by_user_id": "user_12345",
      "tags": [
        "customer-support",
        "help-desk"
      ]
    }
  ],
  "pagination": {
    "next_cursor": "cursor_12345",
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format

Query Parameters

space_id
string

Filter search results to a particular space ID A universally unique identifier

limit
integer
default:50

Maximum items to return

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor returned from a previous response (pagination.next_cursor). Treat it as an unreadable token; do not attempt to parse or construct it.

Response

Returns a list of prompt objects

prompts
object[]
required

A list of prompts

pagination
object
required

Pagination metadata for cursor-based navigation