cURL
curl --request GET \ --url https://docflow.textin.com/api/app-api/sip/platform/v2/category/list \ --header 'x-ti-app-id: <api-key>' \ --header 'x-ti-secret-code: <api-key>'
{ "code": 200, "msg": "<string>", "result": { "total": 100, "page": 1, "page_size": 20, "categories": [ { "id": "1234567890", "name": "发票", "category_prompt": "增值税发票,包含发票代码、发票号码等字段", "extract_model": "llm", "enabled": 0 } ] } }
获取空间文件类别列表
空间ID
"1234567890"
页码
每页数量
1 <= x <= 100
启用状态
all
1
0
2
成功获取空间文件类别列表
状态码
200
状态描述
Show child attributes