curl --request GET \
--url https://api.spreadjam.com/v1/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spreadjam.com/v1/actions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spreadjam.com/v1/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://api.spreadjam.com/v1/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 => [
"Authorization: Bearer <token>"
],
]);
$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://api.spreadjam.com/v1/actions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spreadjam.com/v1/actions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spreadjam.com/v1/actions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"actions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "page_edit",
"problem": "list_absent",
"title": "<string>",
"why": "<string>",
"impact": "high",
"rank": 123,
"targetUrl": "<string>",
"status": "suggested",
"opportunityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
],
"countsByStatus": {
"suggested": 123,
"in_progress": 123,
"sent": 123,
"done": 123,
"verified": 123,
"unverified": 123,
"dismissed": 123,
"superseded": 123
},
"pageInfo": {
"limit": 100,
"hasNextPage": true,
"totalCount": 123,
"nextCursor": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}List actions
The active GEO project’s Plan, highest priority first, with how many actions are in each status. Superseded actions are left out unless includeSuperseded=true or status names them. Paged: limit (default 100, at most 100) and cursor; pageInfo says whether more pages follow and countsByStatus covers every page. Actions are the Plan: everything research recommends (new pages, page edits, technical fixes, outreach). Opportunities (/v1/opportunities) are the article pipeline behind new_page actions: when Jam drafts a new_page action it creates (or links) an opportunity, and the action carries its opportunityId. Work from actions; use opportunities only to write an article yourself from its brief.
curl --request GET \
--url https://api.spreadjam.com/v1/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spreadjam.com/v1/actions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spreadjam.com/v1/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://api.spreadjam.com/v1/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 => [
"Authorization: Bearer <token>"
],
]);
$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://api.spreadjam.com/v1/actions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spreadjam.com/v1/actions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spreadjam.com/v1/actions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"actions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "page_edit",
"problem": "list_absent",
"title": "<string>",
"why": "<string>",
"impact": "high",
"rank": 123,
"targetUrl": "<string>",
"status": "suggested",
"opportunityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
],
"countsByStatus": {
"suggested": 123,
"in_progress": 123,
"sent": 123,
"done": 123,
"verified": 123,
"unverified": 123,
"dismissed": 123,
"superseded": 123
},
"pageInfo": {
"limit": 100,
"hasNextPage": true,
"totalCount": 123,
"nextCursor": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>",
"docs": "<string>",
"resolveUrl": "<string>",
"details": [
{}
]
}Authorizations
A workspace API key issued in Settings → Developer, sent as Bearer sk_….
Query Parameters
Only actions in these statuses (repeat the parameter or separate with commas). One of: suggested, in_progress, sent, done, verified, unverified, dismissed, superseded.
suggested, in_progress, sent, done, verified, unverified, dismissed, superseded Only actions of these kinds. One of: page_edit, new_page, outreach, technical, community.
page_edit, new_page, outreach, technical, community Also list actions a later research run no longer proposes. Default false.
true, false Maximum number of items to return (1–100).
1 <= x <= 10020
The pageInfo.nextCursor of the previous page. Omit for the first page; send the same filters with it.
1 - 512