---
title: "Code endpoint"
method: POST
path: "/code"
tags: ["scanners"]
---

# Code endpoint

`POST /code`

Process condition.

## Request body

- union
  - Condition — WHERE clause condition that can be combined with others.
    - `is_compound` boolean, required
    - `left` union
      - string
      - Condition — recursive
    - `operator` union
      - '=' | '!=' | '<' | '<=' | '>' | '>=' | 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'ILIKE' | 'NOT ILIKE' | 'IS NULL' | 'IS NOT NULL' | 'BETWEEN' | 'NOT BETWEEN' — SQL comparison operators.
      - 'AND' | 'OR' | 'NOT' — Logical operators for combining conditions.
    - `right` union
      - Condition — recursive
      - union[]
        - union
          - string
          - integer
          - number
          - boolean
          - string, date-time
          - string, date
      - string
      - integer
      - number
      - boolean
      - string, date-time
      - string, date
  - Condition[]
    - `is_compound` boolean, required
    - `left` union
      - string
      - Condition — recursive
    - `operator` union
      - '=' | '!=' | '<' | '<=' | '>' | '>=' | 'IN' | 'NOT IN' | 'LIKE' | 'NOT LIKE' | 'ILIKE' | 'NOT ILIKE' | 'IS NULL' | 'IS NOT NULL' | 'BETWEEN' | 'NOT BETWEEN' — SQL comparison operators.
      - 'AND' | 'OR' | 'NOT' — Logical operators for combining conditions.
    - `right` union
      - Condition — recursive
      - union[]
        - union
          - string
          - integer
          - number
          - boolean
          - string, date-time
          - string, date
      - string
      - integer
      - number
      - boolean
      - string, date-time
      - string, date

## Response `200`

Successful Response

- object

---

[API](https://skmtc.net/meridianlabs-ai/apis/inspect-scout-viewer-api.md) · [All operations](https://skmtc.net/meridianlabs-ai/apis/inspect-scout-viewer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meridianlabs-ai/inspect-scout-viewer-api/revisions/09cc54e3f328/schema)
