For the complete documentation index, see llms.txt. This page is also available as Markdown.

Projects

Get Projects

get

Get active (non-archived) projects for the caller. Non-admins see only projects they are a member of; admins see all. Identity comes from the verified token, not a client-supplied username.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Responses
200

Successful Response

application/json
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
project_idintegerRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
get/api/v1/projects
GET /api/v1/projects HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful Response

[
  {
    "org_id": 1,
    "name": "text",
    "description": "text",
    "is_archived": false,
    "archived_at": "2026-01-01T00:00:00.000Z",
    "llm_config_id": 1,
    "project_id": 1,
    "created_at": "2026-01-01T00:00:00.000Z",
    "updated_at": "2026-01-01T00:00:00.000Z"
  }
]

Create Project

post
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Body
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
usernamestringRequired
Responses
200

Successful Response

application/json
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
project_idintegerRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
post/api/v1/projects
POST /api/v1/projects HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 144

{
  "org_id": 1,
  "name": "text",
  "description": "text",
  "is_archived": false,
  "archived_at": "2026-01-01T00:00:00.000Z",
  "llm_config_id": 1,
  "username": "text"
}
{
  "org_id": 1,
  "name": "text",
  "description": "text",
  "is_archived": false,
  "archived_at": "2026-01-01T00:00:00.000Z",
  "llm_config_id": 1,
  "project_id": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Get Archived Projects

get

Get archived projects for the caller (mirrors get_projects, but for the archived set). Non-admins see only projects they are a member of; admins see all. Identity comes from the verified token, not a client username.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Responses
200

Successful Response

application/json
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
project_idintegerRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
get/api/v1/projects/archived
GET /api/v1/projects/archived HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Successful Response

[
  {
    "org_id": 1,
    "name": "text",
    "description": "text",
    "is_archived": false,
    "archived_at": "2026-01-01T00:00:00.000Z",
    "llm_config_id": 1,
    "project_id": 1,
    "created_at": "2026-01-01T00:00:00.000Z",
    "updated_at": "2026-01-01T00:00:00.000Z"
  }
]

Get Project

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Responses
200

Successful Response

application/json
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
project_idintegerRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
get/api/v1/projects/{project_id}
GET /api/v1/projects/{project_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "org_id": 1,
  "name": "text",
  "description": "text",
  "is_archived": false,
  "archived_at": "2026-01-01T00:00:00.000Z",
  "llm_config_id": 1,
  "project_id": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Update Project

put
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Body
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
Responses
200

Successful Response

application/json
org_idinteger · nullableOptional
namestringRequired
descriptionstring · nullableOptional
is_archivedboolean · nullableOptionalDefault: false
archived_atstring · date-time · nullableOptional
llm_config_idinteger · nullableOptional
project_idintegerRequired
created_atstring · date-timeRequired
updated_atstring · date-timeRequired
put/api/v1/projects/{project_id}
PUT /api/v1/projects/{project_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 126

{
  "org_id": 1,
  "name": "text",
  "description": "text",
  "is_archived": false,
  "archived_at": "2026-01-01T00:00:00.000Z",
  "llm_config_id": 1
}
{
  "org_id": 1,
  "name": "text",
  "description": "text",
  "is_archived": false,
  "archived_at": "2026-01-01T00:00:00.000Z",
  "llm_config_id": 1,
  "project_id": 1,
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z"
}

Delete Project

delete
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
delete/api/v1/projects/{project_id}
DELETE /api/v1/projects/{project_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Archive Project

post

Archive a project by its ID.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
post/api/v1/projects/{project_id}/archive
POST /api/v1/projects/{project_id}/archive HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Unarchive Project

post

Unarchive a project by its ID.

Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
post/api/v1/projects/{project_id}/unarchive
POST /api/v1/projects/{project_id}/unarchive HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Download Project Export

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
project_idintegerRequired
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/projects/{project_id}/download
GET /api/v1/projects/{project_id}/download HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated