Get Api Keys

Retrieve a list of API keys.

This endpoint retrieves all API keys belonging to the organization, with pagination support. Admin users can retrieve keys for all organizations.

Parameters: request (Request): The FastAPI request object skip (int): Number of API keys to skip for pagination limit (int): Maximum number of API keys to return db (AsyncSession): The database session (injected) organization_id (Optional[int]): The organization ID from the API key or request

Returns: List[ApiKey]: A list of API keys

Raises: HTTPException: - 400: If organization ID is missing - 500: If an unexpected error occurs during retrieval

Language
Credentials
Header
Click Try It! to start a request and see the response here!