Query callback rule list

Query the callback routing rules in the workspace.

GET https://moi.matrixorigin.cn/newmoi/workspaces/{workspace_id}/callback-rules

Before you call

Called using $AI_STUDIO_API_KEY and $WORKSPACE_ID.

Request example

curl "https://moi.matrixorigin.cn/newmoi/workspaces/$WORKSPACE_ID/callback-rules" -H "X-API-Key: $AI_STUDIO_API_KEY" -H "X-Workspace-ID: $WORKSPACE_ID"

Successful response

Returns 200 and callback rule list on success.

{"code":0,"data":{"items":[]}}

The response fields are as follows.

Field

Type

Description

data.items

array

Callback rules.

Error response

{"code":6,"message":"unauthenticated"}
Last updated on