Create one folder in the test repository. Folders are addressed by path
("regression/smoke") rather than UUID, so the parent is normally given as
parent_path. Omit both parent fields to create the folder at the root.The resulting path is the string accepted by folder_path in
Create Test,
Update Test, and
List Tests — so this endpoint is what lets a
client build the folder it wants to file new tests under.
Request Body
object
required
Folder definition
Show test_folder properties
string
required
Folder name. Cannot contain /, and cannot have leading or trailing
whitespace — both would make the folder unaddressable by path.
string
Parent folder addressed by path. null or "/" means the root. Mutually
exclusive with parent_folder_id.
string
Pre-resolved parent folder UUID, as returned by
List Test Folders.
Mutually exclusive with parent_path.
string
Optional description shown in the folder details dialog.
string[]
Optional tags applied to the folder.
boolean
default:"false"
When parent_path names a folder that does not exist yet, create the
missing segments instead of returning 404. Defaults to false so a typo
surfaces as an error rather than silently building a new hierarchy.
Response
Returns the newly created folder with status 201.
string
required
Folder UUID
string
required
Folder name (just the leaf segment)
string
required
Resolved folder path (e.g. "regression/smoke")
string
Parent folder UUID, or null for top-level folders
string
required
Resolved parent path, or "/" for top-level folders
string[]
required
Parents that had to be created on the way to the requested one. Empty unless
create_intermediate_parents was set.
Errors
Status
When
400
Invalid folder name, or both parent_path and parent_folder_id supplied
404
parent_path does not exist and create_intermediate_parents was not set
409
A folder with that name already exists in the same parent
The project ID. You can copy it from the project settings page or the project URL in the dashboard.
Body
application/json
test_folder
object
required
Show child attributes
Response
Test folder created
id
string<uuid>
name
string
path
string
parent_folder_id
string<uuid> | null
parent_path
string
created_intermediate_paths
string[]
Parents created on the way to the requested one. Empty unless create_intermediate_parents was set.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"nunu.ai","colors":{"primary":"#E55CD8","light":"#F79EDE","dark":"#9A2EA4"},"logo":{"light":"https://mintcdn.com/nunuai/3v-_21V5RzgZ0hsy/logo/light.svg?fit=max\u0026auto=format\u0026n=3v-_21V5RzgZ0hsy\u0026q=85\u0026s=72e6c926e51763f6f3775cfeddaf2bb2","dark":"https://mintcdn.com/nunuai/3v-_21V5RzgZ0hsy/logo/dark.svg?fit=max\u0026auto=format\u0026n=3v-_21V5RzgZ0hsy\u0026q=85\u0026s=71d1c274ff8d549db65f1f0a13c87d11"},"favicon":"https://mintcdn.com/nunuai/3v-_21V5RzgZ0hsy/favicon.svg?fit=max\u0026auto=format\u0026n=3v-_21V5RzgZ0hsy\u0026q=85\u0026s=96357a640e1c73d009bff3b73fa959a8","api":{"openapi":"api-reference/openapi.json"},"background":{"color":{"light":"#fafafa","dark":"#0A0A1C"}},"navbar":{"links":[{"href":"https://docs.nunu.ai","label":"Nexus Docs"}],"primary":{"type":"button","label":"Nexus","href":"https://nunu.ai/nexus"}},"footer":{"socials":{"x":"https://x.com/nunu_ai","github":"https://github.com/nunu-ai","linkedin":"https://linkedin.com/company/nunu-ai","discord":"https://discord.gg/nunu"}},"seo":{"metatags":{"robots":"noindex"}},"styling":{"codeblocks":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"latex":false},"contextual":{"options":["copy","chatgpt","claude","perplexity"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Nexus Documentation","icon":"newspaper","href":"https://docs.nunu.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nunuai","hasAudioNarration":false,"actualSubdomain":"nunuai","customDomains":["api-docs.nunu.ai"],"gitSource":{"type":"github","owner":"nunu-ai","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af2f3300e86f2e3048ddfa7","clientVersion":"0.0.4336","searchFilterCounts":[]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/test-folders/create-test-folder","slug":"/api-reference/test-folders/create-test-folder","pageMetadata":{"title":"Create Test Folder","openapi":"POST /project/{projectId}/test-folders","noindex":true,"description":"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.","href":"/api-reference/test-folders/create-test-folder"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,Info,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission Required`}),`: `,_jsx(_components.code,{children:`project:edit-tests`})]})}),`\n`,_jsxs(_components.p,{children:[`Create one folder in the test repository. Folders are addressed by path\n(`,_jsx(_components.code,{children:`\"regression/smoke\"`}),`) rather than UUID, so the parent is normally given as\n`,_jsx(_components.code,{children:`parent_path`}),`. Omit both parent fields to create the folder at the root.`]}),`\n`,_jsxs(_components.p,{children:[`The resulting `,_jsx(_components.code,{children:`path`}),` is the string accepted by `,_jsx(_components.code,{children:`folder_path`}),` in\n`,_jsx(_components.a,{href:`/api-reference/tests/create-test`,children:`Create Test`}),`,\n`,_jsx(_components.a,{href:`/api-reference/tests/update-test`,children:`Update Test`}),`, and\n`,_jsx(_components.a,{href:`/api-reference/tests/list-tests`,children:`List Tests`}),` — so this endpoint is what lets a\nclient build the folder it wants to file new tests under.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`test_folder`,type:`object`,required:true,id:`param-test-folder`,children:[_jsx(_components.p,{children:`Folder definition`}),_jsxs(Expandable,{title:`test_folder properties`,children:[_jsx(ParamField,{body:`test_folder.name`,type:`string`,required:true,id:`param-test-folder-name`,children:_jsxs(_components.p,{children:[`Folder name. Cannot contain `,_jsx(_components.code,{children:`/`}),`, and cannot have leading or trailing\nwhitespace — both would make the folder unaddressable by path.`]})}),_jsx(ParamField,{body:`test_folder.parent_path`,type:`string`,id:`param-test-folder-parent-path`,children:_jsxs(_components.p,{children:[`Parent folder addressed by path. `,_jsx(_components.code,{children:`null`}),` or `,_jsx(_components.code,{children:`\"/\"`}),` means the root. Mutually\nexclusive with `,_jsx(_components.code,{children:`parent_folder_id`}),`.`]})}),_jsx(ParamField,{body:`test_folder.parent_folder_id`,type:`string`,id:`param-test-folder-parent-folder-id`,children:_jsxs(_components.p,{children:[`Pre-resolved parent folder UUID, as returned by\n`,_jsx(_components.a,{href:`/api-reference/test-folders/list-test-folders`,children:`List Test Folders`}),`.\nMutually exclusive with `,_jsx(_components.code,{children:`parent_path`}),`.`]})}),_jsx(ParamField,{body:`test_folder.description`,type:`string`,id:`param-test-folder-description`,children:_jsx(_components.p,{children:`Optional description shown in the folder details dialog.`})}),_jsx(ParamField,{body:`test_folder.tags`,type:`string[]`,id:`param-test-folder-tags`,children:_jsx(_components.p,{children:`Optional tags applied to the folder.`})}),_jsx(ParamField,{body:`test_folder.create_intermediate_parents`,type:`boolean`,default:`false`,id:`param-test-folder-create-intermediate-parents`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`parent_path`}),` names a folder that does not exist yet, create the\nmissing segments instead of returning `,_jsx(_components.code,{children:`404`}),`. Defaults to `,_jsx(_components.code,{children:`false`}),` so a typo\nsurfaces as an error rather than silently building a new hierarchy.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the newly created folder with status `,_jsx(_components.code,{children:`201`}),`.`]}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Folder UUID`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Folder name (just the leaf segment)`})}),`\n`,_jsx(ResponseField,{name:`path`,type:`string`,required:true,id:`param-path`,children:_jsxs(_components.p,{children:[`Resolved folder path (e.g. `,_jsx(_components.code,{children:`\"regression/smoke\"`}),`)`]})}),`\n`,_jsx(ResponseField,{name:`parent_folder_id`,type:`string`,id:`param-parent-folder-id`,children:_jsxs(_components.p,{children:[`Parent folder UUID, or `,_jsx(_components.code,{children:`null`}),` for top-level folders`]})}),`\n`,_jsx(ResponseField,{name:`parent_path`,type:`string`,required:true,id:`param-parent-path`,children:_jsxs(_components.p,{children:[`Resolved parent path, or `,_jsx(_components.code,{children:`\"/\"`}),` for top-level folders`]})}),`\n`,_jsx(ResponseField,{name:`created_intermediate_paths`,type:`string[]`,required:true,id:`param-created-intermediate-paths`,children:_jsxs(_components.p,{children:[`Parents that had to be created on the way to the requested one. Empty unless\n`,_jsx(_components.code,{children:`create_intermediate_parents`}),` was set.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Invalid folder name, or both `,_jsx(_components.code,{children:`parent_path`}),` and `,_jsx(_components.code,{children:`parent_folder_id`}),` supplied`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`parent_path`}),` does not exist and `,_jsx(_components.code,{children:`create_intermediate_parents`}),` was not set`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A folder with that name already exists in the same parent`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"config":{},"pageMetadata":{"title":"Create Test Folder","openapi":"POST /project/{projectId}/test-folders","noindex":true,"description":"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.","href":"/api-reference/test-folders/create-test-folder"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Info,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Permission Required`}),`: `,_jsx(_components.code,{children:`project:edit-tests`})]})}),`\n`,_jsxs(_components.p,{children:[`Create one folder in the test repository. Folders are addressed by path\n(`,_jsx(_components.code,{children:`\"regression/smoke\"`}),`) rather than UUID, so the parent is normally given as\n`,_jsx(_components.code,{children:`parent_path`}),`. Omit both parent fields to create the folder at the root.`]}),`\n`,_jsxs(_components.p,{children:[`The resulting `,_jsx(_components.code,{children:`path`}),` is the string accepted by `,_jsx(_components.code,{children:`folder_path`}),` in\n`,_jsx(_components.a,{href:`/api-reference/tests/create-test`,children:`Create Test`}),`,\n`,_jsx(_components.a,{href:`/api-reference/tests/update-test`,children:`Update Test`}),`, and\n`,_jsx(_components.a,{href:`/api-reference/tests/list-tests`,children:`List Tests`}),` — so this endpoint is what lets a\nclient build the folder it wants to file new tests under.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`test_folder`,type:`object`,required:true,id:`param-test-folder`,children:[_jsx(_components.p,{children:`Folder definition`}),_jsxs(Expandable,{title:`test_folder properties`,children:[_jsx(ParamField,{body:`test_folder.name`,type:`string`,required:true,id:`param-test-folder-name`,children:_jsxs(_components.p,{children:[`Folder name. Cannot contain `,_jsx(_components.code,{children:`/`}),`, and cannot have leading or trailing\nwhitespace — both would make the folder unaddressable by path.`]})}),_jsx(ParamField,{body:`test_folder.parent_path`,type:`string`,id:`param-test-folder-parent-path`,children:_jsxs(_components.p,{children:[`Parent folder addressed by path. `,_jsx(_components.code,{children:`null`}),` or `,_jsx(_components.code,{children:`\"/\"`}),` means the root. Mutually\nexclusive with `,_jsx(_components.code,{children:`parent_folder_id`}),`.`]})}),_jsx(ParamField,{body:`test_folder.parent_folder_id`,type:`string`,id:`param-test-folder-parent-folder-id`,children:_jsxs(_components.p,{children:[`Pre-resolved parent folder UUID, as returned by\n`,_jsx(_components.a,{href:`/api-reference/test-folders/list-test-folders`,children:`List Test Folders`}),`.\nMutually exclusive with `,_jsx(_components.code,{children:`parent_path`}),`.`]})}),_jsx(ParamField,{body:`test_folder.description`,type:`string`,id:`param-test-folder-description`,children:_jsx(_components.p,{children:`Optional description shown in the folder details dialog.`})}),_jsx(ParamField,{body:`test_folder.tags`,type:`string[]`,id:`param-test-folder-tags`,children:_jsx(_components.p,{children:`Optional tags applied to the folder.`})}),_jsx(ParamField,{body:`test_folder.create_intermediate_parents`,type:`boolean`,default:`false`,id:`param-test-folder-create-intermediate-parents`,children:_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`parent_path`}),` names a folder that does not exist yet, create the\nmissing segments instead of returning `,_jsx(_components.code,{children:`404`}),`. Defaults to `,_jsx(_components.code,{children:`false`}),` so a typo\nsurfaces as an error rather than silently building a new hierarchy.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the newly created folder with status `,_jsx(_components.code,{children:`201`}),`.`]}),`\n`,_jsx(ResponseField,{name:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`Folder UUID`})}),`\n`,_jsx(ResponseField,{name:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Folder name (just the leaf segment)`})}),`\n`,_jsx(ResponseField,{name:`path`,type:`string`,required:true,id:`param-path`,children:_jsxs(_components.p,{children:[`Resolved folder path (e.g. `,_jsx(_components.code,{children:`\"regression/smoke\"`}),`)`]})}),`\n`,_jsx(ResponseField,{name:`parent_folder_id`,type:`string`,id:`param-parent-folder-id`,children:_jsxs(_components.p,{children:[`Parent folder UUID, or `,_jsx(_components.code,{children:`null`}),` for top-level folders`]})}),`\n`,_jsx(ResponseField,{name:`parent_path`,type:`string`,required:true,id:`param-parent-path`,children:_jsxs(_components.p,{children:[`Resolved parent path, or `,_jsx(_components.code,{children:`\"/\"`}),` for top-level folders`]})}),`\n`,_jsx(ResponseField,{name:`created_intermediate_paths`,type:`string[]`,required:true,id:`param-created-intermediate-paths`,children:_jsxs(_components.p,{children:[`Parents that had to be created on the way to the requested one. Empty unless\n`,_jsx(_components.code,{children:`create_intermediate_parents`}),` was set.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsxs(_components.td,{children:[`Invalid folder name, or both `,_jsx(_components.code,{children:`parent_path`}),` and `,_jsx(_components.code,{children:`parent_folder_id`}),` supplied`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`parent_path`}),` does not exist and `,_jsx(_components.code,{children:`create_intermediate_parents`}),` was not set`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:`A folder with that name already exists in the same parent`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#89B4FA`,\"--shiki-dark-font-style\":`italic`},children:`curl`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` -X`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` POST`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"https://nunu.ai/api/v1/project/your-project-id/test-folders\"`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` -H`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"X-Api-Key: YOUR_API_TOKEN\"`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` -H`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#EA76CB`,\"--shiki-dark\":`#F5C2E7`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` -d`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"test_folder\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"name\": \"smoke\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"parent_path\": \"regression\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"description\": \"Critical-path smoke tests\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"tags\": [\"nightly\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"create_intermediate_parents\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes catppuccin-latte catppuccin-mocha`,style:{backgroundColor:`#eff1f5`,\"--shiki-dark-bg\":`#1e1e2e`,color:`#4c4f69`,\"--shiki-dark\":`#cdd6f4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`id`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"f01a3b1c-9d2e-4f05-8c7a-1a2b3c4d5e6f\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`name`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"smoke\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`path`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"regression/smoke\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`parent_folder_id`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"e10b2c3d-4e5f-6789-abcd-ef0123456789\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`parent_path`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:` \"regression\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` \"`}),_jsx(_components.span,{style:{color:`#1E66F5`,\"--shiki-dark\":`#89B4FA`},children:`created_intermediate_paths`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`:`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:` [`}),_jsx(_components.span,{style:{color:`#40A02B`,\"--shiki-dark\":`#A6E3A1`},children:`\"regression\"`}),_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#7C7F93`,\"--shiki-dark\":`#9399B2`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}},"config":{},"pageMetadata":{"title":"Create Test Folder","openapi":"POST /project/{projectId}/test-folders","noindex":true,"description":"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.","href":"/api-reference/test-folders/create-test-folder"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes catppuccin-latte catppuccin-mocha\" style=\"background-color:#eff1f5;--shiki-dark-bg:#1e1e2e;color:#4c4f69;--shiki-dark:#cdd6f4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#1E66F5;--shiki-light-font-style:italic;--shiki-dark:#89B4FA;--shiki-dark-font-style:italic\">curl\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> -X\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> POST\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"https://nunu.ai/api/v1/project/your-project-id/test-folders\"\u003c/span>\u003cspan style=\"color:#EA76CB;--shiki-dark:#F5C2E7\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> -H\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"X-Api-Key: YOUR_API_TOKEN\"\u003c/span>\u003cspan style=\"color:#EA76CB;--shiki-dark:#F5C2E7\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> -H\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#EA76CB;--shiki-dark:#F5C2E7\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> -d\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"test_folder\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"name\": \"smoke\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"parent_path\": \"regression\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"description\": \"Critical-path smoke tests\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"tags\": [\"nightly\"],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"create_intermediate_parents\": true\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes catppuccin-latte catppuccin-mocha\" style=\"background-color:#eff1f5;--shiki-dark-bg:#1e1e2e;color:#4c4f69;--shiki-dark:#cdd6f4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">id\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"f01a3b1c-9d2e-4f05-8c7a-1a2b3c4d5e6f\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">name\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"smoke\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">path\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"regression/smoke\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">parent_folder_id\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"e10b2c3d-4e5f-6789-abcd-ef0123456789\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">parent_path\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\"> \"regression\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> \"\u003c/span>\u003cspan style=\"color:#1E66F5;--shiki-dark:#89B4FA\">created_intermediate_paths\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">:\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\"> [\u003c/span>\u003cspan style=\"color:#40A02B;--shiki-dark:#A6E3A1\">\"regression\"\u003c/span>\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#7C7F93;--shiki-dark:#9399B2\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createTestFolder","summary":"Create Test Folder","description":"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.","tags":["Tests"],"requestBody":"bcc17f3c-0eba-44be-abf7-1e45d0d87455","responses":{"201":"c9a0d731-c600-45ae-b4e9-3b33dead22cf","400":"bd2928d4-28d7-4a27-add7-80cff643730c","401":"2f78f6f1-d155-4ff3-9271-14e99bb7854d","404":"5b3ef586-01b6-433b-a962-c3987a8124ba","409":"802146db-b5ef-430c-9538-4e9bbd4742f2"},"method":"post","type":"path","servers":["fe7f9faa-67b1-4dc0-beb7-6b56c390013d"],"security":["da3031a1-3583-4b3a-8f58-e5075dc1ab65"],"path":"/project/{projectId}/test-folders","baseUrlOptions":["https://nunu.ai/api/v1"],"title":"Create Test Folder","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes catppuccin-latte catppuccin-mocha","style":{"backgroundColor":"#eff1f5","--shiki-dark-bg":"#1e1e2e","color":"#4c4f69","--shiki-dark":"#cdd6f4"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-light-font-style":"italic","--shiki-dark":"#89B4FA","--shiki-dark-font-style":"italic"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" POST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"https://nunu.ai/api/v1/project/your-project-id/test-folders\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#EA76CB","--shiki-dark":"#F5C2E7"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"X-Api-Key: YOUR_API_TOKEN\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#EA76CB","--shiki-dark":"#F5C2E7"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#EA76CB","--shiki-dark":"#F5C2E7"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" '{"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"test_folder\": {"}}}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"name\": \"smoke\","}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"parent_path\": \"regression\","}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"description\": \"Critical-path smoke tests\","}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"tags\": [\"nightly\"],"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"create_intermediate_parents\": true"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" }"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes catppuccin-latte catppuccin-mocha","style":{"backgroundColor":"#eff1f5","--shiki-dark-bg":"#1e1e2e","color":"#4c4f69","--shiki-dark":"#cdd6f4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"id"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"f01a3b1c-9d2e-4f05-8c7a-1a2b3c4d5e6f\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"name"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"smoke\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"path"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"regression/smoke\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"parent_folder_id"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"e10b2c3d-4e5f-6789-abcd-ef0123456789\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"parent_path"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":" \"regression\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" \""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1E66F5","--shiki-dark":"#89B4FA"},"children":"created_intermediate_paths"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":":"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":" ["}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#40A02B","--shiki-dark":"#A6E3A1"},"children":"\"regression\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"]"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#7C7F93","--shiki-dark":"#9399B2"},"children":"}"}}}},"\n"]}}}},"filename":"201"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"c97cfefe-302f-4576-901c-3060c21a57b6":{"name":"projectId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The project ID. You can copy it from the project settings page or the project URL in the dashboard.","uniqueKey":"","typeLabel":"string"},"description":"The project ID. You can copy it from the project settings page or the project URL in the dashboard."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["test_folder"],"properties":{"test_folder":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Folder name. Cannot contain \"/\" or leading/trailing whitespace.","isRequired":true,"uniqueKey":"test_folder.name","typeLabel":"string"},"parent_path":{"oneOf":[{"type":"string","description":"Parent folder addressed by path. null or \"/\" means root. Mutually exclusive with parent_folder_id.","uniqueKey":"test_folder.parent_path.oneOf.0","typeLabel":"string"},{"type":"null","description":"Parent folder addressed by path. null or \"/\" means root. Mutually exclusive with parent_folder_id.","uniqueKey":"test_folder.parent_path.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_folder.parent_path","typeLabel":"string | null"},"parent_folder_id":{"type":"string","format":"uuid","description":"Pre-resolved parent folder id. Mutually exclusive with parent_path.","uniqueKey":"test_folder.parent_folder_id","typeLabel":"string\u003cuuid>"},"description":{"oneOf":[{"type":"string","uniqueKey":"test_folder.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"test_folder.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_folder.description","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"test_folder.tags.items.[INDEX]","typeLabel":"string"},"uniqueKey":"test_folder.tags","typeLabel":"string[]"},"create_intermediate_parents":{"type":"boolean","default":false,"description":"Create missing segments of parent_path instead of returning 404.","uniqueKey":"test_folder.create_intermediate_parents","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"test_folder","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"test_folder":{"name":"\u003cstring>","parent_path":"\u003cstring>","parent_folder_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","description":"\u003cstring>","tags":["\u003cstring>"],"create_intermediate_parents":false}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"c9a0d731-c600-45ae-b4e9-3b33dead22cf":{"description":"Test folder created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"path":{"type":"string","uniqueKey":"path","typeLabel":"string"},"parent_folder_id":{"oneOf":[{"type":"string","format":"uuid","uniqueKey":"parent_folder_id.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","uniqueKey":"parent_folder_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"parent_folder_id","typeLabel":"string\u003cuuid> | null"},"parent_path":{"type":"string","uniqueKey":"parent_path","typeLabel":"string"},"created_intermediate_paths":{"type":"array","items":{"type":"string","uniqueKey":"created_intermediate_paths.items.[INDEX]","typeLabel":"string"},"description":"Parents created on the way to the requested one. Empty unless create_intermediate_parents was set.","uniqueKey":"created_intermediate_paths","typeLabel":"string[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cstring>","path":"\u003cstring>","parent_folder_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","parent_path":"\u003cstring>","created_intermediate_paths":["\u003cstring>"]}}},"exampleType":"generated"}},"exampleType":"generated"},"bd2928d4-28d7-4a27-add7-80cff643730c":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"2f78f6f1-d155-4ff3-9271-14e99bb7854d":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"5b3ef586-01b6-433b-a962-c3987a8124ba":{"description":"Parent folder path not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"802146db-b5ef-430c-9538-4e9bbd4742f2":{"description":"A folder with that name already exists in the same parent","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","uniqueKey":"error","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"details":{"type":"object","uniqueKey":"details","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","code":"\u003cstring>","details":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"da3031a1-3583-4b3a-8f58-e5075dc1ab65":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API key for authentication","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"fe7f9faa-67b1-4dc0-beb7-6b56c390013d":{"url":"https://nunu.ai/api/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-Api-Key","description":"API key for authentication","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"X-Api-Key","type":"string","description":"API key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-Api-Key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"nunuai","siteName":"nunu.ai","title":"Create Test Folder - nunu.ai","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T14:08:03.478Z","originalFileLocation":"api-reference/test-folders/create-test-folder.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.\">\u003cmeta data-mint-head name=\"application-name\" content=\"nunu.ai\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Test Folder - nunu.ai\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"nunu.ai\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://api-docs.nunu.ai/api-reference/test-folders/create-test-folder\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nunuai.mintlify.site/_mintlify/api/og/v2?division=Test+Folders\u0026amp;title=Create+Test+Folder\u0026amp;description=Create+one+folder+in+the+test+repository.+The+parent+is+addressed+by+path+%28preferred%29+or+id%2C+and+defaults+to+the+root.\u0026amp;theme=55504066f9cd075ef16daaca\u0026amp;signature=0afb0a087bb273b41d5f1ece87ade226843ff6e11c486333a118b3d16b270efe\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Test Folder - nunu.ai\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create one folder in the test repository. The parent is addressed by path (preferred) or id, and defaults to the root.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nunuai.mintlify.site/_mintlify/api/og/v2?division=Test+Folders\u0026amp;title=Create+Test+Folder\u0026amp;description=Create+one+folder+in+the+test+repository.+The+parent+is+addressed+by+path+%28preferred%29+or+id%2C+and+defaults+to+the+root.\u0026amp;theme=55504066f9cd075ef16daaca\u0026amp;signature=0afb0a087bb273b41d5f1ece87ade226843ff6e11c486333a118b3d16b270efe\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nunuai/CX_3dxSgbcmNqPIc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"nunu.ai\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E55CD8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://api-docs.nunu.ai/api-reference/test-folders/create-test-folder\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/test-folders/create-test-folder.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"nunu.ai\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"nunu.ai\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/test-folders/create-test-folder.md","siteName":"nunu.ai","nav":{"global":{"anchors":[{"anchor":"Nexus Documentation","icon":"newspaper","href":"https://docs.nunu.ai"}]},"tabs":[{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"}]},{"group":"Runs","pages":[{"title":"List Runs","openapi":"GET /project/{projectId}/runs","href":"/api-reference/runs/list-runs"},{"title":"Start a Run","openapi":"POST /project/{projectId}/runs","href":"/api-reference/runs/start-run"},{"title":"Update Runs","openapi":"PATCH /project/{projectId}/runs","href":"/api-reference/runs/update-runs"},{"title":"Get Run Details","openapi":"GET /project/{projectId}/runs/{runId}","href":"/api-reference/runs/get-run"},{"title":"Get Live Run Snapshot","openapi":"GET /project/{projectId}/runs/{runId}/live","href":"/api-reference/runs/get-live-run"},{"title":"List Run Bugs","openapi":"GET /project/{projectId}/runs/{runId}/bugs","href":"/api-reference/runs/list-bugs"},{"title":"Stop Runs","openapi":"POST /project/{projectId}/runs/stop","href":"/api-reference/runs/stop-runs"},{"title":"Export to TestRail","openapi":"POST /project/{projectId}/runs/export/testrail","href":"/api-reference/runs/export-testrail"}]},{"group":"Jobs","pages":[{"title":"List Jobs","openapi":"GET /project/{projectId}/jobs","href":"/api-reference/jobs/list-jobs"},{"title":"Get Job Details","openapi":"GET /project/{projectId}/jobs/{jobId}","href":"/api-reference/jobs/get-job"}]},{"group":"Bugs","pages":[{"title":"List Reviewed Bugs","openapi":"GET /project/{projectId}/bugs","href":"/api-reference/bugs/list-bugs"},{"title":"Get Reviewed Bug","openapi":"GET /project/{projectId}/bugs/{bugId}","href":"/api-reference/bugs/get-bug"}]},{"group":"Artifacts","pages":[{"title":"List Run Artifacts","openapi":"GET /runs/{runId}/artifacts","href":"/api-reference/artifacts/list-artifacts"},{"title":"Get Artifact File","openapi":"GET /runs/{runId}/artifacts/{filename}","href":"/api-reference/artifacts/get-artifact"}]},{"group":"Knowledge","pages":[{"title":"List Knowledge Files","openapi":"GET /file-storage/{projectId}","href":"/api-reference/knowledge/list-files"},{"title":"List Project-Scope Knowledge","openapi":"GET /file-storage/{projectId}/project","href":"/api-reference/knowledge/list-project-files"},{"title":"List Agent-Scope Knowledge","openapi":"GET /file-storage/{projectId}/agent/{agentId}","href":"/api-reference/knowledge/list-agent-files"},{"title":"List Test-Case-Scope Knowledge","openapi":"GET /file-storage/{projectId}/test_case/{testCaseId}","href":"/api-reference/knowledge/list-test-case-files"}]},{"group":"Tests","pages":[{"title":"List Tests","openapi":"GET /project/{projectId}/tests","href":"/api-reference/tests/list-tests"},{"title":"Get Test","openapi":"GET /project/{projectId}/tests/{testId}","href":"/api-reference/tests/get-test"},{"title":"Create Test","openapi":"POST /project/{projectId}/tests","href":"/api-reference/tests/create-test"},{"title":"Update Test","openapi":"PATCH /project/{projectId}/tests/{testId}","href":"/api-reference/tests/update-test"},{"title":"Delete Test","openapi":"DELETE /project/{projectId}/tests/{testId}","href":"/api-reference/tests/delete-test"}]},{"group":"Test Folders","pages":[{"title":"List Test Folders","openapi":"GET /project/{projectId}/test-folders","description":"Retrieve a paginated list of test folders for the authenticated project.","href":"/api-reference/test-folders/list-test-folders"},{"title":"Create Test Folder","openapi":"POST /project/{projectId}/test-folders","href":"/api-reference/test-folders/create-test-folder"}]},{"group":"Shared Steps","pages":[{"title":"List Shared Steps","openapi":"GET /project/{projectId}/shared-steps","description":"Retrieve a list of shared step collections for the authenticated project.","href":"/api-reference/shared-steps/list-shared-steps"},{"title":"Get Shared Step","openapi":"GET /project/{projectId}/shared-steps/{sharedStepId}","href":"/api-reference/shared-steps/get-shared-step"},{"title":"Create Shared Step","openapi":"POST /project/{projectId}/shared-steps","href":"/api-reference/shared-steps/create-shared-step"},{"title":"Update Shared Step","openapi":"PATCH /project/{projectId}/shared-steps/{sharedStepId}","href":"/api-reference/shared-steps/update-shared-step"},{"title":"Delete Shared Step","openapi":"DELETE /project/{projectId}/shared-steps/{sharedStepId}","href":"/api-reference/shared-steps/delete-shared-step"}]},{"group":"Test Plans","pages":[{"title":"List Test Plans","openapi":"GET /project/{projectId}/test-plans","href":"/api-reference/test-plans/list-test-plans"},{"title":"Get Test Plan","openapi":"GET /project/{projectId}/test-plans/{testPlanId}","href":"/api-reference/test-plans/get-test-plan"},{"title":"Create Test Plan","openapi":"POST /project/{projectId}/test-plans","href":"/api-reference/test-plans/create-test-plan"},{"title":"Update Test Plan","openapi":"PATCH /project/{projectId}/test-plans/{testPlanId}","href":"/api-reference/test-plans/update-test-plan"},{"title":"Delete Test Plan","openapi":"DELETE /project/{projectId}/test-plans/{testPlanId}","href":"/api-reference/test-plans/delete-test-plan"},{"title":"Start Test Plan Run","openapi":"POST /project/{projectId}/test-plans/{testPlanId}/runs","href":"/api-reference/test-plans/start-test-plan-run"},{"title":"List Test Plan Executions","openapi":"GET /project/{projectId}/test-plan-executions","href":"/api-reference/test-plans/list-test-plan-executions"}]},{"group":"Configs","pages":[{"title":"List Agent Configs","openapi":"GET /project/{projectId}/agent-configs","href":"/api-reference/configs/list-agent-configs"},{"title":"List Deployment Configs","openapi":"GET /project/{projectId}/deployment-configs","href":"/api-reference/configs/list-deployment-configs"},{"title":"List Credential Kinds","openapi":"GET /project/{projectId}/credential-kinds","href":"/api-reference/configs/list-credential-kinds"}]},{"group":"Builds","pages":[{"title":"List Builds","openapi":"GET /project/{projectId}/builds","href":"/api-reference/builds/list-builds"},{"title":"Get Build Details","openapi":"GET /project/{projectId}/builds/{buildId}","href":"/api-reference/builds/get-build"},{"title":"Delete Build","openapi":"DELETE /project/{projectId}/builds/{buildId}","href":"/api-reference/builds/delete-build"},{"title":"Initiate Upload","openapi":"POST /project/{projectId}/builds/upload","href":"/api-reference/builds/initiate-upload"},{"title":"Get Upload URLs for Parts","openapi":"GET /project/{projectId}/builds/upload/parts","href":"/api-reference/builds/get-upload-parts"},{"title":"Complete Upload","openapi":"POST /project/{projectId}/builds/upload/complete","href":"/api-reference/builds/complete-upload"},{"title":"Cancel Upload","openapi":"DELETE /project/{projectId}/builds/upload","href":"/api-reference/builds/cancel-upload"}]},{"group":"Minions","pages":[{"title":"Download Minion","openapi":"GET /minions/download","href":"/api-reference/minions/download-minion"}]}]}]},"basePath":"","title":"Create Test Folder - nunu.ai","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}