模型管理 · 提示词管理 API (0.1.0)

Download OpenAPI specification:

Public HTTP contract derived from the current route signatures and Pydantic request models. Internal /api/private routes are excluded. Dynamic controller results remain an open JSON schema.

Prompt Item Source

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
query Parameters
prompt_item_name
any (Prompt Item Name)
Default: ""
prompt_name
any (Prompt Name)
Default: ""

Responses

Response samples

Content type
application/json
null

Prompt Source

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
query Parameters
page
required
any (Page)
size
required
any (Size)
prompt_item_id
any (Prompt Item Id)
Default: ""
prompt_item_type_id
any (Prompt Item Type Id)
Default: ""
prompt_name
any (Prompt Name)
Default: ""
order
any (Order)
Default: "desc"
rule
any (Rule)
Default: "update_time"
deploy
any (Deploy)
Default: "all"
prompt_type
any (Prompt Type)
Default: "all"

Responses

Response samples

Content type
application/json
null

Prompt List

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth

Responses

Response samples

Content type
application/json
null

Prompt Template Source

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
query Parameters
prompt_type
any (Prompt Type)
Default: ""
prompt_name
any (Prompt Name)
Default: ""

Responses

Response samples

Content type
application/json
null

Prompt {Prompt_Id}

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
path Parameters
prompt_id
required
any (Prompt Id)

Responses

Response samples

Content type
application/json
null

Prompt Item Add

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Params)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Item Edit

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Type Add

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Type Edit

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Add

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Name Edit

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Edit

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Model Para)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Template Edit

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Params)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Api Doc

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
query Parameters
service_id
required
any (Service Id)

Responses

Response samples

Content type
application/json
null

Delete Prompt

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Delete Id)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Get Id

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth

Responses

Response samples

Content type
application/json
null

Prompt Move

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

object (Move Param)

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
null

Prompt Batch_Add

Current route signature. Successful results are returned by the controller without a FastAPI response_model; no fixed response object is enforced at this route.

Authorizations:
BearerAuth
Request Body schema: application/json
required

JSON request accepted by the implemented handler signature. Dictionary fields are validated by the controller.

Array
any

Responses

Request samples

Content type
application/json
[
  • null
]

Response samples

Content type
application/json
null