prompts

List prompts

Returns every prompt belonging to the active project, optionally filtered to a single monitor. The response is paginated.

get/api/v1/prompts

Request

  • Base URL: https://pineprompt.com
  • URL: https://pineprompt.com/api/v1/prompts
  • Auth: HTTP bearer

Query parameters

monitor_idinteger
Example:271

Limit results to a single monitor.

pageinteger
Example:1

The page number to return. Defaults to 1.

per_pageinteger
Example:25

The number of items per page. Defaults to 25, maximum 100.

sort_by'created_at' | 'updated_at'

The column to sort by. Defaults to created_at.

sort_order'asc' | 'desc'

The direction to sort by. Each endpoint has its own default.

includestring
Example:monitor

A comma-separated list of related resources to include in the response. Allowed values: monitor, monitor.project, monitor.project.organization.

Headers

Pineprompt-Project-Idinteger required

The active project's numeric ID.

Response

OK

Example response

{
  "data": [
    {
      "id": 901,
      "monitor_id": 271,
      "prompt": "What are the best AI visibility monitoring tools?",
      "is_active": true,
      "monitor": {
        "id": 271,
        "project_id": 42,
        "name": "Brand visibility (US)",
        "platforms": [
          "chatgpt",
          "perplexity",
          "claude"
        ],
        "country": "US",
        "language": "en",
        "is_active": true,
        "project": {
          "id": 42,
          "organization_id": 7,
          "name": "Acme Marketing",
          "brand_id": 555,
          "organization": {
            "id": 7,
            "name": "Acme Inc.",
            "created_at": "2026-05-15T09:11:42+00:00",
            "updated_at": "2026-05-15T09:11:42+00:00"
          },
          "created_at": "2026-05-15T09:11:42+00:00",
          "updated_at": "2026-05-15T09:11:42+00:00"
        },
        "created_at": "2026-05-15T09:11:42+00:00",
        "updated_at": "2026-05-15T09:11:42+00:00"
      },
      "created_at": "2026-05-15T09:11:42+00:00",
      "updated_at": "2026-05-15T09:11:42+00:00"
    }
  ],
  "links": {
    "first": "https://pineprompt.com/api/v1/monitors?page=1",
    "last": "https://pineprompt.com/api/v1/monitors?page=1"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://pineprompt.com/api/v1/monitors",
    "per_page": 25,
    "to": 1,
    "total": 1,
    "links": [
      {
        "url": "https://pineprompt.com/api/v1/monitors?page=2",
        "label": "2",
        "page": 2
      }
    ]
  }
}

Changes

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