Response Types

Data shapes returned by the API.

Project

json
{
  "id": "abc123",
  "name": "my-app",
  "workspace_path": "/Users/you/projects/my-app",
  "status": "indexed",
  "file_count": 312,
  "vector_count": 8940,
  "last_indexed": "2026-03-10T12:00:00Z"
}

Graph Node

json
{
  "id": "src/auth/service.ts:AuthService",
  "type": "class",
  "name": "AuthService",
  "file": "src/auth/service.ts",
  "score": 87,
  "edges": [
    { "type": "imports",   "target": "src/db/client.ts:db" },
    { "type": "called_by", "target": "src/api/login.ts:handler" }
  ]
}
Response Types | Linear Canal Docs | Linear Canal