All Products
Search
Document Center

Alibaba Cloud DevOps:GetProjectAiConfig - Get project AI configuration

Last Updated:Jul 10, 2026

Retrieves the AI configuration of a specified project.

Endpoint and authorization information

Product

Resource

Required permission

Project Collaboration

Project

Read-only

Request syntax

Region edition

GET https://{domain}/oapi/v1/projex/projects/{id}/aiConfig

Request headers

Parameter

Type

Required

Description

Example value

x-yunxiao-token

string

Yes

The personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example value

id

string

path

Yes

The unique ID of the project. You can obtain it from the URL of the project details page. Example: https://devops.aliyun.com/projex/project/589c53d622cc8521793e08****. The project ID is the trailing segment.

589c53d622cc8521793e08****

Request example

Region edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/projex/projects/{id}/aiConfig' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example value

-

object

The AI configuration of the project.

requirementOptimize

string

The rule for AI-powered requirement optimization.

requirementSplit

string

The rule for AI-powered requirement splitting.

Response example

{
    "requirementOptimize": "",
    "requirementSplit": ""
}

Error codes

For more information about API error codes, see Error Code Center.