---
title: "Generate from application"
method: POST
path: "/v1/applications/{application_id}"
tags: ["Generation API"]
---

# Generate from application

`POST /v1/applications/{application_id}`

Generate content from an existing no-code agent (formerly called no-code applications) with inputs.

## Path parameters

- `application_id` string, uuid, required

## Request body

- GenerateApplicationRequest
  - `inputs` GenerateApplicationInput[], required
    - `id` string, required — The unique identifier for the input field from the application. All input types from the No-code application are supported (i.e. Text input, Dropdown, File upload, Image input). The identifier should be the name of the input type.
    - `value` string[], required — The value for the input field. If the input type is "File upload", you must pass the `file_id` of an uploaded file. You cannot pass a file object directly. See the [file upload endpoint](https://dev.writer.com/api-reference/file-api/upload-files) for instructions on uploading files or the [list files endpoint](https://dev.writer.com/api-reference/file-api/get-all-files) for how to see a list of uploaded files and their IDs.
  - `stream` boolean — Indicates whether the response should be streamed. Currently only supported for research assistant applications.

## Response `200`

- GenerateApplicationResponse
  - `title` string — The name of the output field.
  - `suggestion` string, required — The response from the model specified in the application.

## Changes

- **2024-12-03** `fcd4d82943d0` — 2 info
  - added the new optional request property `stream`
  - added the media type `text/event-stream` for the response with the status `200`
- **2024-08-08** `4a89aa730a0c` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/writer/apis/api/changes/v1/applications/:application_id/post.md)

---

[API](https://skmtc.dev/writer/apis/api.md) · [All operations](https://skmtc.dev/writer/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/writer/api/revisions/ae230e1d8c09/schema)
