Skip to main content
Authorization
string
required
Bearer token obtained from the authenticate endpoint.
project_id
string
required
Unique identifier of the project to retrieve.

Response

id
string
required
Unique identifier for the project.
name
string
required
Name of the project.
description
string
Optional description of the project’s contents.
tags
array
List of tags associated with the project.
created_at
string
required
ISO 8601 timestamp when the project was created.
updated_at
string
required
ISO 8601 timestamp when the project was last modified.
curl -X GET https://api.trellis.sh/v1/projects/proj_abc123 \
  -H "Authorization: Bearer YOUR_TOKEN"
import requests

response = requests.get(
    "https://api.trellis.sh/v1/projects/proj_abc123",
    headers={"Authorization": "Bearer YOUR_TOKEN"}
)
project = response.json()
const response = await fetch("https://api.trellis.sh/v1/projects/proj_abc123", {
  headers: { Authorization: "Bearer YOUR_TOKEN" },
});
const project = await response.json();
{
  "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": "Project not found"
}