Config Service

List model configurations

GET
/projects/{projectId}/configs

Lists production-ready configuration revisions compatible with a reference model. Specify the model with referenceModel or the deprecated referenceModelId; if both are supplied, they must identify the same model. Results include public configurations and configurations owned by the specified project.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Project identifier.

Query Parameters

referenceModelId?string

Deprecated. Use referenceModel. Reference model identifier filter; if both are set, they must agree.

referenceModel?string

Model resource-name filter using projects/{projectId}/models/{modelId}; alternative to referenceModelId. If both are set, they must agree.

limit?integer

Maximum number of results to return.

after?string

Cursor from a previous list response.

Response Body

application/json

application/json

curl -X GET "https://example.com/projects/string/configs"
{  "data": [    {      "id": "string",      "certifications": [        {          "target": "CERTIFICATION_TARGET_DE_SERVERLESS",          "certificationType": "CERTIFICATION_TYPE_CERTIFIED",          "certifiedAt": "2019-08-24T14:15:22Z",          "certifiedBy": "string",          "notes": "string",          "model": "string",          "modelRevisionId": "string",          "draftModel": "string",          "draftModelRevisionId": "string"        }      ],      "referenceModelId": "string",      "selectors": [        {          "key": "string",          "value": "string"        }      ],      "projectId": "string",      "referenceModel": "string",      "draftModel": "string"    }  ],  "next_cursor": "string",  "object": "list"}