---
title: "AI40-2 Solution feasibility analysis query"
method: POST
path: "/ai/feasibility-analysis-query"
tags: ["Feasibility Analysis Assistant"]
---

# AI40-2 Solution feasibility analysis query

`POST /ai/feasibility-analysis-query`

## Request

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

Obtain the task results of the Feasibility Analysis Assistant through the task_id generated by [AI40-1]

## Request body

- AI402AiFeasibilityAnalysisQueryRequest
  - `task_id` string, required: Task id

## Response `200`

Successful ai40-2 solution feasibility analysis query response.

- AI402AiFeasibilityAnalysisQueryResponse
  - `data` AI402AiFeasibilityAnalysisQueryFeasibilityAnalysisQueryResponse
    - `url` string: Report download link (returned when export status is successful).
    - `status` integer: Task status (1: running, 2: successful, 3: generation exception).
  - `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)
