Projects
Generated from apiome-rest/openapi.yaml (API version 1.719.0) — do not edit by hand. How to authenticate is on the REST API reference.
Tag: projects · 21 operations
GET /v1/projects/domains
List Project Domain Categories Global
Allowlist of domainCategory ids for project metadata.
Public read (CLI prefetch uses no credentials). Register before /{tenant_slug} so
/v1/projects/domains is not captured as a tenant slug.
Operation id: list_project_domain_categories_global_v1_projects_domains_get
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list project domain categories global. | application/json map of array of string |
GET /v1/projects/{tenant_slug}
List Projects
List a tenant's projects, newest first, one page at a time.
The body is a JSON array. At most limit projects (200 at most) are returned; the
X-Has-More response header says whether more exist and X-Next-Cursor carries the
cursor of the next page (#7196).
Supports authentication via:
- JWT token in Authorization header (Bearer token)
- API key in X-API-Key header
Args:
tenant_slug: The tenant slug
response: The outgoing response (paging headers are set on it).
include_deleted: Include rows with deleted_at set (for trash / restore flows).
team: Only projects owned by this team.
limit: Page size.
cursor: Where the page starts (the previous page's X-Next-Cursor).
auth_data: Authentication data (injected by dependency)
Returns: One page of the tenant's projects.
Raises: HTTPException: 400 for a malformed cursor.
Operation id: list_projects_v1_projects__tenant_slug__get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
include_deleted | query | boolean | no | When true, include soft-deleted projects (active projects listed first). |
team | query | string or null | no | Only projects whose owner (confirmed, else suggested) is this team slug (CDG-2.4). |
limit | query | integer | no | Page size. At most 200. |
cursor | query | string or null | no | Opaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list projects. | application/json array of ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
POST /v1/projects/{tenant_slug}
Create Project
Create a new project.
Supports authentication via JWT token or API key. When using JWT, the creator_id field will be set to the authenticated user.
Args: tenant_slug: The tenant slug request: Project creation data auth_data: Authentication data (injected by dependency)
Returns: The created project
Operation id: create_project_v1_projects__tenant_slug__post
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Request body (required)
Request body for create project.
application/json—ProjectCreateRequest
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for create project. | application/json ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/by-slug/{project_slug}
Get Project By Slug
Get a specific project by slug.
Supports authentication via JWT token or API key.
Args: tenant_slug: The tenant slug project_slug: The project slug auth_data: Authentication data (injected by dependency)
Returns: The project details
Operation id: get_project_by_slug_v1_projects__tenant_slug__by_slug__project_slug__get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_slug | path | string | yes | URL-safe project slug within the tenant. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get project by slug. | application/json ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/domains
List Project Domain Categories For Tenant
Same allowlist under the tenant-scoped URL shape expected by the CLI.
Must be registered before /{tenant_slug}/{project_id} so the final segment
domains is not interpreted as a project UUID.
Operation id: list_project_domain_categories_for_tenant_v1_projects__tenant_slug__domains_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list project domain categories for tenant. | application/json map of array of string |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/pinned
List Pinned Projects
List the projects the caller pinned in this tenant, newest pin first.
Deleted projects are left out. At most pinLimit (8) projects can be pinned.
Args: tenant_slug: The tenant slug auth_data: Authentication data (injected by dependency)
Returns: The caller's pinned projects and the pin limit
Operation id: list_pinned_projects_v1_projects__tenant_slug__pinned_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list pinned projects. | application/json PinnedProjectsResponse |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/recently-viewed
List Recently Viewed Projects
List the projects the caller most recently opened in this tenant.
Deleted projects are left out. Each row carries when the caller first and last opened the project and how many times.
Args: tenant_slug: The tenant slug limit: Maximum rows (1–50, default 10) auth_data: Authentication data (injected by dependency)
Returns: The caller's recently viewed projects, newest first
Operation id: list_recently_viewed_projects_v1_projects__tenant_slug__recently_viewed_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
limit | query | integer | no | Maximum projects to return, most recently viewed first. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list recently viewed projects. | application/json RecentlyViewedProjectsResponse |
| 422 | Validation Error | application/json HTTPValidationError |
DELETE /v1/projects/{tenant_slug}/recently-viewed
Clear Recently Viewed Projects
Forget every project the caller has opened in this tenant.
Only the caller's own history is removed; other members' lists are untouched.
Args: tenant_slug: The tenant slug auth_data: Authentication data (injected by dependency)
Operation id: clear_recently_viewed_projects_v1_projects__tenant_slug__recently_viewed_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 204 | Successful response for clear recently viewed projects. | — |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/time-spent
Get Time Spent
The caller's active time per project in this tenant over the last days days.
Time is counted while a project's page is open, visible and in use in the app. Only the
caller's own time is returned; projects are listed most time first (up to 50), deleted ones
left out. totalSeconds covers every project in the window.
Args: tenant_slug: The tenant slug days: The window in UTC days, counting today auth_data: Authentication data (injected by dependency)
Returns: The window, the total and the per-project breakdown
Operation id: get_time_spent_v1_projects__tenant_slug__time_spent_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
days | query | integer | no | The window in UTC days, counting today (1–90, default 7). |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get time spent. | application/json ProjectTimeSpentResponse |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/{project_id}
Get Project
Get a specific project by ID.
Supports authentication via JWT token or API key.
Args: tenant_slug: The tenant slug project_id: The project ID auth_data: Authentication data (injected by dependency)
Returns: The project details
Operation id: get_project_v1_projects__tenant_slug___project_id__get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get project. | application/json ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
PUT /v1/projects/{tenant_slug}/{project_id}
Update Project
Update an existing project.
Supports authentication via JWT token or API key.
Args: tenant_slug: The tenant slug project_id: The project ID request: Project update data auth_data: Authentication data (injected by dependency)
Returns: The updated project
Raises:
HTTPException: 409 update_conflict when expectedUpdatedAt is given and the
project changed since (#3205); 409 for a slug already taken; 404 / 400 as before.
Operation id: update_project_v1_projects__tenant_slug___project_id__put
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Request body (required)
Request body for update project.
application/json—ProjectUpdateRequest
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for update project. | application/json ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
DELETE /v1/projects/{tenant_slug}/{project_id}
Delete Project
Delete a project — a soft delete by default, or permanently with ?permanent=true.
A soft delete hides the project and keeps everything, so POST …/restore brings it back.
A permanent delete removes the project, its revisions, classes, properties and paths in one
transaction; it also accepts a project that is already soft-deleted. Audit history is never
deleted: if a revision is referenced by audit records the delete is refused with 409
(delete_blocked) and nothing is removed. Requires projects:delete.
Supports authentication via JWT token or API key.
Args: tenant_slug: The tenant slug project_id: The project ID permanent: Delete irreversibly instead of soft-deleting. auth_data: Authentication data (injected by dependency)
Returns:
A success message, and permanent saying which kind of delete was made.
Operation id: delete_project_v1_projects__tenant_slug___project_id__delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
permanent | query | boolean | no | Delete the project and everything under it irreversibly (CLI 3.5, #3206). Without it the delete is a soft delete, undone with POST …/restore. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for delete project. | application/json object |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/{project_id}/conversions
List the conversions that produced a Project
Return the conversion-provenance rows that produced this Project, newest first (CPDO-3.3).
The converted-project side of the conversion history: each entry links a target revision of this Project back to the catalog item + source revision it was converted from, with the fidelity outcome, the content-addressed evidence snapshot id, and whether that snapshot is replayable. Empty for projects that were never a conversion target. Requires authentication + tenant scoping only, like every other project read.
One page of at most limit rows (200 at most); pass the page's nextCursor as cursor
while hasMore is true (#7196).
Args:
tenant_slug: The tenant slug.
project_id: The (target) project ID.
limit: Page size.
cursor: Where the page starts (nextCursor of the previous page).
auth_data: Authentication data (injected by dependency).
Returns:
The :class:~app.models.ProjectConversionHistoryResponse, newest first.
Raises: HTTPException: 400 for a malformed cursor; 404 when the project is unknown.
Operation id: get_project_conversion_history_v1_projects__tenant_slug___project_id__conversions_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
limit | query | integer | no | Page size. At most 200. |
cursor | query | string or null | no | Opaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for list the conversions that produced a project. | application/json ProjectConversionHistoryResponse |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/{project_id}/conversions/{provenance_id}/evidence
Page through the stored evidence snapshot of one conversion of this Project
Return one page of the exact evidence graph a conversion of this Project was approved with.
The project-side twin of the catalog evidence read, and deliberately reachable even when the
source catalog item has been deleted (source_project_id is SET NULL on the ledger): the
converted artifact must keep its approved evidence readable regardless of what happened to the
source. Served from the content-addressed snapshot store (CPDO-3.3, V215), never rebuilt; an
unservable snapshot degrades to an explicit HTTP 200 state, never an error.
Carries source-native coordinates, so it is gated on the same imports:view permission as the
catalog-side reads, checked after the project lookup so a cross-tenant id 404s rather than
confirming its existence with a 403. A provenance row that did not target this Project 404s.
Args:
tenant_slug: The tenant slug.
project_id: The (target) project ID.
provenance_id: The conversion_provenance row whose snapshot to page.
scope: Restrict the page to one edge scope; omit to page every scope.
cursor: Opaque page cursor.
limit: Maximum edges per page.
auth_data: Authentication data (injected by dependency).
Returns:
The :class:~app.models.ConversionEvidenceResponse — snapshot state, summary, and one page.
Raises: HTTPException: 400 for an unknown scope, 404 for an unknown project/provenance row, 422 for a malformed cursor.
Operation id: get_project_conversion_evidence_v1_projects__tenant_slug___project_id__conversions__provenance_id__evidence_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
provenance_id | path | string | yes | Path parameter identifying the provenance id segment. |
scope | query | string or null | no | Restrict the page to one edge scope: checklist / construct / loss / analysis. |
cursor | query | string or null | no | Opaque cursor from a previous page; omit to start at the beginning. |
limit | query | integer | no | Maximum edges per page; clamped server-side. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for page through the stored evidence snapshot of one conversion of this project. | application/json ConversionEvidenceResponse |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/{project_id}/deletion-impact
Get Project Deletion Impact
What permanently deleting a project would destroy (CLI 3.5, #3206).
Counts every revision (soft-deleted ones included — a permanent delete removes them too), the
live published revisions among them, and the classes, properties and paths under the
project. Works for a soft-deleted project as well, so an archived project can be reviewed
before it is purged. Requires projects:view.
Args: tenant_slug: The tenant slug project_id: The project ID (live or soft-deleted) auth_data: Authentication data (injected by dependency)
Returns:
{project_id, slug, name, deleted, versions, published_versions, unpublished_versions, classes, properties, paths}.
Operation id: get_project_deletion_impact_v1_projects__tenant_slug___project_id__deletion_impact_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get project deletion impact. | application/json object |
| 422 | Validation Error | application/json HTTPValidationError |
GET /v1/projects/{tenant_slug}/{project_id}/openapi-tags
Get Project Openapi Tags
List the project's OpenAPI tags, with the OpenAPI 3.2 summary / parent / kind.
The list an OpenAPI import kept (project metadata x-apiome-tag-taxonomy), in document
order; the generated document's top-level tags are written from it (#7048).
Raises: HTTPException: 404 when the project is not in the tenant.
Operation id: get_project_openapi_tags_v1_projects__tenant_slug___project_id__openapi_tags_get
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for get project openapi tags. | application/json ProjectOpenApiTagsOut |
| 422 | Validation Error | application/json HTTPValidationError |
PUT /v1/projects/{tenant_slug}/{project_id}/openapi-tags
Replace Project Openapi Tags
Replace the project's OpenAPI tag list (the tag hierarchy editor's save, #7048).
The list replaces the stored one; an empty list clears it. Every other metadata key is kept.
Raises:
HTTPException: 404 when the project is not in the tenant; 422 invalid_tags listing each
problem (a repeated name, a parent that is the tag itself, names no listed tag or
closes a cycle); 409 update_conflict when the project changed while saving.
Operation id: replace_project_openapi_tags_v1_projects__tenant_slug___project_id__openapi_tags_put
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Request body (required)
Request body for replace project openapi tags.
application/json—ProjectOpenApiTagsUpdateRequest
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for replace project openapi tags. | application/json ProjectOpenApiTagsOut |
| 422 | Validation Error | application/json HTTPValidationError |
PUT /v1/projects/{tenant_slug}/{project_id}/pin
Pin Project
Pin a project to the caller's Home.
Idempotent: pinning a project that is already pinned returns its existing pin.
Args: tenant_slug: The tenant slug project_id: The project ID auth_data: Authentication data (injected by dependency)
Returns: The caller's pin, with how many projects they have pinned and the limit
Raises:
HTTPException: 404 when the project does not exist, is deleted, or is in another tenant;
409 pin_limit_reached when the caller already has 8 pinned projects.
Operation id: pin_project_v1_projects__tenant_slug___project_id__pin_put
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for pin project. | application/json ProjectPinRecord |
| 422 | Validation Error | application/json HTTPValidationError |
DELETE /v1/projects/{tenant_slug}/{project_id}/pin
Unpin Project
Unpin a project from the caller's Home.
Idempotent: unpinning a project that is not pinned also returns 204.
Args: tenant_slug: The tenant slug project_id: The project ID auth_data: Authentication data (injected by dependency)
Operation id: unpin_project_v1_projects__tenant_slug___project_id__pin_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 204 | Successful response for unpin project. | — |
| 422 | Validation Error | application/json HTTPValidationError |
POST /v1/projects/{tenant_slug}/{project_id}/restore
Restore Project
Restore a soft-deleted project (clears deleted_at, sets enabled).
Operation id: restore_project_v1_projects__tenant_slug___project_id__restore_post
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for restore project. | application/json ProjectSchema |
| 422 | Validation Error | application/json HTTPValidationError |
POST /v1/projects/{tenant_slug}/{project_id}/views
Record Project View
Record that the caller opened a project.
Repeated calls update the same record: the last-viewed time moves forward and the view count goes up by one.
Args: tenant_slug: The tenant slug project_id: The project ID auth_data: Authentication data (injected by dependency)
Returns: The caller's view record for the project
Raises: HTTPException: 404 when the project does not exist, is deleted, or is in another tenant.
Operation id: record_project_view_v1_projects__tenant_slug___project_id__views_post
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenant_slug | path | string | yes | URL-safe tenant slug that scopes the request. |
project_id | path | string | yes | Project identifier that scopes the request. |
authorization | header | string or null | no | JWT bearer token for authenticated access (Authorization: Bearer <token>). |
X-API-Key | header | string or null | no | Tenant-scoped API key used as an alternative to JWT bearer authentication. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | Successful response for record project view. | application/json ProjectViewRecord |
| 422 | Validation Error | application/json HTTPValidationError |
Schemas used
ConversionEvidenceResponse
One page of a historical conversion's stored evidence graph (CPDO-3.3).
Serves the exact approved manifest from the content-addressed snapshot store — never a rebuild —
so the evidence shown is the evidence the conversion was committed with, regardless of how the
source or the converter changed since. summary/page are null exactly when
snapshot.status is unavailable; degrade is HTTP 200, never a 5xx.
| Property | Type | Required | Description |
|---|---|---|---|
provenanceId | string | yes | The conversion_provenance row served. |
itemId | string or null | no | Catalog item id, on the catalog surface. |
projectId | string or null | no | Target Project id, on the project surface. |
manifestHash | string or null | no | Content-addressed snapshot id, or null. |
sourceHash | string or null | no | Digest of the source text converted, or null. |
snapshot | ConversionSnapshotState | yes | Snapshot availability + degrade reason. |
summary | object or null | no | The bounded manifest summary of the stored snapshot; null when unavailable. |
page | object or null | no | One page of the stored graph's edges + nodes; null when unavailable. |
HTTPValidationError
Validation error response emitted when request data fails schema checks.
| Property | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError | no | Detail. |
PinnedProjectsResponse
Envelope for GET /v1/projects/{tenant_slug}/pinned (#513).
| Property | Type | Required | Description |
|---|---|---|---|
projects | array of PinnedProject | no | Projects. |
pinLimit | integer | yes | Pin Limit. |
ProjectConversionHistoryResponse
GET /v1/projects/{tenant_slug}/{project_id}/conversions — the conversions that produced a
Project, newest first (CPDO-3.3). Empty for projects that were never a conversion target.
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | The target Project id. |
conversions | array of ConversionProvenanceEntry | no | Provenance rows targeting this Project, newest first. |
hasMore | boolean | no | Whether another page exists. |
nextCursor | string or null | no | Pass as cursor to read the next page; null on the last page. |
ProjectCreateRequest
Request model for creating a project.
| Property | Type | Required | Description |
|---|---|---|---|
name | string | yes | Human-readable name. |
description | string or null | no | Free-text description. |
slug | string | yes | URL-safe identifier. |
metadata | object or null | no | Additional JSON metadata bag. |
ProjectOpenApiTagsOut
A project's OpenAPI tag list, in document order (#7048).
| Property | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | Project identifier the resource belongs to. |
tags | array of OpenApiTagObject | no | Associated tag labels. |
ProjectOpenApiTagsUpdateRequest
Replace a project's OpenAPI tag list (#7048).
Names must be unique, and a parent must name another listed tag without forming a cycle.
| Property | Type | Required | Description |
|---|---|---|---|
tags | array of OpenApiTagObject | no | Associated tag labels. |
ProjectPinRecord
The caller's pin on one project (#513).
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
pinnedAt | string (date-time) | yes | Pinned At. |
pinnedCount | integer | yes | How many projects the caller has pinned in this tenant, including this one. |
pinLimit | integer | yes | The most projects one member may pin in a tenant. |
ProjectSchema
ProjectSchema schema.
| Property | Type | Required | Description |
|---|---|---|---|
id | string | yes | Stable resource identifier. |
tenant_id | string | yes | Tenant that owns the resource. |
creator_id | string or null | no | Creator ID. |
name | string | yes | Human-readable name. |
description | string or null | no | Free-text description. |
slug | string | yes | URL-safe identifier. |
enabled | boolean | no | Whether the resource is active. |
deleted_at | string (date-time) or string or null | no | Deleted At timestamp (ISO 8601). |
metadata | object or null | no | Additional JSON metadata bag. |
changeReportTemplateVersionId | string or null | no | Change Report Template Version ID. |
qualityScore | integer or null | no | Quality Score. |
qualityGrade | string or null | no | Quality Grade. |
versionsCount | integer | no | Number of versions. |
publishable | boolean | no | Publishable. |
owner | EntityOwnerRef or null | no | The owner team: confirmed, or else suggested (with its source). |
identityGroupId | string or null | no | Identity Group ID. |
relatedArtifacts | array of RelatedArtifactRef | no | Related Artifacts. |
creator_name | string or null | no | Creator Name. |
creator_email | string or null | no | Creator Email. |
created_at | string (date-time) or string or null | no | Creation timestamp (ISO 8601). |
updated_at | string (date-time) or string or null | no | Last update timestamp (ISO 8601). |
ProjectTimeSpentResponse
Envelope for GET /v1/projects/{tenant_slug}/time-spent (#544).
| Property | Type | Required | Description |
|---|---|---|---|
days | integer | yes | The window: today and the days before it, in UTC. |
totalSeconds | integer | no | The caller's active seconds across every project in the window. |
projects | array of ProjectTimeSpent | no | Projects. |
ProjectUpdateRequest
Request model for updating a project.
| Property | Type | Required | Description |
|---|---|---|---|
name | string or null | no | Human-readable name. |
description | string or null | no | Free-text description. |
slug | string or null | no | URL-safe identifier. |
enabled | boolean or null | no | Whether the resource is active. |
metadata | object or null | no | Additional JSON metadata bag. |
changeReportTemplateVersionId | string or null | no | Change Report Template Version ID. |
expectedUpdatedAt | string (date-time) or null | no | Optimistic-concurrency precondition (CLI 3.4, #3205): the project's updated_at as the caller last read it. When set, the update applies only if the project is unchanged since; otherwise the request fails with 409 code 'update_conflict' and the project's current updated_at. |
ProjectViewRecord
One project the caller has opened, with when and how often (#510).
| Property | Type | Required | Description |
|---|---|---|---|
projectId | string | yes | Project ID. |
firstViewedAt | string (date-time) | yes | First Viewed At. |
lastViewedAt | string (date-time) | yes | Last Viewed At. |
viewCount | integer | yes | Number of view. |
RecentlyViewedProjectsResponse
Envelope for GET /v1/projects/{tenant_slug}/recently-viewed (#510).
| Property | Type | Required | Description |
|---|---|---|---|
projects | array of RecentlyViewedProject | no | Projects. |