Skip to main content

SubmitFactAuditUrl

MiaoBi provides a factuality audit capability that verifies facts using web search and supports custom configuration of search source URLs.

Debug

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

Authorization information

The following table describes the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
  • Action: the specific permission point.
  • Access level: the access level of each action. Valid values: Write, Read, or List.
  • Resource type: the resource types that support authorization for the action. Details are as follows:
    • For required resource types, an asterisk (*) is added as a prefix.
    • For actions that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.
  • Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.
ActionAccess levelResource typeCondition keyRelated action
aimiaobi:SubmitFactAuditUrlcreate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

Unique identifier of the Alibaba Cloud Model Studio workspace: get the workspace ID (Workspace ID)

llm-xx
UrlstringYes

The URL of the information source you want to use for factuality audit. After you add a source URL using this operation, the factuality audit retrieves information only from your configured list of URLs. If you do not add any URL, audit information is retrieved from the entire web by default. You can configure up to 10 source URLs.

https://aliyun.com

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

Id of the request

F2F366D6-E9FE-1006-BB70-2C650896AAB5
Successboolean

Indicates whether this request is successful

true
Codestring

Status code

DataNotExists
Messagestring

Error description

success
HttpStatusCodeinteger

HTTP status code

200
Datastring

Success message indicating that the URL was added.

SUCCESSED

Examples

Success response JSON format
{
  "RequestId": "F2F366D6-E9FE-1006-BB70-2C650896AAB5",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "success",
  "HttpStatusCode": 200,
  "Data": "SUCCESSED"
}

Error codes

Visit the Error Center to view more error codes.