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

# Get multiple values by keys



## OpenAPI

````yaml /openapi/platform-api.yaml post /store/{store}/kv/batch
openapi: 3.1.0
info:
  title: Versori Platform API
  version: 0.0.1
  license:
    name: UNLICENSED
servers:
  - description: Production
    url: https://platform.versori.com/api/v2
  - description: Staging
    url: https://platform-staging.versori.com/api/v2
  - description: Development
    url: http://localhost:8901
security:
  - bearerToken: []
  - cookie: []
paths:
  /store/{store}/kv/batch:
    post:
      tags:
        - kv store
      summary: Get multiple values by keys
      operationId: BatchGetKV
      parameters:
        - in: path
          name: store
          required: true
          schema:
            type: string
            format: ulid
            x-go-type: ulid.ULID
            x-go-name: OrganisationID
            x-go-type-import:
              path: versori.dev/vergo/ulid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                keys:
                  type: array
                  items:
                    type: array
                    items:
                      type: string
                options:
                  $ref: '#/components/schemas/GetOptions'
      responses:
        '200':
          description: Values retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchGetKVResponse'
components:
  schemas:
    GetOptions:
      type: object
      properties:
        timeout:
          type: number
          description: Request timeout in milliseconds
    BatchGetKVResponse:
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/KVEntry'
      required:
        - entries
    KVEntry:
      type: object
      properties:
        key:
          $ref: '#/components/schemas/KVKey'
        value:
          description: Any JSON-serializable value
        versionstamp:
          type: string
          description: Unique version identifier for optimistic concurrency
        createdAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
          nullable: true
          description: When the entry expires (TTL)
      required:
        - key
        - value
        - versionstamp
        - createdAt
    KVKey:
      type: array
      items:
        type: string
  securitySchemes:
    bearerToken:
      description: >
        Bearer token authentication used by the Versori Platform. External
        consumers must provide an API key, however

        internal consumers must provide a JWT id_token issued by our IdP.
      type: http
      scheme: bearer
    cookie:
      description: Cookie authentication used by the Versori Platform.
      type: apiKey
      in: cookie
      name: cookie

````