Projects are document collections that can be queried using natural language.
Bearer token obtained from the authenticate endpoint.
Response
List of projects available for querying.
Unique identifier for the project.
Optional description of the project’s contents.
List of tags associated with the project.
ISO 8601 timestamp when the project was created.
ISO 8601 timestamp when the project was last modified.
curl -X GET https://api.trellis.sh/v1/projects \
-H "Authorization: Bearer YOUR_TOKEN"
import requests
response = requests.get(
"https://api.trellis.sh/v1/projects",
headers={"Authorization": "Bearer YOUR_TOKEN"}
)
projects = response.json()["projects"]
const response = await fetch("https://api.trellis.sh/v1/projects", {
headers: { Authorization: "Bearer YOUR_TOKEN" },
});
const { projects } = await response.json();
{
"projects": [
{
"id": "proj_abc123",
"name": "Q4 Financial Review",
"description": "Quarterly financial analysis documents",
"tags": ["finance", "quarterly"],
"created_at": "2025-10-01T09:00:00Z",
"updated_at": "2025-12-15T14:30:00Z"
}
]
}
{
"detail": "Invalid or expired token"
}