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

# DESCRIBE CONTEXT

<a id="sql-gpt-desc-context" />

Outputs the configuration of an existing
[SQL-GPT context](/content/sql/sqlgpt/create-context#sql-gpt-create-context).

```sql title="DESCRIBE CONTEXT Syntax" theme={null}
DESC[RIBE] CONTEXT < [<schema name>.]<context name> | * >
```

## Parameters

<AccordionGroup>
  <Accordion title="<schema name>" id="<schema-name>" defaultOpen>
    Name of the *schema* containing the *SQL-GPT context* to describe
  </Accordion>

  <Accordion title="<context name>" id="<context-name>" defaultOpen>
    Name of the existing *SQL-GPT context* for which the configuration will be output; use `*`
    instead of *schema*/*context* name to output the configuration of all *contexts*
  </Accordion>
</AccordionGroup>

## Response

The response to `DESCRIBE CONTEXT` is a seven-column result set:

| Output Column | Description |
| - | - |
| `CONTEXT_NAME` | Name of the *SQL-GPT context* |
| `OBJECT_TYPE` | Type of the *context entity* being described within the *context* |
| `OBJECT_NAME` | For a table entity type, the name of the table |
| `OBJECT_DESCRIPTION` | For a table entity type, the table comment |
| `OBJECT_RULES` | For a table entity type, rules associated with the table |
| `OBJECT_COMMENTS` | For a table entity type, the table's column comments |
| `OBJECT_SAMPLES` | For a samples entity type, the list of question/answer pairs |

## Examples

To show the configuration for a *SQL-GPT context*, `example.atc_ctx`:

```sql DESCRIBE CONTEXT Example theme={null}
DESC CONTEXT example.atc_ctx
```

To show the configuration for all *SQL-GPT contexts*:

```sql DESCRIBE CONTEXT (All Contexts) Example theme={null}
DESC CONTEXT *
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.