---
title: "Propose"
method: POST
path: "/api/compute/proposals"
tags: ["compute"]
---

# Propose

`POST /api/compute/proposals`

## Request

- Base URL: `https://api.omicos.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.omicos.cn/api/compute/proposals`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- ProposalIn
  - `request_id` string, uuid, required
  - `mode` 'active' | 'passive', required
  - `title` string, required
  - `language` 'python' | 'bash'
  - `code` string, required
  - `profile` string, required
  - `max_seconds` integer, required
  - `inputs` union[]
    - union
      - InputFile
        - `file_id` string, required
        - `path` string, required
      - LocalInput
        - `source` 'local', required
        - `local_path` string, required
        - `path` string, required
        - `sha256` string, required
        - `size` integer, required
  - `outputs` string[]
  - `evidence` Evidence
    - `execution_id` string, required
    - `code` 'memory_exhausted' | 'gpu_unavailable' | 'environment_incompatible', required
    - `detail` string, required
    - `local_terminal` true, required
  - `origin` LocalOrigin
    - `workspace_id` string, required
    - `transfer_key_hash` string, required
    - `return_path` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-20** `19980e5944e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omicos/apis/omicos-server/changes/api/compute/proposals/post.md)

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc.dev/omicos/apis/omicos-server/revisions/42ce180a8cda?raw)
