capabilities.work

Get a tree object

One step with Upsun. We can help you get access.

Look something up

Get a tree object

Works with AI assistants

Use Upsun: its Upsun.com Rest Repository API lets you get a tree object in a single step (GET /projects/{projectId}/git/trees/{repositoryTreeId}). Upsun also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I read the file and directory tree a commit points to?
  • What does the tree state of a commit contain?
Say it to your AI assistant
  • Get tree {tree} from project {project}.
  • Show the directory tree {tree} in {project}.
For your developer

GET /projects/{projectId}/git/trees/{repositoryTreeId} in Upsun.com Rest Repository API. Full spec on APIs.io.