cURL
curl --request GET \ --url https://api.example.com/api/projects
{ "projects": [ { "id": "<string>", "name": "<string>", "description": "<string>", "program_id": "<string>", "is_public": true, "user_id": "<string>", "username": "<string>", "avatar_url": "<string>", "created_at": "<string>", "updated_at": "<string>" } ], "pagination": { "page": 123, "limit": 123, "total": 123, "totalPages": 123 }, "error": "<string>", "details": "<string>" }
Retrieve all public projects and your private projects
Authorization: Bearer <jwt_token>
Show Project Object
Show Pagination Object
curl -X GET "https://api.orquestra.so/api/projects?page=1&limit=20&search=token" \ -H "Authorization: Bearer YOUR_JWT_TOKEN"
{ "projects": [ { "id": "proj_abc123", "name": "Token Swap Program", "description": "A decentralized token swap protocol", "program_id": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "is_public": true, "user_id": "user_xyz789", "username": "developer", "avatar_url": "https://avatars.github.com/u/123456", "created_at": "2024-03-15T10:30:00.000Z", "updated_at": "2024-03-20T14:45:00.000Z" }, { "id": "proj_def456", "name": "NFT Marketplace", "description": "On-chain NFT trading platform", "program_id": "M2mx93ekt1fmXSVkTrUL9xVFHkmME8HTUi5Cyc5aF7K", "is_public": true, "user_id": "user_xyz789", "username": "developer", "avatar_url": "https://avatars.github.com/u/123456", "created_at": "2024-03-10T08:00:00.000Z", "updated_at": "2024-03-18T16:20:00.000Z" } ], "pagination": { "page": 1, "limit": 20, "total": 42, "totalPages": 3 } }
500 Internal Server Error
{ "error": "Failed to list projects", "details": "Database connection error" }
search
limit