> 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/version.md).

# Version

## Upload binary file using API key

> Upload a binary file using API key authentication

```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/reports/xapi-upload":{"post":{"summary":"Upload binary file using API key","description":"Upload a binary file using API key authentication","tags":["Version"],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"binaryFile":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"File uploaded successfully"},"400":{"description":"Bad request"},"401":{"description":"Unauthorized"}}}}}}
```

## Get report progress

> Get the progress of a report

```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"}],"paths":{"/api/v1/reports/xapi-progress":{"post":{"summary":"Get report progress","description":"Get the progress of a report","tags":["Version"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reportId":{"type":"string"}}}}}},"responses":{"200":{"description":"Returns the report progress","content":{"application/json":{"schema":{"type":"object","properties":{"progress":{"type":"number"}}}}}},"400":{"description":"Bad request"}}}}}}
```
