Parameters
None.Returns
Example
example.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch metadata about the project associated with your gallery token.
const project = await client.getProject()
interface GalleryProject {
id: string // UUID
name: string // e.g. "Ana & Carlos Wedding"
type: string // "wedding" | "quinceañera" | "corporate" | "portrait" | "other"
status: string // "preparing" | "proofing" | "editing" | "review" | "delivered" | "closed"
createdAt: string // ISO-8601
updatedAt: string // ISO-8601
}
const project = await client.getProject()
console.log(project.name) // "Ana & Carlos Wedding"
console.log(project.type) // "wedding"
console.log(project.status) // "delivered"
| Status | Code | Cause |
|---|---|---|
| 401 | UNAUTHORIZED | Token missing, invalid, revoked, or expired |
| 404 | NOT_FOUND | Project no longer exists |
| 500 | INTERNAL_ERROR | Server error |