> For the complete documentation index, see [llms.txt](https://docs.loci-dev.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.loci-dev.net/api-spec/projects.md).

# Projects

## List all projects using API key authentication

> Retrieves all projects using API key authentication instead of JWT

```json
{"openapi":"3.0.0","info":{"title":"Loci AI Binary Analisis API","version":"1.0.0"},"servers":[{"url":"https://api.loci-dev.net","description":"Local Development server"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key"}}},"paths":{"/api/v1/projects/xapi-list-all":{"get":{"summary":"List all projects using API key authentication","description":"Retrieves all projects using API key authentication instead of JWT","tags":["Projects"],"responses":{"200":{"description":"Projects retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"organizationId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"Unauthorized - Invalid or missing API key"},"500":{"description":"Server error"}}}}}}
```

## Get project versions using API key authentication

> Retrieves all versions for a project using API key authentication instead of JWT

```json
{"openapi":"3.0.0","info":{"title":"Loci AI Binary Analisis API","version":"1.0.0"},"servers":[{"url":"https://api.loci-dev.net","description":"Local Development server"}],"security":[{"apiKey":[]}],"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key"}}},"paths":{"/api/v1/graph/xapi-project-versions":{"post":{"summary":"Get project versions using API key authentication","description":"Retrieves all versions for a project using API key authentication instead of JWT","tags":["Projects"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"projectId":{"type":"string","description":"ID of the project to fetch versions for"},"organizationId":{"type":"string","description":"ID of the organization"}}}}}},"responses":{"200":{"description":"Project versions retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"version":{"type":"string"},"reportId":{"type":"string"}}}}}}}}},"401":{"description":"Unauthorized - Invalid or missing API key"},"500":{"description":"Server error"}}}}}}
```
