curl --request GET \
--url https://server.promptwatch.com/api/v2/actions \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/actions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://server.promptwatch.com/api/v2/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://server.promptwatch.com/api/v2/actions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://server.promptwatch.com/api/v2/actions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://server.promptwatch.com/api/v2/actions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/actions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"actions": [
{
"id": "6ba7b820-9dad-11d1-80b4-00c04fd430c8",
"projectId": "6ba7b821-9dad-11d1-80b4-00c04fd430c8",
"type": "SETUP",
"status": "todo",
"severity": "high",
"title": "Connect your sitemap",
"description": "Add a sitemap so we can crawl your site.",
"reasoning": "",
"geoImpact": null,
"data": {
"type": "SETUP",
"setupType": "SITEMAP",
"status": "NOT_CONFIGURED"
},
"completedAt": null,
"dismissedAt": null,
"createdAt": "2026-06-01T12:00:00.000Z",
"updatedAt": "2026-06-01T12:00:00.000Z"
}
],
"total": 1,
"page": 1,
"size": 50,
"totalPages": 1
}{
"error": "Bad Request",
"code": "DATE_RANGE_TOO_LARGE",
"message": "Date range cannot exceed 90 days"
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "UNIFIED_ACTION_NOT_FOUND",
"message": "Action not found"
}List action items
Returns paginated action items for the project. Defaults to non-dismissed actions (page 1, size 50). Pass status=dismissed with an optional startDate to fetch dismissed actions.
curl --request GET \
--url https://server.promptwatch.com/api/v2/actions \
--header 'X-API-Key: <api-key>'import requests
url = "https://server.promptwatch.com/api/v2/actions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://server.promptwatch.com/api/v2/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://server.promptwatch.com/api/v2/actions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://server.promptwatch.com/api/v2/actions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://server.promptwatch.com/api/v2/actions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.promptwatch.com/api/v2/actions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"actions": [
{
"id": "6ba7b820-9dad-11d1-80b4-00c04fd430c8",
"projectId": "6ba7b821-9dad-11d1-80b4-00c04fd430c8",
"type": "SETUP",
"status": "todo",
"severity": "high",
"title": "Connect your sitemap",
"description": "Add a sitemap so we can crawl your site.",
"reasoning": "",
"geoImpact": null,
"data": {
"type": "SETUP",
"setupType": "SITEMAP",
"status": "NOT_CONFIGURED"
},
"completedAt": null,
"dismissedAt": null,
"createdAt": "2026-06-01T12:00:00.000Z",
"updatedAt": "2026-06-01T12:00:00.000Z"
}
],
"total": 1,
"page": 1,
"size": 50,
"totalPages": 1
}{
"error": "Bad Request",
"code": "DATE_RANGE_TOO_LARGE",
"message": "Date range cannot exceed 90 days"
}{
"error": "Unauthorized",
"message": "Missing or invalid X-API-Key header."
}{
"code": "UNIFIED_ACTION_NOT_FOUND",
"message": "Action not found"
}Authorizations
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Query Parameters
Filter by status. Repeat for multiple: status=suggested&status=todo. Pass status=dismissed to fetch dismissed actions.
suggested, dismissed, todo, in_progress, done Filter by action type. Repeat for multiple: type=SETUP&type=CONTENT_GAP
WEBSITE_PERFORMANCE, WEBSITE_HEALTH, CONTENT_GAP, SENTIMENT, REDDIT_SOCIAL, SETUP, UNTRACKED_PAGE, UNTAPPED_PAGE, OFFSITE_MENTION, CUSTOM Filter by severity. Repeat for multiple: severity=critical&severity=high
critical, high, medium, low Page size (default 50, max 200)
1 <= x <= 200Page number (1-based, default 1)
x >= 1Return dismissed actions dismissed on or after this date (YYYY-MM-DD, UTC). Only applied when status=dismissed. Defaults to the last 14 days when omitted.
Response
Default Response