Document activity feed
curl --request GET \
--url https://scribe.skeptrune.com/api/docs/{id}/activity \
--cookie scribe_session=import requests
url = "https://scribe.skeptrune.com/api/docs/{id}/activity"
headers = {"cookie": "scribe_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'scribe_session='}};
fetch('https://scribe.skeptrune.com/api/docs/{id}/activity', 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://scribe.skeptrune.com/api/docs/{id}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "scribe_session=",
]);
$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://scribe.skeptrune.com/api/docs/{id}/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "scribe_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scribe.skeptrune.com/api/docs/{id}/activity")
.header("cookie", "scribe_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe.skeptrune.com/api/docs/{id}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'scribe_session='
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "act_7cDeFgHiJkLmNoPqRs8t",
"docId": "doc_S9tUvWxYzAbCdEfGh12i",
"actorType": "user",
"actorId": "usr_V1StGXR8_Z5jdHi6BmyT",
"actorName": "Ada Lovelace",
"actorKind": "human",
"type": "updated",
"metadata": "{\"wordCount\":1280}",
"createdAt": 1752624000000
}
],
"nextCursor": null
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}Activity
Document activity feed
Returns the activity feed of one document, newest first, with each entry naming its actor (person or agent). Page with the returned nextCursor.
GET
/
api
/
docs
/
{id}
/
activity
Document activity feed
curl --request GET \
--url https://scribe.skeptrune.com/api/docs/{id}/activity \
--cookie scribe_session=import requests
url = "https://scribe.skeptrune.com/api/docs/{id}/activity"
headers = {"cookie": "scribe_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'scribe_session='}};
fetch('https://scribe.skeptrune.com/api/docs/{id}/activity', 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://scribe.skeptrune.com/api/docs/{id}/activity",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "scribe_session=",
]);
$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://scribe.skeptrune.com/api/docs/{id}/activity"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "scribe_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scribe.skeptrune.com/api/docs/{id}/activity")
.header("cookie", "scribe_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://scribe.skeptrune.com/api/docs/{id}/activity")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'scribe_session='
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "act_7cDeFgHiJkLmNoPqRs8t",
"docId": "doc_S9tUvWxYzAbCdEfGh12i",
"actorType": "user",
"actorId": "usr_V1StGXR8_Z5jdHi6BmyT",
"actorName": "Ada Lovelace",
"actorKind": "human",
"type": "updated",
"metadata": "{\"wordCount\":1280}",
"createdAt": 1752624000000
}
],
"nextCursor": null
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}{
"error": {
"code": "not_found",
"message": "No such document."
}
}Authorizations
cookieAuthbearerAuth
Browser session cookie set by the WorkOS sign-in flow.
Path Parameters
Id of the document whose activity feed to read.
Query Parameters
Return document activity entries strictly older than this epoch-milliseconds cursor (from nextCursor).
Example:
1752624000000
Number of document activity entries per page. Defaults to 50.
Required range:
1 <= x <= 200Example:
50
Response
A page of document activity.
A page of the activity feed.
Activity entries, newest first.
Show child attributes
Show child attributes
Example:
[
{
"id": "act_7cDeFgHiJkLmNoPqRs8t",
"docId": "doc_S9tUvWxYzAbCdEfGh12i",
"actorType": "user",
"actorId": "usr_V1StGXR8_Z5jdHi6BmyT",
"actorName": "Ada Lovelace",
"actorKind": "human",
"type": "updated",
"metadata": "{\"wordCount\":1280}",
"createdAt": 1752624000000
}
]
Cursor for the next (older) page, or null when there is nothing further.
Example:
1752624000000