Skip to content

Create/Get prem-service api-key #410

Description

@sekulicd

Description:
In the service description page, add an option to create/get API keys for individual services.

Endpoint:
No DNS -> POST http://{IP}/authd/auth/api-key
With DNS -> POST https: //authd.{domain}/auth/api-key
Note: The Authorization header should contain the root api_key from the login step.
Check bellow body example:

{
    "service_name":"gpt4all-lora-q4",
    "requests_per_range":10,
    "range_in_minutes": 1
}

Reference:
Please refer to the related premAI-io/prem-gateway#21 for further details.

@tiero @filopedraz @Janaka-Steph

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions