v1
List all async chat jobs for a specific session, most recent first.
Returns the full job history of one document. Useful for auditing what the AI did to a document over time, or finding a specific job that’s waiting for HITL approval. Same shape as list_jobs but scoped to one session.
GET
/
v1
/
sessions
/
{session_id}
/
jobs
List all async chat jobs for a specific session, most recent first.
curl --request GET \
--url https://api.superdocs.app/v1/sessions/{session_id}/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superdocs.app/v1/sessions/{session_id}/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superdocs.app/v1/sessions/{session_id}/jobs', 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.superdocs.app/v1/sessions/{session_id}/jobs",
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.superdocs.app/v1/sessions/{session_id}/jobs"
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.superdocs.app/v1/sessions/{session_id}/jobs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superdocs.app/v1/sessions/{session_id}/jobs")
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{
"jobs": [
{
"job_id": "<string>",
"session_id": "<string>",
"job_type": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"progress": 123,
"organization_id": "<string>",
"user_id": "<string>",
"result": {
"response": "<string>",
"session_id": "<string>",
"document_changes": {
"updated_html": "<string>",
"version_id": "<string>",
"changes_summary": "<string>",
"requires_approval": true,
"pending_changes": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
],
"changes": [
{}
],
"chunk_diffs": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
]
},
"usage": {
"monthly_used": 123,
"monthly_limit": 123,
"monthly_remaining": 123,
"was_billable": true,
"ops_charged": 123,
"quota_exhausted": true,
"subscription_tier": "<string>",
"bucket_used": "<string>",
"redemption_id": "<string>",
"promotions": [
{
"redemption_id": "<string>",
"name": "<string>",
"ops_remaining": 123,
"ops_granted": 123,
"expires_at": "<string>"
}
]
},
"attachment_id": "<string>"
},
"error": "<string>",
"metadata": {
"filename": "<string>",
"file_size": 123,
"content_type": "<string>",
"message": "<string>",
"document_html_provided": true,
"pending_changes": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
],
"intermediate_responses": [
{}
]
}
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Query Parameters
Maximum number of jobs to return
When true, omit each job's heavy result body + streamed intermediate events — returns just status/progress/ids/timestamps. Recommended for agents listing many jobs.
⌘I
List all async chat jobs for a specific session, most recent first.
curl --request GET \
--url https://api.superdocs.app/v1/sessions/{session_id}/jobs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.superdocs.app/v1/sessions/{session_id}/jobs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.superdocs.app/v1/sessions/{session_id}/jobs', 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.superdocs.app/v1/sessions/{session_id}/jobs",
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.superdocs.app/v1/sessions/{session_id}/jobs"
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.superdocs.app/v1/sessions/{session_id}/jobs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superdocs.app/v1/sessions/{session_id}/jobs")
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{
"jobs": [
{
"job_id": "<string>",
"session_id": "<string>",
"job_type": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"progress": 123,
"organization_id": "<string>",
"user_id": "<string>",
"result": {
"response": "<string>",
"session_id": "<string>",
"document_changes": {
"updated_html": "<string>",
"version_id": "<string>",
"changes_summary": "<string>",
"requires_approval": true,
"pending_changes": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
],
"changes": [
{}
],
"chunk_diffs": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
]
},
"usage": {
"monthly_used": 123,
"monthly_limit": 123,
"monthly_remaining": 123,
"was_billable": true,
"ops_charged": 123,
"quota_exhausted": true,
"subscription_tier": "<string>",
"bucket_used": "<string>",
"redemption_id": "<string>",
"promotions": [
{
"redemption_id": "<string>",
"name": "<string>",
"ops_remaining": 123,
"ops_granted": 123,
"expires_at": "<string>"
}
]
},
"attachment_id": "<string>"
},
"error": "<string>",
"metadata": {
"filename": "<string>",
"file_size": 123,
"content_type": "<string>",
"message": "<string>",
"document_html_provided": true,
"pending_changes": [
{
"change_id": "<string>",
"operation": "<string>",
"chunk_id": "<string>",
"document_id": "<string>",
"old_html": "<string>",
"new_html": "<string>",
"ai_explanation": "<string>"
}
],
"intermediate_responses": [
{}
]
}
}
],
"total": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
