Space
GenieSpace object
- space_idstring
Genie space ID
- titlestring
Title of the Genie Space
- descriptionstring
Description of the Genie Space
- warehouse_idstring
Warehouse associated with the Genie Space
- parent_pathstring
Parent folder path of the Genie Space
- serialized_spacestring
The contents of the Genie Space in serialized string form. This field is excluded in List Genie spaces responses. Use the Get Genie Space API to retrieve an example response, which includes the
serialized_spacefield. This field provides the structure of the JSON string that represents the space's layout and components.
- etagstring
ETag for this space. Pass this value back in the update request to prevent overwriting concurrent changes.
- create_timestring
Time when the Genie space was created.
- update_timestring
Time when the Genie space was last modified, matching the value shown in the Genie Agent UI.
Get
GET
Get details of a Genie Space.
API scopes: genie
Parameters
- space_idstringpath
The ID associated with the Genie space
- include_serialized_spacebooleanquery
Whether to include the serialized space export in the response. Requires at least CAN EDIT permission on the space.
Response
Returns the GenieSpace object.
List
GET
Get list of Genie Spaces.
API scopes: genie
Parameters
- page_sizeint32query
Maximum number of spaces to return per page
- page_tokenstringquery
Pagination token for getting the next page of results
Response
Returns a list of GenieSpace objects.
Create
POST
Creates a Genie space from a serialized payload.
API scopes: genie
Request body
- warehouse_idstring
Warehouse to associate with the new space
- parent_pathstring
Parent folder path where the space will be registered
- serialized_spacestring
The contents of the Genie Space in serialized string form. Use the Get Genie Space API to retrieve an example response, which includes the
serialized_spacefield. This field provides the structure of the JSON string that represents the space's layout and components.
- titlestring
Optional title override
- descriptionstring
Optional description
Response
Returns the GenieSpace object.
Update
PATCH
Updates a Genie space with a serialized payload.
API scopes: genie
Parameters
- space_idstringpath
Genie space ID
Request body
- serialized_spacestring
The contents of the Genie Space in serialized string form (full replacement). Use the Get Genie Space API to retrieve an example response, which includes the
serialized_spacefield. This field provides the structure of the JSON string that represents the space's layout and components.
- titlestring
Optional title override
- descriptionstring
Optional description
- warehouse_idstring
Optional warehouse override
- etagstring
ETag returned by a previous GET or UPDATE. When set, the update will fail if the space has been modified since. Omit to apply the update unconditionally.
- parent_pathstring
Parent workspace folder path to move this Genie space under.
Response
Returns the GenieSpace object.
Delete
Download Message Attachment Visualization
GET
Download a rendered image of a message visualization attachment.
The response body is the raw PNG image, not a JSON payload.
This is only available if the attachment is a visualization and the message status is COMPLETED.
This endpoint is not supported for Private Link workspaces.
API scopes: genie
Parameters
- namestringpath
The resource name of the attachment to render, in the format
spaces/{space_id}/conversations/{conversation_id}/messages/{message_id}/attachments/{attachment_id}.
Response
- contentsstring
The rendered visualization as a PNG image. Returned as the raw HTTP response body rather than a JSON field.