Projects¶
13 endpoints. Every path below is served by workspace-backend behind the gateway at https://api.trilocore.ai.
GET /api/v1/projects¶
List Projects
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
DELETE /api/v1/projects/{uuid}¶
Archive Project
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 204 |
| Upstream | workspace-backend |
GET /api/v1/projects/{uuid}¶
Get Project
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
PATCH /api/v1/projects/{uuid}¶
Update Project
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
name |
one of | no | — |
status |
one of | no | — |
GET /api/v1/projects/{uuid}/audit-logs¶
List Project Audit Logs
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
POST /api/v1/projects/{uuid}/audit-logs¶
Append Project Audit Log
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | workspace-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
kind |
string | no | one of note, review, handoff |
message |
string | yes | maxLength 2000, minLength 1 |
GET /api/v1/projects/{uuid}/invitations¶
List Project Invitations
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
POST /api/v1/projects/{uuid}/invitations¶
Create Project Invitation
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | required |
| Success | 201 |
| Upstream | workspace-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
access_expires_in_days |
one of | no | — |
expires_in_days |
one of | no | — |
invited_email |
string | yes | maxLength 320, minLength 3 |
invited_user_id |
one of | no | — |
project_id |
one of | no | — |
role |
string | yes | maxLength 64, minLength 1 |
DELETE /api/v1/projects/{uuid}/invitations/{uuid}¶
Revoke Project Invitation
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 204 |
| Upstream | workspace-backend |
GET /api/v1/projects/{uuid}/members¶
List Project Members
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |
POST /api/v1/projects/{uuid}/members¶
Add Project Member
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 201 |
| Upstream | workspace-backend |
Request body
| Field | Type | Required | Constraints |
|---|---|---|---|
expires_at |
one of | no | — |
principal_id |
string | yes | maxLength 128, minLength 1 |
principal_label |
one of | no | — |
principal_type |
string | yes | maxLength 32, minLength 1 |
role |
string | yes | maxLength 64, minLength 1 |
starts_at |
one of | no | — |
DELETE /api/v1/projects/{uuid}/members/{uuid}¶
Revoke Project Member
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 204 |
| Upstream | workspace-backend |
GET /api/v1/projects/{uuid}/overview¶
Project Overview
| Property | Value |
|---|---|
| Authentication | Authorization: Bearer (jns_ key or SSO session) |
| Idempotency-Key | not required |
| Success | 200 |
| Upstream | workspace-backend |