@@ -7058,6 +7058,12 @@ paths:
70587058 nullable : true
70597059 description : ISO 8601 timestamp of when the API key was last updated
70607060 example : ' 2025-08-24T15:45:00Z'
7061+ expires_at :
7062+ type : string
7063+ nullable : true
7064+ format : date-time
7065+ description : ISO 8601 UTC timestamp when the API key expires, or null if no expiration
7066+ example : ' 2027-12-31T23:59:59Z'
70617067 required :
70627068 - hash
70637069 - name
@@ -7096,6 +7102,7 @@ paths:
70967102 byok_usage_monthly : 17.38
70977103 created_at : ' 2025-08-24T10:30:00Z'
70987104 updated_at : ' 2025-08-24T15:45:00Z'
7105+ expires_at : ' 2027-12-31T23:59:59Z'
70997106 description : List of API keys
71007107 required :
71017108 - data
@@ -7119,6 +7126,7 @@ paths:
71197126 byok_usage_monthly : 17.38
71207127 created_at : ' 2025-08-24T10:30:00Z'
71217128 updated_at : ' 2025-08-24T15:45:00Z'
7129+ expires_at : ' 2027-12-31T23:59:59Z'
71227130 ' 401 ' :
71237131 description : Unauthorized - Missing or invalid authentication
71247132 content :
@@ -7173,13 +7181,20 @@ paths:
71737181 type : boolean
71747182 description : Whether to include BYOK usage in the limit
71757183 example : true
7184+ expires_at :
7185+ type : string
7186+ nullable : true
7187+ format : date-time
7188+ description : Optional ISO 8601 timestamp with timezone when the API key should expire
7189+ example : ' 2027-12-31T23:59:59Z'
71767190 required :
71777191 - name
71787192 example :
71797193 name : My New API Key
71807194 limit : 50
71817195 limit_reset : monthly
71827196 include_byok_in_limit : true
7197+ expires_at : ' 2027-12-31T23:59:59Z'
71837198 required : true
71847199 responses :
71857200 ' 201 ' :
@@ -7268,6 +7283,12 @@ paths:
72687283 nullable : true
72697284 description : ISO 8601 timestamp of when the API key was last updated
72707285 example : ' 2025-08-24T15:45:00Z'
7286+ expires_at :
7287+ type : string
7288+ nullable : true
7289+ format : date-time
7290+ description : ISO 8601 UTC timestamp when the API key expires, or null if no expiration
7291+ example : ' 2027-12-31T23:59:59Z'
72717292 required :
72727293 - hash
72737294 - name
@@ -7306,6 +7327,7 @@ paths:
73067327 byok_usage_monthly : 17.38
73077328 created_at : ' 2025-08-24T10:30:00Z'
73087329 updated_at : ' 2025-08-24T15:45:00Z'
7330+ expires_at : ' 2027-12-31T23:59:59Z'
73097331 description : The created API key information
73107332 key :
73117333 type : string
@@ -7334,6 +7356,7 @@ paths:
73347356 byok_usage_monthly : 0
73357357 created_at : ' 2025-08-24T10:30:00Z'
73367358 updated_at : null
7359+ expires_at : ' 2027-12-31T23:59:59Z'
73377360 key : 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
73387361 ' 400 ' :
73397362 description : Bad Request - Invalid request parameters
@@ -7503,6 +7526,12 @@ paths:
75037526 nullable : true
75047527 description : ISO 8601 timestamp of when the API key was last updated
75057528 example : ' 2025-08-24T15:45:00Z'
7529+ expires_at :
7530+ type : string
7531+ nullable : true
7532+ format : date-time
7533+ description : ISO 8601 UTC timestamp when the API key expires, or null if no expiration
7534+ example : ' 2027-12-31T23:59:59Z'
75067535 required :
75077536 - hash
75087537 - name
@@ -7541,6 +7570,7 @@ paths:
75417570 byok_usage_monthly : 17.38
75427571 created_at : ' 2025-08-24T10:30:00Z'
75437572 updated_at : ' 2025-08-24T15:45:00Z'
7573+ expires_at : ' 2027-12-31T23:59:59Z'
75447574 description : The updated API key information
75457575 required :
75467576 - data
@@ -7564,6 +7594,7 @@ paths:
75647594 byok_usage_monthly : 17.38
75657595 created_at : ' 2025-08-24T10:30:00Z'
75667596 updated_at : ' 2025-08-24T16:00:00Z'
7597+ expires_at : null
75677598 ' 400 ' :
75687599 description : Bad Request - Invalid request parameters
75697600 content :
@@ -7753,6 +7784,12 @@ paths:
77537784 nullable : true
77547785 description : ISO 8601 timestamp of when the API key was last updated
77557786 example : ' 2025-08-24T15:45:00Z'
7787+ expires_at :
7788+ type : string
7789+ nullable : true
7790+ format : date-time
7791+ description : ISO 8601 UTC timestamp when the API key expires, or null if no expiration
7792+ example : ' 2027-12-31T23:59:59Z'
77567793 required :
77577794 - hash
77587795 - name
@@ -7791,6 +7828,7 @@ paths:
77917828 byok_usage_monthly : 17.38
77927829 created_at : ' 2025-08-24T10:30:00Z'
77937830 updated_at : ' 2025-08-24T15:45:00Z'
7831+ expires_at : ' 2027-12-31T23:59:59Z'
77947832 description : The API key information
77957833 required :
77967834 - data
@@ -7814,6 +7852,7 @@ paths:
78147852 byok_usage_monthly : 17.38
78157853 created_at : ' 2025-08-24T10:30:00Z'
78167854 updated_at : ' 2025-08-24T15:45:00Z'
7855+ expires_at : ' 2027-12-31T23:59:59Z'
78177856 ' 401 ' :
78187857 description : Unauthorized - Missing or invalid authentication
78197858 content :
0 commit comments