cURL
curl --request POST \
--url https://app.teable.ai/api/admin/setting/test-api-key \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"type":"aiGateway","apiKey":"string","baseUrl":"string","testAttachment":true}'{
"success": true,
"error": {
"message": "<string>"
},
"attachmentTest": {
"urlMode": {
"success": true,
"errorMessage": "<string>"
},
"base64Mode": {
"success": true,
"errorMessage": "<string>"
},
"testedOrigin": "<string>"
}
}admin
Post adminsettingtest api key
Test API key validity for AI Gateway or v0, optionally test attachment transfer modes
POST
/
admin
/
setting
/
test-api-key
cURL
curl --request POST \
--url https://app.teable.ai/api/admin/setting/test-api-key \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
--header 'content-type: application/json' \
--data '{"type":"aiGateway","apiKey":"string","baseUrl":"string","testAttachment":true}'{
"success": true,
"error": {
"message": "<string>"
},
"attachmentTest": {
"urlMode": {
"success": true,
"errorMessage": "<string>"
},
"base64Mode": {
"success": true,
"errorMessage": "<string>"
},
"testedOrigin": "<string>"
}
}授权
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
请求体
application/json
Last modified on March 5, 2026
此页面对您有帮助吗?
⌘I

