ListContextStores - 查询上下文库列表

更新时间:
复制 MD 格式

查询上下文库列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求语法

GET /workspace/{workspace}/contextstore HTTP/1.1

路径参数

名称

类型

必填

描述

示例值

workspace

string

工作空间 ID

workspace-test

请求参数

名称

类型

必填

描述

示例值

contextStoreName

string

上下文库名称

test-context-store

contextType

string

上下文类型

memory

maxResults

integer

最大返回数量

100

nextToken

string

分页 Token

OCAQV0pBqldexv7EidbIZw==

返回参数

名称

类型

描述

示例值

object

响应数据

requestId

string

请求 ID

8FDE2569-626B-5176-9844-28877A*****

nextToken

string

分页 Token

2-ba4d-4b9f-aa24-dcb067a30f1c

maxResults

integer

最大返回结果数

100

total

integer

总数

56

results

array<object>

返回值

object

返回值

contextStoreName

string

上下文库名称

test-context-store

workspace

string

工作空间 ID

workspace-test

regionId

string

地域 ID

cn-heyuan

contextType

string

上下文类型

memory

description

string

描述信息

test

status

string

状态

active

createTime

string

创建时间

173847364841938

updateTime

string

更新时间

173847364841938

示例

正常返回示例

JSON格式

{
  "requestId": "8FDE2569-626B-5176-9844-28877A*****",
  "nextToken": "2-ba4d-4b9f-aa24-dcb067a30f1c",
  "maxResults": 100,
  "total": 56,
  "results": [
    {
      "contextStoreName": "test-context-store",
      "workspace": "workspace-test",
      "regionId": "cn-heyuan",
      "contextType": "memory",
      "description": "test",
      "status": "active",
      "createTime": "173847364841938",
      "updateTime": "173847364841938"
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情