List projects
List projects for an Enterprise workspace. Supports pagination, search, sorting, and analytics period filters; when Collector analytics is configured, cost, requests, and tokens are merged from project assignments. All workspace members may read; PATs require the read scope.
请求头
Authorization
Bearer {access_token}
X-Workspace-Id
Workspace UUID
查询参数
page
Page number; 0 or omitted uses default 1
pageSize
Items per page; 0 or omitted uses default 12
search
Search by project name or description
sortBy
Sort field
允许的值:
sortDir
Sort direction
允许的值:
period
Analytics period
允许的值:
响应
data: list, meta: pagination and overview
data
meta
错误
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error