Project Management

Operations for managing projects and project data

Fetch user documents

get

Retrieves a list of documents (jobs and projects) for the authenticated user. Returns job-based data with project information included.

Authorizations
Responses
200
Documents retrieved successfully
application/json
get
GET /api/fetchDocuments HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "projectId": "123e4567-e89b-12d3-a456-426614174000",
    "jobId": "123e4567-e89b-12d3-a456-426614174000",
    "title": "text",
    "status": "draft",
    "progress": 1,
    "is_starred": true,
    "created_at": "2025-07-17T11:05:59.740Z",
    "updated_at": "2025-07-17T11:05:59.740Z"
  }
]

Duplicate an existing project

post

Creates a copy of an existing project with all its settings and files

Authorizations
Body
projectIdstring · uuidRequired

ID of the project to duplicate

Responses
200
Project duplicated successfully
application/json
post
POST /api/duplicateProject HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 52

{
  "projectId": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}

Star or unstar a document

post

Toggles the starred status of a document (job)

Authorizations
Body
jobIdstring · uuidRequired

ID of the job to star/unstar

Responses
200
Document starred/unstarred successfully
application/json
post
POST /api/starDocument HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 48

{
  "jobId": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "message": "Document starred successfully"
}