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

# Test a non-stored object configuration

> Tests an object configuration of the given type without persisting it, using the specification and test data supplied in the request body. Returns the test result for the evaluated object.



## OpenAPI

````yaml /schema.json post /di/configurations/{type}/test
openapi: 3.1.0
info:
  version: 01KV4EC0SHV95TK2YR66AMKFZC
  title: Alumio API
  description: Access Alumio through OpenAPI v3.1.
servers:
  - url: /api/v1
security: []
paths:
  /di/configurations/{type}/test:
    post:
      tags:
        - Di
      summary: Test a non-stored object configuration
      description: >-
        Tests an object configuration of the given type without persisting it,
        using the specification and test data supplied in the request body.
        Returns the test result for the evaluated object.
      operationId: testObjectSpecification
      parameters:
        - name: type
          in: path
          description: Type identifier
          required: true
          schema:
            type: string
        - name: space
          in: query
          description: Space Identifier
          required: false
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              schema:
                type: object
                testData:
                  type: object
                specification:
                  type: object
      responses:
        '200':
          description: An object configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiTestedObject'
        '400':
          description: Required data not given error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiProblem'
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DiTestedObject:
      type: object
      properties:
        type:
          type: string
        specification:
          oneOf:
            - type: string
            - type: object
        object:
          type: string
        tester:
          oneOf:
            - type: string
            - type: object
        response:
          type: object
    ApiProblem:
      type: object
      properties:
        status:
          type: number
        detail:
          type: string
    Error:
      type: object
      properties:
        status:
          type: string
        context:
          type: object
        type:
          type: string
        title:
          type: string
        detail:
          type: string
        violations:
          type: array
          items:
            type: object
            properties:
              title:
                type: string
              propertyPath:
                type: string
              type:
                type: string

````