🚀 Claude Opus 4.6 + 171 Models Launched! See our changelog for details.
Test API key validity for AI Gateway or v0, optionally test attachment transfer modes
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": { "code": "unauthorized", "message": "<string>" }, "attachmentTest": { "urlMode": { "success": true, "errorMessage": "<string>" }, "base64Mode": { "success": true, "errorMessage": "<string>" }, "recommendedMode": "url", "testedOrigin": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
aiGateway
v0
vercel
Test result
Show child attributes
Was this page helpful?