For AI agents: a documentation index is available at /llms.txt
Skip to main content

CookieInput

The cookie to be sent to the page

input CookieInput {
domain: String
expires: Float
httpOnly: Boolean
name: String!
path: String
priority: CookiePriority
sourceScheme: CookieSourceScheme
partitionKey: CookiePartitionKeyInput
sameSite: CookieSameSite
secure: Boolean
url: String
value: String!
}

Fields​

CookieInput.domain ● String scalar​

Cookie domain

CookieInput.expires ● Float scalar​

Cookie expiration date, session cookie if not set

CookieInput.httpOnly ● Boolean scalar​

True if cookie is http-only

CookieInput.name ● String! non-null scalar​

Cookie name

CookieInput.path ● String scalar​

Cookie path

CookieInput.priority ● CookiePriority enum​

CookieInput.sourceScheme ● CookieSourceScheme enum​

CookieInput.partitionKey ● CookiePartitionKeyInput input​

CookieInput.sameSite ● CookieSameSite enum​

Cookie SameSite type

CookieInput.secure ● Boolean scalar​

True if cookie is secure

CookieInput.url ● String scalar​

The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie

CookieInput.value ● String! non-null scalar​

Cookie value

Member Of​

cookies mutation

Was this page helpful?