curl --request GET \
--url https://api.casebyte.ai/v1/daily/summaries/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.casebyte.ai/v1/daily/summaries/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.casebyte.ai/v1/daily/summaries/{id}', 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.casebyte.ai/v1/daily/summaries/{id}",
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.casebyte.ai/v1/daily/summaries/{id}"
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.casebyte.ai/v1/daily/summaries/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.casebyte.ai/v1/daily/summaries/{id}")
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_bodyGet a Daily summary
Today and the preceding six HKT calendar days, inclusive; rolls at midnight Asia/Hong_Kong. Uses case publication date, not judgment or summary generation date. Weekends count. Only processed, non-empty summaries are returned. See https://docs.casebyte.ai/guides/daily-summaries. Returns 404 summary_not_found for an unknown case, an out-of-window case, or one without a completed non-empty summary. No query parameters accepted.
curl --request GET \
--url https://api.casebyte.ai/v1/daily/summaries/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.casebyte.ai/v1/daily/summaries/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.casebyte.ai/v1/daily/summaries/{id}', 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.casebyte.ai/v1/daily/summaries/{id}",
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.casebyte.ai/v1/daily/summaries/{id}"
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.casebyte.ai/v1/daily/summaries/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.casebyte.ai/v1/daily/summaries/{id}")
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_bodyAuthorizations
Casebyte API key, prefixed with cb_live_. Generate one from your casebyte.ai dashboard.
Path Parameters
URL-encoded canonical case_id or neutral citation. Action numbers and DIS suffixes are rejected (400 invalid_identifier).
200Response
Success. Window dates are inclusive.
Canonical COURT_YEAR_NUM identifier.
Stored court code.
Neutral citation, when available.
HKT day of the case publication timestamp; not judgment or summary generation date.
Daily classification, including the Non-Refoulement override.
Stored subtype, when available.
Catchwords, when available.
Summary text without paragraph citations.
1Show child attributes
Show child attributes
case_id, neutral_citation