> For the complete documentation index, see [llms.txt](https://docs.auroralabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.auroralabs.com/api-spec/api-references/upload-binary-file-using-api-key.md). Agents can also search and read this documentation through its [MCP server](https://docs.auroralabs.com/~gitbook/mcp).

# Upload binary file using API key

### Request Body — REQUIRED

| Field              | Type                                                   |
| ------------------ | ------------------------------------------------------ |
| `binaryFile`       | binary, required                                       |
| `projectId`        | UUID, required                                         |
| `versionName`      | string, required                                       |
| `platform`         | required: `ARM`, `TRICORE`, `CORTEXM4` or `NEOVERSEV2` |
| `compareVersionId` | UUID, optional; the version to compare against         |
| `scmMetadata`      | JSON text, optional; pull request context              |

### Responses

| Status | Description                |
| ------ | -------------------------- |
| `200`  | File uploaded successfully |
| `400`  | Bad request                |
| `401`  | Unauthorized               |
