> 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"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.loci-dev.net/api-spec/projects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
