Skip to main content

CreateFinReportSummaryTask

Creates a financial report summary.

Operation description

Make sure that you fully understand the billing methods and pricing of Tongyi Dianjin before you use this API. Prerequisites
  • Alibaba Cloud Model Studio and Tongyi Dianjin are activated.
  • Obtain the workspaceId: Obtain the workspace identifier.

Debug

You can directly run this API in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples. Debug

RAM authorization

The following table lists the authorization information of this API, which can be used in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:
  • Operation: the specific permission point.
  • Access level: the access level of each operation. Valid values: Write, Read, and List.
  • Resource type: the resource types supported for authorization in the operation. Details:
    • For required resource types, the prefix * is added.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition keyword: the condition keywords defined by the cloud product itself.
  • Related operation: other permissions required to successfully execute the operation. The caller must have the permissions of the related operations to succeed.
OperationAccess levelResource typeCondition keywordRelated operation
dianjin:CreateFinReportSummaryTaskcreate
*All resources
*
    None
None

Request syntax

POST /{workspaceId}/api/task/summary HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
workspaceIdstringYes

Workspace ID

llm-xxxxx
bodyobjectNo

Request body parameters

docIdstringYes

Document ID

123
enableTablebooleanYes

Whether to enable tables

true
endPageintegerNo

End page

10
instructionstringNo

Instruction

Please help me summarize this document.
libraryIdstringYes

Document library ID

3akzl28vap
modelIdstringYes

Model ID

qwen-max
startPageintegerNo

Start page

1
taskTypestringNo

Task type. Optional. Defaults to finance_report. When you set this parameter to custom, you must specify instruction

custom

Response elements

ElementTypeDescriptionExample
object

ResultCode

costlong

Time consumed

null
datastring

Response data, which is the task ID. Used to query the task status and results later.

3284627354
dataTypestring

Data type

null
errCodestring

Error code

0
messagestring

Error message

ok
requestIdstring

Request ID

5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658
successboolean

Indicates whether the request is successful

true
timestring

Timestamp

2024-04-24 11:54:34

Examples

Success response example JSON format
{
  "cost": 0,
  "data": 3284627354,
  "dataType": null,
  "errCode": 0,
  "message": "ok",
  "requestId": "5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658",
  "success": true,
  "time": "2024-04-24 11:54:34"
}

Error codes

Visit the Error Center to view more error codes.