---
title: "M001-1 Formulation agent creation"
method: POST
path: "/ai/formulation-agent-creation"
tags: ["Formulation Assistant"]
---

# M001-1 Formulation agent creation

`POST /ai/formulation-agent-creation`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/ai/formulation-agent-creation`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/ai/formulation-agent-creation/post.ts> (a function with typed inputs; its response is checked against the schema)

Based on the input of a technical requirement, generate an assistant assessment report for the formulation analysis of that requirement

## Request body

- M0011AiFormulationAgentCreationRequest
  - `lang` string, required: text language, support cn and en
  - `text` string, required: Input

## Response `200`

Successful m001-1 formulation agent creation response.

- M0011AiFormulationAgentCreationResponse
  - `data` M0011AiFormulationAgentCreationAsyncTaskIdResponse
    - `task_id` string: Task id
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
