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

Folders

List folders

get

Returns folders for the project. Filter by kind or parentId.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
kindstring · enumOptional
  • test - Test
  • component - Component
  • file - File
Possible values:
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

parentIdstring · uuidOptional
querystringOptional
Responses
200Success
application/json
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=2
get/api/v2/folders/
GET /api/v2/folders/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "kind": "test",
      "depth": 1,
      "parentId": null
    }
  ]
}

Create a folder

post

Creates a new folder. Project is taken from the auth token.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Body
namestring · max: 255Required
kindstring · enumRequired
  • test - Test
  • component - Component
  • file - File
Possible values:
parentIdstring · nullableOptional
Responses
201Success
application/json
idstring · uuidRead-onlyRequired
namestringRead-onlyRequired
kindstring · enumRead-onlyRequired
  • test - Test
  • component - Component
  • file - File
Possible values:
depthintegerRead-onlyRequired
parentIdstring · nullableRead-onlyRequired
post/api/v2/folders/
POST /api/v2/folders/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 45

"name='text'&kind='test'&parentId=null"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "kind": "test",
  "depth": 1,
  "parentId": null
}

Get folder by ID

get

Returns a single folder.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idstring · uuidRequired

A UUID string identifying this folder.

Responses
200Success
application/json
idstring · uuidRead-onlyRequired
namestringRead-onlyRequired
kindstring · enumRead-onlyRequired
  • test - Test
  • component - Component
  • file - File
Possible values:
depthintegerRead-onlyRequired
parentIdstring · nullableRead-onlyRequired
get/api/v2/folders/{id}/
GET /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "kind": "test",
  "depth": 1,
  "parentId": null
}

Delete folder

delete

Deletes a folder. Fails with 400 if folder is not empty unless force=true is passed. When forced, contained tests/components are unlinked and subtree is soft-deleted.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idstring · uuidRequired

A UUID string identifying this folder.

Query parameters
forcebooleanOptional

If true, deletes folder even if non-empty (cascades to subtree).

Responses
204

No response body

No content

delete/api/v2/folders/{id}/
DELETE /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*

No content

Update folder (rename or move)

patch

Updates folder name and/or moves the folder to a different parent. Pass parentId=null to move to root.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idstring · uuidRequired

A UUID string identifying this folder.

Body
namestring · max: 255Optional
parentIdstring · nullableOptional
Responses
200Success
application/json
idstring · uuidRead-onlyRequired
namestringRead-onlyRequired
kindstring · enumRead-onlyRequired
  • test - Test
  • component - Component
  • file - File
Possible values:
depthintegerRead-onlyRequired
parentIdstring · nullableRead-onlyRequired
patch/api/v2/folders/{id}/
PATCH /api/v2/folders/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 31

"name='text'&parentId=null"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "kind": "test",
  "depth": 1,
  "parentId": null
}

Get folder tree

get

Returns the full nested folder tree for a given kind.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
kindstring · enumRequired

Folder kind.

Possible values:
pageintegerOptional

A page number within the paginated result set.

page_sizeintegerOptional

Number of results to return per page.

parentIdstring · uuidOptional
querystringOptional
Responses
200Success
application/json
countintegerRequiredExample: 123
nextstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptionalExample: http://api.example.org/accounts/?page=2
get/api/v2/folders/tree/
GET /api/v2/folders/tree/?kind=component HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "kind": "text",
      "depth": 1,
      "parentId": null,
      "created": "2026-01-01T00:00:00.000Z",
      "contentCount": 1,
      "children": [
        {
          "ANY_ADDITIONAL_PROPERTY": "anything"
        }
      ]
    }
  ]
}

Last updated

Was this helpful?