Rename a project, or change its description or color.
Change the name, the description, the color, or any of them. Omitted properties stay unchanged. A changed description takes effect with the next answer in every chat assigned to the project.
The short description is Galilea's and cannot be set; the directory, the members and the memory are not changed here.
Requires project.edit, which only managers of the project hold.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
projectId*stringThe id of the project, as returned by GET /projects.
uuidapplication/json- body
Changes to a project. Omitted properties stay unchanged; at least one property is given.
1 <= propertiesname?stringNew display name.
1 <= length <= 200description?stringNew project description. It takes effect with the next answer in every assigned chat, since the agent receives the description anew with every run.
1 <= lengthcolor?stringNew display color as #RRGGBB.
^#[0-9A-Fa-f]{6}$The changed project.
application/json- response
A project: a shared workspace of a team within one tenant. It holds a flat directory of documents, the chats its members assign to it, its own memory and the artifacts created in those chats. Through this API a project is read with its name, its description, its color, its directory and what the calling user may do with it; chats, memory and artifacts are managed in the Galilea application only.
id*stringIdentifier of the project. It does not change when the project is renamed.
uuidname*stringDisplay name of the project. Not unique within the tenant: two teams may give their projects the same name, and each member only sees the projects they belong to.
length <= 200description*stringThe project brief as Markdown, which Galilea keeps up to date. Required on creation; a
project cannot be created without it. Right after creation, and from then on at most once a
day when the project had activity, Galilea rewrites it from the current description, the
recaps of the last 100 chats of all members and all memories of the project, in sections:
what it is about, goal, status, next steps, dates, people involved, decisions, open points
and risks, key documents, key figures. A manager may still edit it by hand at any time, in
the Galilea application or with PATCH /projects/{projectId}; the next run takes that
version as its input. If a run fails, the previous description stays.
It is not an instruction to the agent and not a text for the card: every run of a chat assigned to the project receives it together with the name and the directory of the project as context, so a change takes effect with the next answer in every assigned chat. The text for the card is shortDescription.
shortDescription?stringThe short description, one sentence, written by Galilea and never by a person. It is generated in the same run that rewrites description: right after creation and then at most once a day when the project had activity. If a run fails, the previous text stays. Empty until the first run has finished; it cannot be set through this API.
It is written in the most common preferred language of the project's members, ties broken by their activity in the project, not in the language of the description.
color*stringDisplay color of the project in the Galilea application, as #RRGGBB.
^#[0-9A-Fa-f]{6}$directoryId*stringID of the project directory, the flat document store of the project. Upload documents
into the project by passing this id as directory to POST /uploads, and read which
documents it holds with GET /directories/{directoryId}.
The directory is hidden: GET /directories never lists it, it has no subdirectories
and allows none, it cannot be renamed, moved, deleted or shared on its own, and it is
no target for sync jobs. Its rights mirror the project: every member reads it, members
with the permission edit or manage add documents to it, capped by their role in the
tenant.
uuiduserPermissions*array<>What the calling user may do with this project, derived from the highest permission the user holds through any of their groups, capped by their role in the tenant:
- project.view open the project, read its description, documents and artifacts
- project.view_permissions see the members and their permissions
- project.assign_chat assign own chats to the project (Galilea application only)
- project.view_memory read the memory of the project (Galilea application only)
- project.remove_artifact remove artifacts from the project (Galilea application only)
- project.manage_memory add, change and delete memories (Galilea application only)
- project.edit change name, description and color
- project.manage add and remove members and change their permissions
- project.delete delete the project
A member with the permission view holds the first five, a member with edit
additionally project.manage_memory, a member with manage all nine. A user whose
role in the tenant is viewer holds the first four whatever permission they were
given.
createdBy?|The user who created the project; null once that user was deleted.
createdAt*stringCreation timestamp of the project.
date-timelastModifiedAt*stringLast change of name, description or color.
date-timecurl -X PATCH "https://example.com/projects/0b7c2f4e-5a61-4d3b-9f0e-6c1d2a3b4c5d" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "0b7c2f4e-5a61-4d3b-9f0e-6c1d2a3b4c5d", "name": "Neubau Werk Süd", "description": "Planung und Genehmigung des Neubaus Werk Süd, Bauherr ist die Stadtwerke GmbH. Termine, Auflagen und Entscheidungen des Bauausschusses stehen im Vordergrund.", "shortDescription": "Neubau Werk Süd mit Bauantrag, Brandschutzauflagen und Terminplan bis Q2 2027.", "color": "#2F6FDE", "directoryId": "9c4e1b2a-7d3f-4a5e-8b6c-1f2e3d4c5b6a", "userPermissions": [ "project.view", "project.view_permissions", "project.assign_chat", "project.view_memory", "project.remove_artifact", "project.manage_memory" ], "createdBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "lastModifiedAt": "2019-08-24T14:15:22Z"}