---
title: "POST /0/jobs/{job}/outputs/{output}/sign"
method: POST
path: "/0/jobs/{job}/outputs/{output}/sign"
---

# POST /0/jobs/{job}/outputs/{output}/sign

`POST /0/jobs/{job}/outputs/{output}/sign`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/oxidecomputer/apis/buildomat/docs/0/jobs/:job/outputs/:output/sign/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `job` string, required
- `output` string, required

## Request body

- JobOutputSignedUrl
  - `content_disposition` string, nullable
  - `content_type` string, nullable
  - `expiry_seconds` integer, required

## Response `200`

successful operation

- JobOutputSignedUrlResult
  - `available` boolean: Has this file been uploaded to the object store yet?
  - `size` integer: Size of the file in bytes.
  - `url` string, required

## Other responses

- `4XX`: Error
- `5XX`: Error

## Changes

> 17 revisions in range; 1 not diffed.

- **2023-08-22** `ad085ef729f0`: 2 warning
  - removed the optional property `available` from the response with the `200` status
  - removed the optional property `size` from the response with the `200` status

[Operation history](https://skmtc.dev/oxidecomputer/apis/buildomat/changes/0/jobs/:job/outputs/:output/sign/post.md)

---

[API](https://skmtc.dev/oxidecomputer/apis/buildomat.md) - [All operations](https://skmtc.dev/oxidecomputer/apis/buildomat/llms.txt) - [OpenAPI document](https://skmtc.dev/oxidecomputer/apis/buildomat/revisions/7c904bfdde4a?raw)
