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

# Create Example

> This endpoint creates a new example

### Body

<ParamField body="example_name" type="string">
  The name of the example to be created.
</ParamField>

<ParamField body="example_type" type="string">
  The type of the example (e.g., string, number, boolean).
</ParamField>

<ParamField body="description" type="string" optional="true">
  A brief description of the example.
</ParamField>

<ParamField body="ticket_id" type="string">
  This is the ticket\_id of the example.
</ParamField>

<ParamField body="created_at" type="string">
  This is the created\_at of the example.
</ParamField>

<ParamField body="updated_at" type="string">
  This is the updated\_at of the example.
</ParamField>

### Response

<ResponseField name="attribute_name" type="string">
  The name of the created example.
</ResponseField>

<ResponseField name="attribute_type" type="string">
  The type of the created example.
</ResponseField>

<ResponseField name="description" type="string">
  A brief description of the created example.
</ResponseField>

<ResponseField name="ticket_id" type="string">
  This is the ticket\_id of the example.
</ResponseField>

<ResponseField name="created_at" type="string">
  This is the created\_at of the example.
</ResponseField>

<ResponseField name="updated_at" type="string">
  This is the updated\_at of the example.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request POST 'https://api.stateset.com/v1/examples' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token <token>' \
  --data-raw '{
      "id": "em_1NXWPnCo6bFb1KQto6C8OWvE",
      "example_name": "Example Name",
      "example_type": "string"
  }'
  ```
</RequestExample>
