> ## 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.

# Get Secrets

> This endpoint gets secrets.

### Body

<ParamField body="id" type="string">
  This is the id of the secret
</ParamField>

### Response

<ResponseField name="id" type="number">
  This is the id of the secret.
</ResponseField>

<ResponseField name="name" type="string">
  This is the name of the secret.
</ResponseField>

<ResponseField name="description" type="string">
  This is the description of the secret.
</ResponseField>

<ResponseField name="value" type="string">
  This is the value of the secret.
</ResponseField>

<ResponseField name="created_at" type="string">
  This is the date the secret was created.
</ResponseField>

<ResponseField name="updated_at" type="string">
  This is the date the secret was updated.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://api.stateset.com/v1/secrets' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Token <token>' \
  --data-raw '{
      "id": 1
  }'
  ```
</RequestExample>
