Skip to content

SDK: projects

The projects methods of the Overlane TypeScript SDK, with their signatures. Generated from the SDK types.

Updated View as MarkdownOpen in ChatGPTOpen in Claude

The projects area has 10 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).

projectsArchive

Archive a project and its open tasks

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/archive
projectsArchive(args: { tenantId: string; projectId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ProjectRecord>

projectsContext

The context packet for a project

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/context
projectsContext(args: { tenantId: string; projectId: string; query?: { commit?: string } }, options?: CallOptions): Promise<ContextPacket>

projectsCreate

Create a project (idempotent on repository)

  • Request: POST on /v1/tenants/{tenantId}/projects
projectsCreate(args: { tenantId: string; body: CreateProjectRequest }, options?: CallOptions): Promise<ProjectRecord>

projectsDelete

Delete a project: it is archived and can be restored for 30 days, then removed; refused while a task has a lease or recorded evidence

  • Request: DELETE on /v1/tenants/{tenantId}/projects/{projectId}
projectsDelete(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ProjectRecord>

projectsGet

Read a project

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}
projectsGet(args: { tenantId: string; projectId: string }, options?: CallOptions): Promise<ProjectRecord>

projectsList

List the team’s projects; archived=true lists the archived ones that can still be restored

  • Request: GET on /v1/tenants/{tenantId}/projects
projectsList(args: { tenantId: string; query?: { archived?: string } }, options?: CallOptions): Promise<ProjectListResponse>

projectsMerge

Merge a second project for the same code into this one

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/merge
projectsMerge(args: { tenantId: string; projectId: string; body: MergeProjectRequest }, options?: CallOptions): Promise<ProjectRecord>

projectsMergePreview

Count what merging another project into this one would move; changes nothing

  • Request: GET on /v1/tenants/{tenantId}/projects/{projectId}/merge
projectsMergePreview(args: { tenantId: string; projectId: string; query?: { from?: string } }, options?: CallOptions): Promise<MergePreview>

projectsRestore

Restore an archived project and the tasks archived with it, within 30 days

  • Request: POST on /v1/tenants/{tenantId}/projects/{projectId}/restore
projectsRestore(args: { tenantId: string; projectId: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<ProjectRecord>

projectsUpdate

Rename a project, or change its code layer, its code map as context or repository sign-in

  • Request: PATCH on /v1/tenants/{tenantId}/projects/{projectId}
  • Needs an approval for agents: class policy_change
projectsUpdate(args: { tenantId: string; projectId: string; body: UpdateProjectRequest }, options?: CallOptions): Promise<ProjectRecord>
Navigation

Type to search…

↑↓ navigate↵ selectEsc close

Overlane Agent

Ask about the docs. Answers are quoted from the pages, with links. This panel cannot change anything.

    Questions are answered in your browser from the docs index. Nothing you type here is stored or sent anywhere.