企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 接口定义 ~~~[api] POST:http://open.koldata.net/token/refresh *string:refresh_token=def5020037eb84b5c03cb9dc21d0d2f85cce7f577f4dbf5ad514ae48855c3b34886ef33c3bbebdfb101ae815f3a13d5a5cbdb05fde60a8d2a096cd724f152a6fc52b7b70e1e00e88a2b2bd8ee6f21b0d10edfb475f2ac9b2d2b920f2ee4b2755f0c6478f9a362fbb47b27619b67f6bd375f7485efbb68c6d226de3e9feeb10960734b34c3d782e5df762dcd7432c78c6f2889cfe3aa71b88cae1bde6585d2f56d30cc35ad720b85ff14d29d0472c0fb517af335acc075b109160943b119b520b3b98829d6ac338d36476acbc737622c90c8d8ea525450ef549cccac1fab355b04e20757bccb5bfa91246660f7f82357df9fcb686a1c25aad9bc968a84b9686c9418929d4704f239aa8a254ead5a54330347ac26ae0785d462ad75c98d3e1ff2edaff4b241634dd7ec0503922973aae532208425f8708fd33b219112c1271a74db26ddfa246e9297c34f51c40469c705305733f3d1043b7d125d5eeaee05a7d8840de32b1f060bbf4#获取token时提供的用于刷新的凭据 *string:app_id=1E7GKxzGsV#开放平台账号 *string:app_secret=La7NNpUURLRCGXGBwsUmSIywJjsPKRpexdVwVLDO#开放平台密码 <<< success { "token_type": "Bearer", "expires_in": 7200, "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjMyZGIwYjI4YjUyNTg3MWIyNDk5YmY0MmZkNzEwNmEyMzQ3ZTJjMTQ0ZTk2ZTFlMWQyNzkzYTQ2NDFmY2E4NmQ1MDQzY2JiNzk2Mzc4YjYxIn0.eyJhdWQiOiIxIiwianRpIjoiMzJkYjBiMjhiNTI1ODcxYjI0OTliZjQyZmQ3MTA2YTIzNDdlMmMxNDRlOTZlMWUxZDI3OTNhNDY0MWZjYTg2ZDUwNDNjYmI3OTYzNzhiNjEiLCJpYXQiOjE1MTQ1Mzk0NzQsIm5iZiI6MTUxNDUzOTQ3NCwiZXhwIjoxNTE0NTQ2Njc0LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.Stg8mM9yOCgiY8_GYl4o4TTOP9wGsuyJTHRwgmXzZUYmQkU34a0YWYENgW12QUntq8TlldcSvf_S6M8Ga_dzhYfsR2rJbyxPF6fedkO-nWoagWyn_-IOpEM0idNVsiQJ94uYjdACogmVyVONiLMhpTfHgu4wsWCavhIeIpdozwwipuYR5Hbp52xu656DTzyqgGFAodxNRZStnLrzPMtMlvOlbuc-IdTrgzXMmQpPhkMPcKKaRjGQkXTFLAXZL_j2d640B1y6ai-7TE-OYex-sjtZQjxlBiCENFMMvW2WpGnrBeaiHLxvxUT4BUPfDRWHBnBI5NjCOPJwCFhTmyY0W0H5GU3v3A545QNZBZZbssUKZKzLt9wsQVNUEFY65q2XGQsCujSUWxfh2vDJ1hxhNkYQin_CyVh4He-u59WUCy2YMsk4r1PFi-ay13J5xUHuCPEr4UxqWJnjQrX-Rrs3afbYaSJ0bojnPWidqDKVAfX3N04mD_ni0QhT9WLZkC1WzFdyCsLquMqgc3ue9zCRzBGqP6JWTFbilJYmxZSzIJtCUCMjGiACLxOb6XLJIFDobDfWMaV473cYk_osJy8vTokYHFs_UDoZ51WSITDzLWg4QjH9HZZ7GUP6xZo9yAAuYqDQdsjwm4M5OLaYdA4ryireem-PM86yCKN9dY3p5r4", "refresh_token": "def5020009246a0cd185799ad84382be23cf0801fe2621a6b50331fcbedd8e0c8f45b38f95dbce87d4f6829da3a412f06569174df5a0b539503a2df6a8390b23f85f83ca4435ab73ae585ea343d75c64c12a776564a4778e74fcedd6512e44548bcfa344fcf200fef06c222e58bf00d1e7134bbaff03db9524e6b62bd021673eaf4947aa88b304a67160d63e7587b8fe33017c46de618e3b929e87cf59ef92b26a7c6f828081b27de2004582312d64198286480f5659246ce6801c502fe28df3c75cc28928667855a7d3b22bb5fdb2e357a7d249407a08d3ec2eeeef785610bfb4e663549b7621e66f4efed88f777be45c6aaf547b556322f4f172a4bbd2a3b89a1c52a7fb4b8df3bc811dd7953ba60282cc6a590dd53a6acdd443ea7fd2e93247b4226cb13c0c34edc2ec0764a5914d5e160d49612045f1832399c12170d647d5f094da2a8acac933fa546e8ec06f01961f6a34218d17df451af3db4a8c35" } <<< error { "status": 429, "message": "Too Many Attempts." } ~~~ ## 响应参数说明 | 字段 | 说明 | 备注 | |---|---|---| | token_type | token类型 | | | expires_in | token有效时长 | 单位:秒 | | access_token | 接口调用凭据 | 有效时间为2小时,同一时间内同一用户只有最后一次获取的access_token有效 | | refresh_token | 凭据过期时用于刷新的凭据 | refresh_token 过期时间为24小时;refresh_token一次有效 | ## 接口访问限制及注意事项 1.该接口限速每分钟可调用一次,超频率将被限制5分钟内禁止访问; 2.同一时间内同一用户只有最后一次获取的access_token有效; 3.refresh_token一次有效。