Return a single project by ID, including its document_count and agent_count. Both live and archived projects can be retrieved. Returns 404 if the project does not exist.
A project: the top-level container that groups documents, agents,
and extraction results.
Returned by GET /projects/ and GET /projects/{project_id}/; also
accepted as the request body for PATCH /projects/{project_id}/,
where only the fields you supply are updated. Server-managed fields
such as id, created_at, last_visited_at, document_count, and
agent_count are read-only.
Name
Required
Type
Description
id
Yes
string (uuid)
Stable identifier for the project (UUID).
name
Yes
string
Human-readable name shown in the UI and in lists.
description
No
string
Short description of what the project covers.
last_visited_at
Yes
string (date-time) (nullable)
Timestamp of the most recent visit to this project.
reference_date
No
string (date) (nullable)
Reference date used by agents that need a “today” anchor (e.g. relative date extractions). Defaults to the date the project was created.
auto_archive_after_days
No
integer (nullable)
Opt-in auto-archival for document-oriented projects: documents uploaded more than this many days ago are automatically moved into an archived project by a daily sweep. Null disables auto-archival.
document_count
Yes
integer
Number of documents currently in the project.
agent_count
Yes
integer
Number of non-draft agents configured on the project.
is_pinned
No
boolean
Whether the project is pinned to the top of the project list.
folder_id
No
string (uuid) (nullable)
Folder that contains this project. Null means the project sits at the root of the organisation folder tree.
project_modules
Yes
any
Per-project overrides for which application modules are enabled, keyed by module name with boolean values. A missing key falls back to the organisation’s default for that module.