# QueryEventsSchema
Source: https://docs.maelstrom-ai.co/dev/reference/devtools-protocol/variables/queryeventsschema/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

> `const` **QueryEventsSchema**: `ZodObject`<{ `appId`: `$ZodBranded`<`ZodUUID`, `"DevtoolsAppId"`, `"out"`\>; `criteria`: `ZodDefault`<`ZodObject`<{ `family`: `ZodOptional`<`ZodEnum`<{ `actions`: `"actions"`; `client`: `"client"`; `engine`: `"engine"`; `other`: `"other"`; `voice`: `"voice"`; }>>; `from`: `ZodOptional`<`ZodNumber`\>; `issueCategory`: `ZodOptional`<`ZodEnum`<{ `all`: `"all"`; `application`: `"application"`; `provider`: `"provider"`; `readiness`: `"readiness"`; `timeout`: `"timeout"`; `transport`: `"transport"`; `unknown`: `"unknown"`; `unreported`: `"unreported"`; `validation`: `"validation"`; }>>; `kind`: `ZodOptional`<`ZodString`\>; `outcome`: `ZodOptional`<`ZodEnum`<{ `abandoned`: `"abandoned"`; `cancelled`: `"cancelled"`; `discarded`: `"discarded"`; `failed`: `"failed"`; `skipped`: `"skipped"`; `started`: `"started"`; `succeeded`: `"succeeded"`; `succeeded_with_issues`: `"succeeded_with_issues"`; `unknown`: `"unknown"`; `unreported`: `"unreported"`; }>>; `query`: `ZodOptional`<`ZodString`\>; `requestKey`: `ZodOptional`<`ZodString`\>; `until`: `ZodOptional`<`ZodNumber`\>; `voiceKey`: `ZodOptional`<`ZodString`\>; }, `$strict`\>>; `cursor`: `ZodOptional`<`ZodString`\>; `limit`: `ZodDefault`<`ZodNumber`\>; `targetId`: `$ZodBranded`<`ZodUUID`, `"DevtoolsTargetId"`, `"out"`\>; `view`: `ZodDefault`<`ZodEnum`<{ `connections`: `"connections"`; `recent`: `"recent"`; `requests`: `"requests"`; }>>; }, `$strict`\>

Defined in: [packages/devtools-protocol/src/index.ts:95](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools-protocol/src/index.ts#L95)

Input for one app’s live metadata query.
