List Api Keys
GEThttps://cloud.agenta.ai/api/keys
List all API keys associated with the authenticated user.
Args: request (Request): The incoming request object.
Returns: List[ListAPIKeysResponse]: A list of API Keys associated with the user.
Responses
- 200
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
prefix Prefix (string)required
created_at Created At (string)required
last_used_at
object
expiration_date
object
[
{
"prefix": "string",
"created_at": "string",
"last_used_at": "string",
"expiration_date": "string"
}
]
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://cloud.agenta.ai/api/keys' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ResponseClear