For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
User GuideDeveloper GuidesAPI Reference
User GuideDeveloper GuidesAPI Reference
    • Overview
  • Runtype API
      • GETList provider keys
      • POSTCreate a provider key
      • POSTDiscover models from endpoint
      • GETList provider keys by provider
      • DELDelete a provider key
      • PATCHUpdate a provider key
      • POSTDiscover models from existing key
      • POSTSync models for a provider key
Dashboard
LogoLogo
Runtype APIProvider Keys

List provider keys by provider

GET
/v1/provider-keys/provider/:provider
GET
/v1/provider-keys/provider/:provider
$curl https://api.runtype.com/v1/provider-keys/provider/provider \
> -H "Authorization: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "providerKeys": [
3 {
4 "createdAt": "2024-05-20T10:15:30Z",
5 "id": "pk_1234567890abcdef",
6 "isActive": true,
7 "isDefault": false,
8 "keyPreview": "sk_live_abc12345",
9 "lastUsedAt": "2024-06-01T08:45:00Z",
10 "name": "Primary Stripe Key",
11 "provider": "stripe",
12 "updatedAt": "2024-05-25T12:00:00Z",
13 "usageCount": 2543,
14 "settings": {
15 "region": "us-east-1",
16 "quota": 10000
17 }
18 }
19 ]
20}
Returns provider API keys filtered by a specific provider.
Was this page helpful?
Previous

Delete a provider key

Next
Built with

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

providerstringRequired
Provider name

Response

Successful response
providerKeyslist of objects

Errors

401
Unauthorized Error
500
Internal Server Error