Read Api Key
Retrieve an API key by ID.
Args:
db (AsyncSession): The database session. id (UUID): The ID of the API key. user (schemas.User): The current user.
Returns:
schemas.APIKey: The API key object.
Raises:
HTTPException: If the API key is not found.
Path parameters
id
Headers
x-api-key
Query parameters
creds
Response
Successful Response
id
key_prefix
organization
created_at
modified_at
expiration_date
created_by_email
modified_by_email
last_used_date