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

# Cookie

Represents a browser cookie.

## Definition

```graphql theme={null}
object Cookie {
  name: String!
  value: String!
  domain: String!
  path: String
  expires: Int!
  httpOnly: Boolean!
  secure: Boolean!
  sameSite: SameSite!
}
```

## Fields

### `name`

[String!](/reference/graphql/scalars/string)

The name of the cookie. Example: `"session_id"`.

### `value`

[String!](/reference/graphql/scalars/string)

The value of the cookie. Example: `"abc123xyz789"`.

### `domain`

[String!](/reference/graphql/scalars/string)

The domain for which the cookie is valid. Example: `".example.com"`.

### `path`

[String](/reference/graphql/scalars/string)

The path for which the cookie is valid. Example: `"/"` or `"/app"`.

### `expires`

[Int!](/reference/graphql/scalars/int)

Expiration date as a Unix timestamp in seconds. If -1, it's a session cookie.

### `httpOnly`

[Boolean!](/reference/graphql/scalars/boolean)

Indicates if the cookie is HTTP-only (not accessible via client-side JavaScript).

### `secure`

[Boolean!](/reference/graphql/scalars/boolean)

Indicates if the cookie should only be sent over secure (HTTPS) connections.

### `sameSite`

[SameSite!](/reference/graphql/enums/same-site)

The SameSite attribute of the cookie (e.g., STRICT, LAX, NONE). See `SameSite` enum.
