> ## Documentation Index
> Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Genie session

> <Badge color="blue" shape="pill">EA</Badge> Early Availability: this endpoint may change before GA.

Starts a new conversation with Genie, the Fireblocks AI assistant. Returns a `sessionId` — pass it when sending messages, and reuse it across calls to keep one continuous conversation.

**Note:** This endpoint is currently in beta and might be subject to changes.




## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml post /genie/sessions
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /genie/sessions:
    post:
      tags:
        - Genie
      summary: Create a Genie session
      description: >
        <Badge color="blue" shape="pill">EA</Badge> Early Availability: this
        endpoint may change before GA.


        Starts a new conversation with Genie, the Fireblocks AI assistant.
        Returns a `sessionId` — pass it when sending messages, and reuse it
        across calls to keep one continuous conversation.


        **Note:** This endpoint is currently in beta and might be subject to
        changes.
      operationId: createGenieSession
      parameters:
        - $ref: '#/components/parameters/X-Idempotency-Key'
      responses:
        '200':
          description: Session created
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenieCreateSessionResponse'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response:
            Promise<FireblocksResponse<GenieCreateSessionResponse>> =
            fireblocks.genie.createGenieSession(genieApiCreateGenieSessionRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<GenieCreateSessionResponse>> response
            = fireblocks.genie().createGenieSession(idempotencyKey);
        - lang: Python
          source: response = fireblocks.genie.create_genie_session(idempotency_key);
components:
  parameters:
    X-Idempotency-Key:
      name: Idempotency-Key
      in: header
      description: >-
        A unique identifier for the request. If the request is sent multiple
        times with the same idempotency key, the server will return the same
        response as the first request. The idempotency key is valid for 24
        hours.
      required: false
      schema:
        type: string
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  schemas:
    GenieCreateSessionResponse:
      type: object
      required:
        - id
      properties:
        id:
          type: string
          description: >-
            The unique identifier of the newly created Genie session. Use this
            when sending messages in the conversation.
          example: 7c1b2e1c-1c2a-4f3a-9c2d-2e0a8a1f8e1a
        createdAt:
          type: integer
          format: int64
          description: Session creation timestamp in epoch milliseconds.
          example: 1735603200000
        title:
          type: string
          description: >-
            Session title. May be empty until the first message has been
            processed.
          example: Vault balance overview
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````