# Create a new context check

Creates a new contextCheck. The resource isn't fully created immediately and you'll want to poll the `/contextChecks/{id}` GET for the result.

Endpoint: POST /contextChecks
Security: clientCredentials, oAuth2Password

## Header parameters:

  - `cache-control` (string)
    Whether to bypass the cached response. Requires permission to bypass the cache.

## Request fields (application/json):

  - `input` (string, required)
    The input to generate context for

  - `modelVersion` (string)
    The version of the model to use to generate the context. Defaults to "1.0"
    Enum: "1.0", "2.0"

  - `tags` (object)
    Any metadata tags to apply to the context check. Not used by Compass, but can be useful for associating caller metadata.

  - `indexOn` (string)
    An additional field to index the context check on. Can be filtered in the GET /contextChecks endpoint with the filter query parameter

## Response 200 fields (application/json):

  - `id` (string, required)
    The ID of the contextCheck

  - `created_at` (string, required)
    The datetime the contextCheck was created

  - `updated_at` (string, required)
    The datetime the contextCheck was last updated. Will just be the created date or completed date

  - `input` (string, required)
    The contextCheck to generate context for

  - `status` (string, required)
    Enum: "processing"

