Skip to main content
The ProjectsResource provides methods to list and retrieve projects.

List projects

Retrieve a paginated list of all projects.
const response = await avala.projects.list({
  limit: 50
});

Parameters

limit
number
Maximum number of results to return
cursor
string
Cursor for pagination

Returns

items
Project[]
Array of project objects
nextCursor
string | null
Cursor for the next page of results
previousCursor
string | null
Cursor for the previous page of results
hasMore
boolean
Whether there are more results available

Get a project

Retrieve a specific project by its unique identifier.
const project = await avala.projects.get("project_uid");

Parameters

uid
string
required
The unique identifier of the project

Returns

uid
string
The unique identifier for the project
name
string
The name of the project
status
string | null
The current status of the project
createdAt
string | null
The timestamp when the project was created
updatedAt
string | null
The timestamp when the project was last updated

Build docs developers (and LLMs) love