You can call this operation to create a directory.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CreateFlowCategory

The operation that you want to perform. Set the value to CreateFlowCategory.

Name String Yes myFolder

The name of the directory.

ProjectId String Yes F-48EB68215AEAE28D

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region where your project resides.

Type String Yes FLOW

The type of the directory. Valid values:

  • FLOW: workflow
  • JOB: job
  • ADHOC: temporary query
ParentId String No FC-AF08490649B8FD5E

The parent directory ID of the created directory. If this parameter is empty, the created directory is the root directory.

Response parameters

Parameter Type Example Description
Id String FC-AF08490649B8FD5E

The ID of the created directory.

RequestId String 2670BCFB-925D-4C3E-9994-8D12F7A9F538

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=CreateFlowCategory
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.