OSS Insight Docs
APICollections

GETList collections

Collections

List collections.

Usage

cURL
curl --request GET \  --url 'https://api.ossinsight.io/v1/collections/' \  --header 'Accept: application/json'
Python
import requestsresponse = requests.get(    "https://api.ossinsight.io/v1/collections/",    headers={"Accept": "application/json"},    timeout=30,)response.raise_for_status()data = response.json()print(data)
TypeScript
const response = await fetch("https://api.ossinsight.io/v1/collections/", {  method: "GET",  headers: {    Accept: "application/json",  },});if (!response.ok) {  throw new Error(`Request failed: ${response.status}`);}const data = await response.json();console.log(data);