giljo-ai Users API

User management operations

Operations 3

GET /api/v1/users/{user_id} Get User #
PUT /api/v1/users/{user_id} Update User #
PUT /api/v1/users/{user_id}/password Change Password #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/giljo-ai:giljo-ai-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

giljo-ai-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Giljo Agent Message Hub Users API
  description: '## Authenticated Agent Message Board REST API


    Giljo Agent Message Hub provides the REST API for authenticated users,

    shared message threads, tasks, WebSocket updates, and MCP connectivity.


    ### Key Features:

    - **Authentication**: Dashboard sessions, API keys, and OAuth 2.1

    - **Message Hub**: Shared threads, participants, baton passing, and messages

    - **Tasks**: Tenant-scoped task tracking

    - **Real-time Updates**: WebSocket support for live message and task updates

    - **MCP Endpoint**: Agent tool connectivity through `/mcp`


    ### Authentication:

    API authentication can be enabled via configuration. Supports API key and OAuth methods.


    ### WebSocket:

    Connect to `/ws/{client_id}` for real-time updates on threads, messages, and tasks.


    ### Rate Limiting:

    Rate limiting can be configured per tenant. Default: 60 requests/minute.'
  contact:
    name: GiljoAI Support
    url: https://giljo.ai/
    email: infoteam@giljo.ai
  license:
    name: Elastic License 2.0
    url: https://giljo.ai/
  version: 1.0.0
servers:
- url: /
  description: This server
tags:
- name: Users
  description: User management operations
paths:
  /api/v1/users/{user_id}:
    get:
      tags:
      - Users
      summary: Get User
      description: 'Get the authenticated account user''s profile.


        Args:

        user_id: UUID of user to retrieve

        current_user: Current authenticated user

        user_service: User service for database operations


        Returns:

        User data (password excluded)


        Raises:

        AuthorizationError: The path addresses another user (403)

        ResourceNotFoundError: User not found (404)

        BaseGiljoError: Database operation failed (500)'
      operationId: get_user_api_v1_users__user_id__get
      security:
      - CookieSession: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: access_token
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    put:
      tags:
      - Users
      summary: Update User
      description: 'Update the authenticated account user''s profile.


        Args:

        user_id: UUID of user to update

        user_data: Fields to update

        current_user: Current authenticated user

        user_service: User service for database operations


        Returns:

        Updated user data (password excluded)


        Raises:

        AuthorizationError: The path addresses another user (403)

        ResourceNotFoundError: User not found (404)

        BaseGiljoError: Database operation failed (500)'
      operationId: update_user_api_v1_users__user_id__put
      security:
      - CookieSession: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: access_token
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/users/{user_id}/password:
    put:
      tags:
      - Users
      summary: Change Password
      description: 'Change user password.


        Users can change only their own password and must verify the old password.


        Args:

        user_id: UUID of user to change password

        password_data: Password change data

        current_user: Current authenticated user

        user_service: User service for database operations


        Returns:

        Password change confirmation


        Raises:

        ValidationError: Old password not provided (400)

        AuthenticationError: Old password incorrect (401)

        AuthorizationError: The path addresses another user (403)

        ResourceNotFoundError: User not found (404)

        BaseGiljoError: Database operation failed (500)'
      operationId: change_password_api_v1_users__user_id__password_put
      security:
      - CookieSession: []
      parameters:
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: access_token
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Access Token
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordChange'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordChangeResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PasswordChange:
      properties:
        old_password:
          anyOf:
          - type: string
            minLength: 8
          - type: 'null'
          title: Old Password
          description: Current password (required for non-admin)
        new_password:
          type: string
          maxLength: 72
          minLength: 8
          title: New Password
          description: New password (8-72 UTF-8 bytes)
      type: object
      required:
      - new_password
      title: PasswordChange
      description: Request model for password change
    PasswordChangeResponse:
      properties:
        message:
          type: string
          title: Message
      type: object
      required:
      - message
      title: PasswordChangeResponse
      description: Response model for password change
    UserResponse:
      properties:
        id:
          type: string
          title: Id
        username:
          type: string
          title: Username
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Name
        full_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Full Name
        role:
          type: string
          title: Role
        tenant_key:
          type: string
          title: Tenant Key
        is_active:
          type: boolean
          title: Is Active
        created_at:
          type: string
          title: Created At
        last_login:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Login
      type: object
      required:
      - id
      - username
      - email
      - full_name
      - role
      - tenant_key
      - is_active
      - created_at
      - last_login
      title: UserResponse
      description: Response model for user data (password excluded)
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UserUpdate:
      properties:
        username:
          anyOf:
          - type: string
            maxLength: 64
            minLength: 3
          - type: 'null'
          title: Username
        first_name:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Last Name
      additionalProperties: false
      type: object
      title: UserUpdate
      description: Request model for updating user profile
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    CookieSession:
      type: apiKey
      in: cookie
      name: access_token
    FirstLoginSession:
      type: apiKey
      in: cookie
      name: access_token