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
AuthorizationstringRequired

JWT token for user session authentication.

Responses
200

Documents retrieved successfully

application/json
get
/fetchDocuments
GET /api/fetchDocuments HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
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-12-06T13:53:01.874Z",
    "updated_at": "2025-12-06T13:53:01.874Z"
  }
]

Duplicate an existing project

post

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

Authorizations
AuthorizationstringRequired

JWT token for user session authentication.

Body
projectIdstring · uuidRequired

ID of the project to duplicate

Responses
200

Project duplicated successfully

application/json
post
/duplicateProject
POST /api/duplicateProject HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
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
AuthorizationstringRequired

JWT token for user session authentication.

Body
jobIdstring · uuidRequired

ID of the job to star/unstar

Responses
200

Document starred/unstarred successfully

application/json
post
/starDocument
POST /api/starDocument HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 48

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