Internal User management

[10/07/2024] Note: To get all users (+pagination), use /user/list endpoint.

Use this to get user information. (user row + all user key info)

Example request

curl -X GET 'http://localhost:4000/user/info?user_id=krrish7%40berri.ai'     --header 'Authorization: Bearer sk-1234'
get/user/info

Request

  • Base URL
    https://api.flock.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.flock.io/user/info
  • Auth
    API key in header x-litellm-api-key

Query parameters

user_idstring nullable

User ID in the request parameters

Response

Successful Response

user_idstring nullable required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status