Intelligence types
Type definitions referenced by Intelligence queries and mutations.
AssistAnswer
Section titled “AssistAnswer”Object.
| Field | Type | Description |
|---|---|---|
answer |
String! |
— |
model |
String! |
— |
AssistantCapabilities
Section titled “AssistantCapabilities”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. |
AssistantSession
Section titled “AssistantSession”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! |
— |
AssistantSessionInput
Section titled “AssistantSessionInput”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 |
— |
AssistantTool
Section titled “AssistantTool”Object.
| Field | Type | Description |
|---|---|---|
key |
String! |
— |
description |
String! |
— |
Boolean
Section titled “Boolean”Scalar. The Boolean scalar type represents true or false.
ChatMessage
Section titled “ChatMessage”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! |
— |
Conversation
Section titled “Conversation”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! |
— |
ConversationConnection
Section titled “ConversationConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[ConversationEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
ConversationEdge
Section titled “ConversationEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Conversation! |
— |
cursor |
String! |
— |
CreateProjectInput
Section titled “CreateProjectInput”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.
GeneratedFile
Section titled “GeneratedFile”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! |
— |
GeneratedFileConnection
Section titled “GeneratedFileConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[GeneratedFileEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
GeneratedFileEdge
Section titled “GeneratedFileEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
GeneratedFile! |
— |
cursor |
String! |
— |
GenerationRun
Section titled “GenerationRun”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! |
— |
GenerationRunConnection
Section titled “GenerationRunConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[GenerationRunEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
GenerationRunEdge
Section titled “GenerationRunEdge”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.
PageInfo
Section titled “PageInfo”Object.
| Field | Type | Description |
|---|---|---|
hasNextPage |
Boolean! |
— |
hasPreviousPage |
Boolean! |
— |
startCursor |
String |
— |
endCursor |
String |
— |
Project
Section titled “Project”Object.
| Field | Type | Description |
|---|---|---|
id |
ID! |
— |
name |
String! |
— |
description |
String |
— |
target_service_key |
String |
— |
archived |
Boolean! |
— |
runs |
[GenerationRun!]! |
— |
created_at |
String! |
— |
updated_at |
String! |
— |
ProjectConnection
Section titled “ProjectConnection”Object.
| Field | Type | Description |
|---|---|---|
edges |
[ProjectEdge!]! |
— |
pageInfo |
PageInfo! |
— |
totalCount |
Int! |
— |
ProjectEdge
Section titled “ProjectEdge”Object.
| Field | Type | Description |
|---|---|---|
node |
Project! |
— |
cursor |
String! |
— |
ProjectFilter
Section titled “ProjectFilter”Input object. Filter for the projects list: free-text search plus archived toggle.
| Field | Type | Description |
|---|---|---|
search |
String |
— |
archived |
Boolean |
— |
PromptTemplate
Section titled “PromptTemplate”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! |
— |
SortDirection
Section titled “SortDirection”Enum. Sort direction for list queries.
| Value | Description |
|---|---|
ASC |
— |
DESC |
— |
SortInput
Section titled “SortInput”Input object. Generic sort specifier: a whitelisted field name plus a direction.
| Field | Type | Description |
|---|---|---|
field |
String! |
— |
direction |
SortDirection! |
— |
SpeechAudio
Section titled “SpeechAudio”Object.
| Field | Type | Description |
|---|---|---|
audio |
String! |
Base64-encoded audio. |
mime_type |
String! |
— |
String
Section titled “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.
Transcription
Section titled “Transcription”Object.
| Field | Type | Description |
|---|---|---|
text |
String! |
— |
duration |
Float! |
Seconds of audio. |
UpdateProjectInput
Section titled “UpdateProjectInput”Input object.
| Field | Type | Description |
|---|---|---|
name |
String |
— |
description |
String |
— |
target_service_key |
String |
— |