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.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • POSTCreate an API key
      • GETList API keys
      • GETRetrieve an API key
      • PATCHUpdate an API key
      • DELDelete an API key
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceTemporary API Keys

List API keys

GET
https://api.respan.ai/api/temporary-keys/
GET
/api/temporary-keys/
$curl https://api.respan.ai/api/temporary-keys/ \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -H "Content-Type: application/json"
1[
2 {
3 "id": "tk_9f8e7d6c5b4a3e2f1d0c",
4 "name": "Temporary Read-Only Key",
5 "prefix": "tmp_abc123",
6 "is_test": false,
7 "expiry_date": "2024-12-31T23:59:59Z",
8 "max_usage": 1000,
9 "rate_limit": 60,
10 "spending_limit": 50,
11 "created_at": "2024-06-01T12:00:00Z"
12 }
13]
List all API keys for your organization.
Was this page helpful?
Previous

Retrieve an API key

Next
Built with

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

List of API keys.
idstring
API key ID.
namestring
Key name.
prefixstring
Key prefix.
is_testboolean
Test or production key.
expiry_datedatetime
Expiry date.
max_usageinteger

Max usage count. -1 = unlimited.

rate_limitinteger
Calls per minute.
spending_limitdouble
Spending limit in USD.
created_atdatetime

Errors

401
Unauthorized Error