Skip to content
gist.link ↗

Intelligence types

Type definitions referenced by Intelligence queries and mutations.

Object.

Field Type Description
answer String! —
model String! —

Object.

Field Type Description
model String! Model identifier, or “fake” when running offline (LLM_PROVIDER=fake).
suite_tools_enabled Boolean! False for callers whose token can’t be forwarded suite-wide (IAM API keys).
tools [AssistantTool!]! —
apps [String!]! Suite apps the assistant can reach on this deployment.
voice_input Boolean! Speech-to-text (Voicebox Whisper) is configured.
voice_output Boolean! Text-to-speech for replies (Voicebox) is configured.

Object. Where the user left the assistant sidebar; shared by every suite app.

Field Type Description
open Boolean! —
conversation_id ID —
voice_mode Boolean! —
draft String Unsent composer text.
updated_at String! —

Input object. Omitted fields are left unchanged; conversation_id: null starts a new chat.

Field Type Description
open Boolean —
conversation_id ID —
voice_mode Boolean —
draft String —

Object.

Field Type Description
key String! —
description String! —

Scalar. The Boolean scalar type represents true or false.

Object. One turn in an assistant conversation. role: user | assistant | tool. Tool turns carry one requested tool call; tool_status is one of pending (waiting for the user to approve), succeeded, failed, denied, blocked.

Field Type Description
id ID! —
role String! —
content String! Markdown text (user/assistant) or the tool’s result (tool).
tool_calls JSON Assistant turns: the tool calls the model requested ([{id, key, input}]).
tool_key String —
tool_input JSON —
tool_status String —
tool_summary String Plain-language description of the tool call (approval card text).
tool_mutation Boolean! True when the tool call changes data (required approval).
created_at String! —

Object. A private assistant chat thread owned by the signed-in user.

Field Type Description
id ID! —
title String! —
pinned Boolean! —
pending_actions Int! Number of tool calls waiting for the user’s approval.
tokens_in Int! —
tokens_out Int! —
messages [ChatMessage!]! Oldest first.
last_message_at String! —
created_at String! —
updated_at String! —

Object.

Field Type Description
edges [ConversationEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node Conversation! —
cursor String! —

Input object.

Field Type Description
name String! —
description String —
target_service_key String —

Scalar. The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Object. One of: scaffold, domain (a file may also be tagged plan/review in future stages).

Field Type Description
id ID! —
path String! —
content String! —
stage String! —
size Int! —
created_at String! —

Object.

Field Type Description
edges [GeneratedFileEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node GeneratedFile! —
cursor String! —

Object. One of: queued, planning, scaffolding, generating, reviewing, succeeded, failed.

Field Type Description
id ID! —
project_id ID! —
prompt String! —
status String! —
stage String One of: plan, scaffold, domain, review. Null once succeeded.
spec JSON The validated PLAN-stage service specification, once available.
notes String Free-text self-review notes produced by the REVIEW stage.
error String —
failed_stage String —
prompt_tokens Int! —
completion_tokens Int! —
files GeneratedFileConnection! —
started_at String —
finished_at String —
created_at String! —
updated_at String! —

Object.

Field Type Description
edges [GenerationRunEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node GenerationRun! —
cursor String! —

Scalar. The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Scalar.

Object.

Field Type Description
hasNextPage Boolean! —
hasPreviousPage Boolean! —
startCursor String —
endCursor String —

Object.

Field Type Description
id ID! —
name String! —
description String —
target_service_key String —
archived Boolean! —
runs [GenerationRun!]! —
created_at String! —
updated_at String! —

Object.

Field Type Description
edges [ProjectEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node Project! —
cursor String! —

Input object. Filter for the projects list: free-text search plus archived toggle.

Field Type Description
search String —
archived Boolean —

Object. organization_id is null for suite-default templates shared across all orgs.

Field Type Description
id ID! —
organization_id ID —
key String! —
system_prompt String! —
version Int! —
created_at String! —
updated_at String! —

Enum. Sort direction for list queries.

Value Description
ASC —
DESC —

Input object. Generic sort specifier: a whitelisted field name plus a direction.

Field Type Description
field String! —
direction SortDirection! —

Object.

Field Type Description
audio String! Base64-encoded audio.
mime_type String! —

Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Object.

Field Type Description
text String! —
duration Float! Seconds of audio.

Input object.

Field Type Description
name String —
description String —
target_service_key String —