List projects
GET/projects
Sample request
bash
curl -X GET "https://api.abyssale.com/projects" \
-H "x-api-key: $ABYSSALE_API_KEY"js
import abyssale from '@abyssale/sdk';
const { data, error } = await abyssale.listProjects();
if (error) console.error(error.id, error.message);
else console.log(data);python
from abyssale import Abyssale
with Abyssale() as client:
result = client.list_projects()
print(result)Example 200 response
json
[
{
"id": "d59adee9-4867-11f0-96f2-0a00d9eb8f78",
"name": "HTML5 Tests",
"created_at_ts": 1749827125,
"category_name": "HTML5 Tests"
}
]Example 401 error response
json
{
"message": "Unauthorized: missing or invalid API key.",
"id": "unauthorized"
}Retrieve all projects in your workspace. Projects group designs into logical collections. Only designs that belong to a project are accessible via the API.
Response 200
The workspace's projects.
Errors
Every failure uses the shared error envelope — {id, message, errors?}. Branch on id, never on message. See Errors.
| Status | When |
|---|---|
401 | Unauthorized — missing or invalid API key. |
429 | Too Many Requests. |
500 | Internal Server Error — an unexpected error occurred on our side. |
