List content
curl --request GET \
--url https://api.spreadjam.com/v1/content \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spreadjam.com/v1/content"
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/content', 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/content",
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/content"
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/content")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spreadjam.com/v1/content")
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{
"content": [
{
"id": "<string>",
"projectId": "<string>",
"opportunityId": "<string>",
"createdAt": "<string>",
"discardedAt": "<string>",
"updateFailure": {
"code": "insufficient_credits",
"message": "<string>",
"at": "<string>"
},
"currentRevision": {
"id": "<string>",
"title": "<string>",
"source": "pipeline",
"basisRevisionId": "<string>",
"evidenceBundleId": "<string>",
"findings": [
{
"check": "<string>",
"code": "<string>",
"severity": "blocking",
"message": "<string>",
"quote": "<string>"
}
],
"needsReview": true,
"createdAt": "<string>"
},
"state": "discarded",
"updateFailed": true
}
],
"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": [
{}
]
}Content
List content
The active GEO project’s content with states and current revision summaries, newest first. Paged: limit (default 100, at most 100) and cursor; pageInfo says whether more pages follow.
GET
/
v1
/
content
List content
curl --request GET \
--url https://api.spreadjam.com/v1/content \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spreadjam.com/v1/content"
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/content', 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/content",
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/content"
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/content")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spreadjam.com/v1/content")
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{
"content": [
{
"id": "<string>",
"projectId": "<string>",
"opportunityId": "<string>",
"createdAt": "<string>",
"discardedAt": "<string>",
"updateFailure": {
"code": "insufficient_credits",
"message": "<string>",
"at": "<string>"
},
"currentRevision": {
"id": "<string>",
"title": "<string>",
"source": "pipeline",
"basisRevisionId": "<string>",
"evidenceBundleId": "<string>",
"findings": [
{
"check": "<string>",
"code": "<string>",
"severity": "blocking",
"message": "<string>",
"quote": "<string>"
}
],
"needsReview": true,
"createdAt": "<string>"
},
"state": "discarded",
"updateFailed": true
}
],
"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 content in these states.
Available options:
discarded, drafted Maximum number of items to return (1–100).
Required range:
1 <= x <= 100Example:
20
The pageInfo.nextCursor of the previous page. Omit for the first page; send the same filters with it.
Required string length:
1 - 512